Gabe Black [Mon, 16 Feb 2009 07:43:39 +0000 (23:43 -0800)]
X86: Make the loader recognize 32 bit x86 processes.
Nathan Binkert [Mon, 16 Feb 2009 04:39:12 +0000 (20:39 -0800)]
traceflags: fix --trace-help
Nathan Binkert [Mon, 16 Feb 2009 04:38:49 +0000 (20:38 -0800)]
SCons: Fix read_command so it can properly deal with command strings
Nathan Binkert [Thu, 12 Feb 2009 00:58:51 +0000 (16:58 -0800)]
scons: clean up the main SConstruct file more.
Add some features to read_command so it works a little bit better
Clean up the mercurial checks.
Filter the user environment and only pick out the useful stuff.
Nathan Binkert [Wed, 11 Feb 2009 06:19:27 +0000 (22:19 -0800)]
style
Korey Sewell [Tue, 10 Feb 2009 23:49:29 +0000 (15:49 -0800)]
Configs: Add support for the InOrder CPU model
Korey Sewell [Tue, 10 Feb 2009 23:49:29 +0000 (15:49 -0800)]
InOrder: Import new inorder CPU model from MIPS.
This model currently only works in MIPS_SE mode, so it will take some effort
to clean it up and make it generally useful. Hopefully people are willing to
help make that happen!
Korey Sewell [Tue, 10 Feb 2009 23:49:29 +0000 (15:49 -0800)]
syscall: Expose ioctl for MIPS
Korey Sewell [Tue, 10 Feb 2009 23:49:29 +0000 (15:49 -0800)]
ExeTrace: Allow subclasses of the tracer to define their own prefix to dump
Korey Sewell [Tue, 10 Feb 2009 23:49:29 +0000 (15:49 -0800)]
CPU: Prepare CPU models for the new in-order CPU model.
Some new functions and forward declarations are necessary to make things work
Nathan Binkert [Tue, 10 Feb 2009 04:10:15 +0000 (20:10 -0800)]
copyright: This file need not have had the more restrictive copyright.
Nathan Binkert [Tue, 10 Feb 2009 04:10:14 +0000 (20:10 -0800)]
scons: Require SCons version 0.98.1
This allows me to clean things up so we are up to date with respect to
deprecated features. There are many features scheduled for permanent failure
in scons 2.0 and 0.98.1 provides the most compatability for that. It
also paves the way for some nice new features that I will add soon
Nathan Binkert [Tue, 10 Feb 2009 04:10:12 +0000 (20:10 -0800)]
scons: Don't build the intermediate static library unless explicitly requested.
This means that similar to libm5_fast.so, you need to explicitly build
build/ALPHA_SE/libm5_fast.a if you want it.
Nathan Binkert [Sat, 7 Feb 2009 04:55:50 +0000 (20:55 -0800)]
Quell g++ 4.3 warning about operator ambiguity
Nathan Binkert [Thu, 5 Feb 2009 00:26:15 +0000 (16:26 -0800)]
some new files are missing copyright notices
Gabe Black [Mon, 2 Feb 2009 06:40:51 +0000 (22:40 -0800)]
X86: Add some missing default arguments.
Gabe Black [Mon, 2 Feb 2009 01:09:08 +0000 (17:09 -0800)]
X86: All x86 fault classes now attempt to do something useful.
Gabe Black [Mon, 2 Feb 2009 01:08:32 +0000 (17:08 -0800)]
X86: Make the fault classes handle error codes better.
Gabe Black [Mon, 2 Feb 2009 01:07:43 +0000 (17:07 -0800)]
X86: Make the long mode interrupt/exception microcode handle an error code.
Gabe Black [Mon, 2 Feb 2009 01:07:18 +0000 (17:07 -0800)]
X86: Distinguish between hardware and software interrupts/exceptions
Gabe Black [Mon, 2 Feb 2009 01:06:25 +0000 (17:06 -0800)]
X86: Fix the upper bound on some ranges that were setting up the micro code assembler.
Gabe Black [Mon, 2 Feb 2009 01:05:37 +0000 (17:05 -0800)]
X86: Make the chks microop check for the right int descriptor type.
Gabe Black [Mon, 2 Feb 2009 01:04:21 +0000 (17:04 -0800)]
X86: Touch up the interrupt entering microcode.
Gabe Black [Mon, 2 Feb 2009 01:03:11 +0000 (17:03 -0800)]
X86: Keep track of the vector for all exceptions/faults.
Gabe Black [Mon, 2 Feb 2009 01:02:16 +0000 (17:02 -0800)]
X86: Update stats now that the micropc isn't always reset on faults.
Gabe Black [Sun, 1 Feb 2009 08:30:54 +0000 (00:30 -0800)]
CPU: Don't always reset the micro pc on faults. Let the faults handle it.
Gabe Black [Sun, 1 Feb 2009 08:30:11 +0000 (00:30 -0800)]
X86: Fix the time keeping of the Local APIC timer.
Gabe Black [Sun, 1 Feb 2009 08:29:07 +0000 (00:29 -0800)]
X86: Find the natural lpj for this configuration.
Gabe Black [Sun, 1 Feb 2009 08:28:28 +0000 (00:28 -0800)]
X86: Fix the microcode for the LODS instruction.
Gabe Black [Sun, 1 Feb 2009 08:27:49 +0000 (00:27 -0800)]
X86: Add a root device to the kernel command line.
Gabe Black [Sun, 1 Feb 2009 08:27:15 +0000 (00:27 -0800)]
X86: Implement pciToDma.
Gabe Black [Sun, 1 Feb 2009 08:26:10 +0000 (00:26 -0800)]
X86: Configure the first PCI interrupt.
Gabe Black [Sun, 1 Feb 2009 08:25:15 +0000 (00:25 -0800)]
X86: Hook up the IDE controller interrupt line.
Gabe Black [Sun, 1 Feb 2009 08:24:26 +0000 (00:24 -0800)]
X86: Hook in a hard drive image.
Gabe Black [Sun, 1 Feb 2009 08:20:44 +0000 (00:20 -0800)]
X86: Take out the IDE noprobe kernel arguments.
Gabe Black [Sun, 1 Feb 2009 08:18:13 +0000 (00:18 -0800)]
X86: Fix some incorrect register widths.
Gabe Black [Sun, 1 Feb 2009 08:15:38 +0000 (00:15 -0800)]
X86: Add extended Intel MP entries correctly.
Gabe Black [Sun, 1 Feb 2009 08:11:49 +0000 (00:11 -0800)]
X86: Compute PCI config addresses correctly.
Gabe Black [Sun, 1 Feb 2009 08:08:16 +0000 (00:08 -0800)]
X86: Calculate flags based on the actual result.
Gabe Black [Sun, 1 Feb 2009 08:04:34 +0000 (00:04 -0800)]
X86: Make sure the predecoder is cleared out for interrupts.
Gabe Black [Sun, 1 Feb 2009 08:02:21 +0000 (00:02 -0800)]
Devices: Add support for legacy fixed IO locations in BARs.
Gabe Black [Sun, 1 Feb 2009 08:00:03 +0000 (00:00 -0800)]
X86: Plug in an IDE controller.
Gabe Black [Sun, 1 Feb 2009 07:59:25 +0000 (23:59 -0800)]
X86: Refactor and clean up the keyboard controller.
Gabe Black [Sun, 1 Feb 2009 07:59:01 +0000 (23:59 -0800)]
X86: Add a keyboard controller device.
Gabe Black [Sun, 1 Feb 2009 07:56:46 +0000 (23:56 -0800)]
X86: Set up the console interrupt and add some DPRINTFs.
Gabe Black [Sun, 1 Feb 2009 07:44:05 +0000 (23:44 -0800)]
X86: Configure the IO APIC more.
Gabe Black [Sun, 1 Feb 2009 07:43:09 +0000 (23:43 -0800)]
X86: Add some interrupt info to the intel MP tables.
Gabe Black [Sun, 1 Feb 2009 07:33:54 +0000 (23:33 -0800)]
X86: Rework interrupt pins to allow one to many connections.
Gabe Black [Sun, 1 Feb 2009 07:26:43 +0000 (23:26 -0800)]
X86: Initialize the value behind port 61 so unused bits are consistent.
Gabe Black [Mon, 2 Feb 2009 00:59:34 +0000 (16:59 -0800)]
X86: Set/correct some default values for x86 parameters.
Ali Saidi [Sat, 31 Jan 2009 01:04:57 +0000 (20:04 -0500)]
SCons: Fix how we get Mercurial revision information since internals keep changing.
Ali Saidi [Sat, 31 Jan 2009 01:04:17 +0000 (20:04 -0500)]
Errors: Use the correct panic/warn/fatal/info message in some places.
Ali Saidi [Sat, 31 Jan 2009 01:04:15 +0000 (20:04 -0500)]
Errors: Print a URL with a hash of the format string to find more information about an error.
Ali Saidi [Sat, 31 Jan 2009 00:08:13 +0000 (19:08 -0500)]
Config: Cause a fatal() when a parameter without a default value isn't set(FS #315).
Nathan Binkert [Fri, 30 Jan 2009 06:27:11 +0000 (22:27 -0800)]
Fix typo
Gabe Black [Mon, 26 Jan 2009 04:36:24 +0000 (20:36 -0800)]
X86: Prevent Linux for probing for non-existant IDE controllers.
Gabe Black [Mon, 26 Jan 2009 04:35:00 +0000 (20:35 -0800)]
X86: Add a dummy minimal DMA controller that doesn't do anything.
Gabe Black [Mon, 26 Jan 2009 04:34:17 +0000 (20:34 -0800)]
X86: Add a device to back the non-existant floppy drive controller.
Gabe Black [Mon, 26 Jan 2009 04:33:52 +0000 (20:33 -0800)]
X86: Add fake devices for non-existant serial ports.
Gabe Black [Mon, 26 Jan 2009 04:33:27 +0000 (20:33 -0800)]
X86: Implement the xadd instruction.
Gabe Black [Mon, 26 Jan 2009 04:32:43 +0000 (20:32 -0800)]
X86: Implement the bswap instruction.
Gabe Black [Mon, 26 Jan 2009 04:32:26 +0000 (20:32 -0800)]
Dev: Make the RTC device ignore writes to a read only bit.
Gabe Black [Mon, 26 Jan 2009 04:31:17 +0000 (20:31 -0800)]
X86: Fix a bug in the iret microcode.
Gabe Black [Mon, 26 Jan 2009 04:30:51 +0000 (20:30 -0800)]
X86: Make the interrupt object wake up the CPU when something becomes pending.
Gabe Black [Mon, 26 Jan 2009 04:29:03 +0000 (20:29 -0800)]
CPU: Add a setCPU function to the interrupt objects.
Gabe Black [Mon, 26 Jan 2009 04:26:53 +0000 (20:26 -0800)]
Devices: Make the destructor virtual on the CopyEnginChannel object.
This fixes a compile warning which becomes an error.
Nathan Binkert [Sat, 24 Jan 2009 15:27:22 +0000 (07:27 -0800)]
pseudo inst: Add new wake cpu instruction for sending a message to wake a cpu.
It's instantaneous and so it's somewhat bogus, but it's a first step.
Nathan Binkert [Sat, 24 Jan 2009 15:27:21 +0000 (07:27 -0800)]
cpu: provide a wakeup mechanism that can be used to pull CPUs out of sleep.
Make interrupts use the new wakeup method, and pull all of the interrupt
stuff into the cpu base class so that only the wakeup code needs to be updated.
I tried to make wakeup, wakeCPU, and the various other mechanisms for waking
and sleeping a little more sane, but I couldn't understand why the statistics
were changing the way they were. Maybe we'll try again some day.
Ali Saidi [Fri, 23 Jan 2009 22:19:48 +0000 (17:19 -0500)]
Trace: Add DPRINTFS macro that takes parameter to call name() for trace printing.
Ali Saidi [Fri, 23 Jan 2009 22:19:47 +0000 (17:19 -0500)]
IGbE: Fix two e1000 driver bugs that I missed before.
Nathan Binkert [Wed, 21 Jan 2009 22:56:18 +0000 (14:56 -0800)]
o3cpu: give a name to the activity recorder for better tracing
Nathan Binkert [Tue, 20 Jan 2009 04:36:49 +0000 (20:36 -0800)]
thread_context: move getSystemPtr so SE mode can get to it.
There was really no reason that it should be FS only.
Nathan Binkert [Mon, 19 Jan 2009 22:43:09 +0000 (14:43 -0800)]
python: add fatal() function to the m5 package and use it
Nathan Binkert [Mon, 19 Jan 2009 17:59:15 +0000 (09:59 -0800)]
python: Try to isolate the stuff that's in the m5.internal package a bit more.
Nathan Binkert [Mon, 19 Jan 2009 17:59:14 +0000 (09:59 -0800)]
tracing: Add help strings for some of the trace flags
Nathan Binkert [Mon, 19 Jan 2009 17:59:13 +0000 (09:59 -0800)]
tracing: panic() if people try to use tracing, but TRACING_ON is not set.
Also clean things up so that help strings can more easily be added.
Move the help function into trace.py
Nathan Binkert [Mon, 19 Jan 2009 17:59:13 +0000 (09:59 -0800)]
python: Rework how things are imported
Nathan Binkert [Mon, 19 Jan 2009 17:03:41 +0000 (09:03 -0800)]
scons: Don't add all objects to the library twice
Ali Saidi [Sat, 17 Jan 2009 23:57:39 +0000 (18:57 -0500)]
Stats: Update parser statistics for Linux special files update (parser runs should now be deterministic).
Ali Saidi [Sat, 17 Jan 2009 23:56:46 +0000 (18:56 -0500)]
Fix issue 326: glibc non-deterministic because it reads /proc
Ali Saidi [Sat, 17 Jan 2009 23:55:09 +0000 (18:55 -0500)]
CopyEngine: Implement a I/OAT-like copy engine.
Nathan Binkert [Tue, 13 Jan 2009 22:17:50 +0000 (14:17 -0800)]
SCons: centralize the Dir() workaround for newer versions of scons.
Scons bug id: 2006 M5 Bug id: 308
Ali Saidi [Tue, 13 Jan 2009 05:14:04 +0000 (00:14 -0500)]
Fix style hook for Mercurial >= 1.1
Richard Strong [Mon, 12 Jan 2009 06:45:03 +0000 (22:45 -0800)]
This fix addresses an ill formed if statement that fails
to compile. The fix was the simple addition of another set
of parenthesis to ensure the correct condition resolution.
Gabe Black [Wed, 7 Jan 2009 08:05:33 +0000 (00:05 -0800)]
X86: Set up support for adding m5 pseudo insts to a binary.
Gabe Black [Wed, 7 Jan 2009 07:55:46 +0000 (23:55 -0800)]
X86: Hook in the M5 pseudo insts.
Gabe Black [Wed, 7 Jan 2009 06:55:27 +0000 (22:55 -0800)]
X86: Autogenerate macroop generateDisassemble function.
Gabe Black [Wed, 7 Jan 2009 06:46:28 +0000 (22:46 -0800)]
X86: Move the function that prints memory args into the inst base class.
Gabe Black [Wed, 7 Jan 2009 06:44:59 +0000 (22:44 -0800)]
X86: Move the macroop class out of the isa description into C++.
Gabe Black [Wed, 7 Jan 2009 06:40:41 +0000 (22:40 -0800)]
X86: Change indentation on microop disassembly.
Gabe Black [Wed, 7 Jan 2009 06:34:18 +0000 (22:34 -0800)]
Tracing: Make tracing aware of macro and micro ops.
Ali Saidi [Tue, 6 Jan 2009 15:36:57 +0000 (10:36 -0500)]
IGbE: Implement header splitting with large MTU
Ali Saidi [Tue, 6 Jan 2009 15:36:56 +0000 (10:36 -0500)]
INET: Add functions to header types to get offset in packet and start of payload; add function to split packet at last known header
Ali Saidi [Tue, 6 Jan 2009 15:36:55 +0000 (10:36 -0500)]
IGbE: Remove is8257 variable
Steve Reinhardt [Wed, 17 Dec 2008 17:51:18 +0000 (09:51 -0800)]
Make Alpha pseudo-insts available from SE mode.
Gabe Black [Wed, 17 Dec 2008 07:06:37 +0000 (23:06 -0800)]
SPARC: Truncate syscall args and return values appropriately.
Gabe Black [Mon, 15 Dec 2008 08:47:15 +0000 (00:47 -0800)]
Update the stats for the fixes to the PCI device class.
Gabe Black [Mon, 15 Dec 2008 08:47:01 +0000 (00:47 -0800)]
PCI: Add some missing breaks to a couple case statements.
Author Name [Mon, 15 Dec 2008 07:29:49 +0000 (23:29 -0800)]
The ide_ctrl serialize and unserialize were broken.
Multiple channels were saving their state under the
same name. This patch separates the saved state of
the primary and secondary channel.
Richard Strong [Tue, 9 Dec 2008 18:34:08 +0000 (10:34 -0800)]
IDE: Fix serialization for the IDE controller.