gem5.git
15 years agoX86: Fix a bug in the iret microcode.
Gabe Black [Mon, 26 Jan 2009 04:31:17 +0000 (20:31 -0800)]
X86: Fix a bug in the iret microcode.

15 years agoX86: Make the interrupt object wake up the CPU when something becomes pending.
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.

15 years agoCPU: Add a setCPU function to the interrupt objects.
Gabe Black [Mon, 26 Jan 2009 04:29:03 +0000 (20:29 -0800)]
CPU: Add a setCPU function to the interrupt objects.

15 years agoDevices: Make the destructor virtual on the CopyEnginChannel object.
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.

15 years agopseudo inst: Add new wake cpu instruction for sending a message to wake a cpu.
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.

15 years agocpu: provide a wakeup mechanism that can be used to pull CPUs out of sleep.
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.

15 years agoTrace: Add DPRINTFS macro that takes parameter to call name() for trace printing.
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.

15 years agoIGbE: Fix two e1000 driver bugs that I missed before.
Ali Saidi [Fri, 23 Jan 2009 22:19:47 +0000 (17:19 -0500)]
IGbE: Fix two e1000 driver bugs that I missed before.

15 years agoo3cpu: give a name to the activity recorder for better tracing
Nathan Binkert [Wed, 21 Jan 2009 22:56:18 +0000 (14:56 -0800)]
o3cpu: give a name to the activity recorder for better tracing

15 years agothread_context: move getSystemPtr so SE mode can get to it.
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.

15 years agopython: add fatal() function to the m5 package and use it
Nathan Binkert [Mon, 19 Jan 2009 22:43:09 +0000 (14:43 -0800)]
python: add fatal() function to the m5 package and use it

15 years agopython: Try to isolate the stuff that's in the m5.internal package a bit more.
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.

15 years agotracing: Add help strings for some of the trace flags
Nathan Binkert [Mon, 19 Jan 2009 17:59:14 +0000 (09:59 -0800)]
tracing: Add help strings for some of the trace flags

15 years agotracing: panic() if people try to use tracing, but TRACING_ON is not set.
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

15 years agopython: Rework how things are imported
Nathan Binkert [Mon, 19 Jan 2009 17:59:13 +0000 (09:59 -0800)]
python: Rework how things are imported

15 years agoscons: Don't add all objects to the library twice
Nathan Binkert [Mon, 19 Jan 2009 17:03:41 +0000 (09:03 -0800)]
scons: Don't add all objects to the library twice

15 years agoStats: Update parser statistics for Linux special files update (parser runs should...
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).

15 years agoFix issue 326: glibc non-deterministic because it reads /proc
Ali Saidi [Sat, 17 Jan 2009 23:56:46 +0000 (18:56 -0500)]
Fix issue 326: glibc non-deterministic because it reads /proc

15 years agoCopyEngine: Implement a I/OAT-like copy engine.
Ali Saidi [Sat, 17 Jan 2009 23:55:09 +0000 (18:55 -0500)]
CopyEngine: Implement a I/OAT-like copy engine.

15 years agoSCons: centralize the Dir() workaround for newer versions of scons.
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

15 years agoFix style hook for Mercurial >= 1.1
Ali Saidi [Tue, 13 Jan 2009 05:14:04 +0000 (00:14 -0500)]
Fix style hook for Mercurial >= 1.1

15 years agoThis fix addresses an ill formed if statement that fails
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.

15 years agoX86: Set up support for adding m5 pseudo insts to a binary.
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.

15 years agoX86: Hook in the M5 pseudo insts.
Gabe Black [Wed, 7 Jan 2009 07:55:46 +0000 (23:55 -0800)]
X86: Hook in the M5 pseudo insts.

15 years agoX86: Autogenerate macroop generateDisassemble function.
Gabe Black [Wed, 7 Jan 2009 06:55:27 +0000 (22:55 -0800)]
X86: Autogenerate macroop generateDisassemble function.

15 years agoX86: Move the function that prints memory args into the inst base class.
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.

15 years agoX86: Move the macroop class out of the isa description into C++.
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++.

15 years agoX86: Change indentation on microop disassembly.
Gabe Black [Wed, 7 Jan 2009 06:40:41 +0000 (22:40 -0800)]
X86: Change indentation on microop disassembly.

15 years agoTracing: Make tracing aware of macro and micro ops.
Gabe Black [Wed, 7 Jan 2009 06:34:18 +0000 (22:34 -0800)]
Tracing: Make tracing aware of macro and micro ops.

15 years agoIGbE: Implement header splitting with large MTU
Ali Saidi [Tue, 6 Jan 2009 15:36:57 +0000 (10:36 -0500)]
IGbE: Implement header splitting with large MTU

15 years agoINET: Add functions to header types to get offset in packet and start of payload...
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

15 years agoIGbE: Remove is8257 variable
Ali Saidi [Tue, 6 Jan 2009 15:36:55 +0000 (10:36 -0500)]
IGbE: Remove is8257 variable

16 years agoMake Alpha pseudo-insts available from SE mode.
Steve Reinhardt [Wed, 17 Dec 2008 17:51:18 +0000 (09:51 -0800)]
Make Alpha pseudo-insts available from SE mode.

16 years agoSPARC: Truncate syscall args and return values appropriately.
Gabe Black [Wed, 17 Dec 2008 07:06:37 +0000 (23:06 -0800)]
SPARC: Truncate syscall args and return values appropriately.

16 years agoUpdate the stats for the fixes to the PCI device class.
Gabe Black [Mon, 15 Dec 2008 08:47:15 +0000 (00:47 -0800)]
Update the stats for the fixes to the PCI device class.

16 years agoPCI: Add some missing breaks to a couple case statements.
Gabe Black [Mon, 15 Dec 2008 08:47:01 +0000 (00:47 -0800)]
PCI: Add some missing breaks to a couple case statements.

16 years agoThe ide_ctrl serialize and unserialize were broken.
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.

16 years agoIDE: Fix serialization for the IDE controller.
Richard Strong [Tue, 9 Dec 2008 18:34:08 +0000 (10:34 -0800)]
IDE: Fix serialization for the IDE controller.

16 years agoeventq: Add some debugging code to the eventq.
Nathan Binkert [Mon, 8 Dec 2008 15:17:48 +0000 (07:17 -0800)]
eventq: Add some debugging code to the eventq.

16 years agooutput: Change default output directory and files and update tests.
Nathan Binkert [Mon, 8 Dec 2008 15:16:40 +0000 (07:16 -0800)]
output: Change default output directory and files and update tests.

--HG--
rename : tests/long/00.gzip/ref/alpha/tru64/o3-timing/stderr => tests/long/00.gzip/ref/alpha/tru64/o3-timing/simerr
rename : tests/long/00.gzip/ref/alpha/tru64/o3-timing/stdout => tests/long/00.gzip/ref/alpha/tru64/o3-timing/simout
rename : tests/long/00.gzip/ref/alpha/tru64/o3-timing/m5stats.txt => tests/long/00.gzip/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/long/00.gzip/ref/alpha/tru64/simple-atomic/stderr => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/simerr
rename : tests/long/00.gzip/ref/alpha/tru64/simple-atomic/stdout => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/simout
rename : tests/long/00.gzip/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/long/00.gzip/ref/alpha/tru64/simple-timing/stderr => tests/long/00.gzip/ref/alpha/tru64/simple-timing/simerr
rename : tests/long/00.gzip/ref/alpha/tru64/simple-timing/stdout => tests/long/00.gzip/ref/alpha/tru64/simple-timing/simout
rename : tests/long/00.gzip/ref/alpha/tru64/simple-timing/m5stats.txt => tests/long/00.gzip/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/long/00.gzip/ref/sparc/linux/o3-timing/stderr => tests/long/00.gzip/ref/sparc/linux/o3-timing/simerr
rename : tests/long/00.gzip/ref/sparc/linux/o3-timing/stdout => tests/long/00.gzip/ref/sparc/linux/o3-timing/simout
rename : tests/long/00.gzip/ref/sparc/linux/o3-timing/m5stats.txt => tests/long/00.gzip/ref/sparc/linux/o3-timing/stats.txt
rename : tests/long/00.gzip/ref/sparc/linux/simple-atomic/stderr => tests/long/00.gzip/ref/sparc/linux/simple-atomic/simerr
rename : tests/long/00.gzip/ref/sparc/linux/simple-atomic/stdout => tests/long/00.gzip/ref/sparc/linux/simple-atomic/simout
rename : tests/long/00.gzip/ref/sparc/linux/simple-atomic/m5stats.txt => tests/long/00.gzip/ref/sparc/linux/simple-atomic/stats.txt
rename : tests/long/00.gzip/ref/sparc/linux/simple-timing/stderr => tests/long/00.gzip/ref/sparc/linux/simple-timing/simerr
rename : tests/long/00.gzip/ref/sparc/linux/simple-timing/stdout => tests/long/00.gzip/ref/sparc/linux/simple-timing/simout
rename : tests/long/00.gzip/ref/sparc/linux/simple-timing/m5stats.txt => tests/long/00.gzip/ref/sparc/linux/simple-timing/stats.txt
rename : tests/long/00.gzip/ref/x86/linux/simple-atomic/stderr => tests/long/00.gzip/ref/x86/linux/simple-atomic/simerr
rename : tests/long/00.gzip/ref/x86/linux/simple-atomic/stdout => tests/long/00.gzip/ref/x86/linux/simple-atomic/simout
rename : tests/long/00.gzip/ref/x86/linux/simple-atomic/m5stats.txt => tests/long/00.gzip/ref/x86/linux/simple-atomic/stats.txt
rename : tests/long/00.gzip/ref/x86/linux/simple-timing/stderr => tests/long/00.gzip/ref/x86/linux/simple-timing/simerr
rename : tests/long/00.gzip/ref/x86/linux/simple-timing/stdout => tests/long/00.gzip/ref/x86/linux/simple-timing/simout
rename : tests/long/00.gzip/ref/x86/linux/simple-timing/m5stats.txt => tests/long/00.gzip/ref/x86/linux/simple-timing/stats.txt
rename : tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/stderr => tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/simerr
rename : tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/stdout => tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/simout
rename : tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/m5stats.txt => tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/stats.txt
rename : tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3/stderr => tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3/simerr
rename : tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3/stdout => tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3/simout
rename : tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3/m5stats.txt => tests/long/10.linux-boot/ref/alpha/linux/tsunami-o3/stats.txt
rename : tests/long/10.mcf/ref/sparc/linux/simple-atomic/stderr => tests/long/10.mcf/ref/sparc/linux/simple-atomic/simerr
rename : tests/long/10.mcf/ref/sparc/linux/simple-atomic/stdout => tests/long/10.mcf/ref/sparc/linux/simple-atomic/simout
rename : tests/long/10.mcf/ref/sparc/linux/simple-atomic/m5stats.txt => tests/long/10.mcf/ref/sparc/linux/simple-atomic/stats.txt
rename : tests/long/10.mcf/ref/sparc/linux/simple-timing/stderr => tests/long/10.mcf/ref/sparc/linux/simple-timing/simerr
rename : tests/long/10.mcf/ref/sparc/linux/simple-timing/stdout => tests/long/10.mcf/ref/sparc/linux/simple-timing/simout
rename : tests/long/10.mcf/ref/sparc/linux/simple-timing/m5stats.txt => tests/long/10.mcf/ref/sparc/linux/simple-timing/stats.txt
rename : tests/long/10.mcf/ref/x86/linux/simple-atomic/stderr => tests/long/10.mcf/ref/x86/linux/simple-atomic/simerr
rename : tests/long/10.mcf/ref/x86/linux/simple-atomic/stdout => tests/long/10.mcf/ref/x86/linux/simple-atomic/simout
rename : tests/long/10.mcf/ref/x86/linux/simple-atomic/m5stats.txt => tests/long/10.mcf/ref/x86/linux/simple-atomic/stats.txt
rename : tests/long/10.mcf/ref/x86/linux/simple-timing/stderr => tests/long/10.mcf/ref/x86/linux/simple-timing/simerr
rename : tests/long/10.mcf/ref/x86/linux/simple-timing/stdout => tests/long/10.mcf/ref/x86/linux/simple-timing/simout
rename : tests/long/10.mcf/ref/x86/linux/simple-timing/m5stats.txt => tests/long/10.mcf/ref/x86/linux/simple-timing/stats.txt
rename : tests/long/20.parser/ref/x86/linux/simple-atomic/stderr => tests/long/20.parser/ref/x86/linux/simple-atomic/simerr
rename : tests/long/20.parser/ref/x86/linux/simple-atomic/stdout => tests/long/20.parser/ref/x86/linux/simple-atomic/simout
rename : tests/long/20.parser/ref/x86/linux/simple-atomic/m5stats.txt => tests/long/20.parser/ref/x86/linux/simple-atomic/stats.txt
rename : tests/long/20.parser/ref/x86/linux/simple-timing/stderr => tests/long/20.parser/ref/x86/linux/simple-timing/simerr
rename : tests/long/20.parser/ref/x86/linux/simple-timing/stdout => tests/long/20.parser/ref/x86/linux/simple-timing/simout
rename : tests/long/20.parser/ref/x86/linux/simple-timing/m5stats.txt => tests/long/20.parser/ref/x86/linux/simple-timing/stats.txt
rename : tests/long/30.eon/ref/alpha/tru64/o3-timing/stderr => tests/long/30.eon/ref/alpha/tru64/o3-timing/simerr
rename : tests/long/30.eon/ref/alpha/tru64/o3-timing/stdout => tests/long/30.eon/ref/alpha/tru64/o3-timing/simout
rename : tests/long/30.eon/ref/alpha/tru64/o3-timing/m5stats.txt => tests/long/30.eon/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/long/30.eon/ref/alpha/tru64/simple-atomic/stderr => tests/long/30.eon/ref/alpha/tru64/simple-atomic/simerr
rename : tests/long/30.eon/ref/alpha/tru64/simple-atomic/stdout => tests/long/30.eon/ref/alpha/tru64/simple-atomic/simout
rename : tests/long/30.eon/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/long/30.eon/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/long/30.eon/ref/alpha/tru64/simple-timing/stderr => tests/long/30.eon/ref/alpha/tru64/simple-timing/simerr
rename : tests/long/30.eon/ref/alpha/tru64/simple-timing/stdout => tests/long/30.eon/ref/alpha/tru64/simple-timing/simout
rename : tests/long/30.eon/ref/alpha/tru64/simple-timing/m5stats.txt => tests/long/30.eon/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/long/40.perlbmk/ref/alpha/tru64/o3-timing/stderr => tests/long/40.perlbmk/ref/alpha/tru64/o3-timing/simerr
rename : tests/long/40.perlbmk/ref/alpha/tru64/o3-timing/stdout => tests/long/40.perlbmk/ref/alpha/tru64/o3-timing/simout
rename : tests/long/40.perlbmk/ref/alpha/tru64/o3-timing/m5stats.txt => tests/long/40.perlbmk/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/stderr => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/simerr
rename : tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/stdout => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/simout
rename : tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/stderr => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/simerr
rename : tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/stdout => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/simout
rename : tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/m5stats.txt => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/long/50.vortex/ref/alpha/tru64/o3-timing/stderr => tests/long/50.vortex/ref/alpha/tru64/o3-timing/simerr
rename : tests/long/50.vortex/ref/alpha/tru64/o3-timing/stdout => tests/long/50.vortex/ref/alpha/tru64/o3-timing/simout
rename : tests/long/50.vortex/ref/alpha/tru64/o3-timing/m5stats.txt => tests/long/50.vortex/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/long/50.vortex/ref/alpha/tru64/simple-atomic/stderr => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/simerr
rename : tests/long/50.vortex/ref/alpha/tru64/simple-atomic/stdout => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/simout
rename : tests/long/50.vortex/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/long/50.vortex/ref/alpha/tru64/simple-timing/stderr => tests/long/50.vortex/ref/alpha/tru64/simple-timing/simerr
rename : tests/long/50.vortex/ref/alpha/tru64/simple-timing/stdout => tests/long/50.vortex/ref/alpha/tru64/simple-timing/simout
rename : tests/long/50.vortex/ref/alpha/tru64/simple-timing/m5stats.txt => tests/long/50.vortex/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/long/50.vortex/ref/sparc/linux/simple-atomic/stderr => tests/long/50.vortex/ref/sparc/linux/simple-atomic/simerr
rename : tests/long/50.vortex/ref/sparc/linux/simple-atomic/stdout => tests/long/50.vortex/ref/sparc/linux/simple-atomic/simout
rename : tests/long/50.vortex/ref/sparc/linux/simple-atomic/m5stats.txt => tests/long/50.vortex/ref/sparc/linux/simple-atomic/stats.txt
rename : tests/long/50.vortex/ref/sparc/linux/simple-timing/stderr => tests/long/50.vortex/ref/sparc/linux/simple-timing/simerr
rename : tests/long/50.vortex/ref/sparc/linux/simple-timing/stdout => tests/long/50.vortex/ref/sparc/linux/simple-timing/simout
rename : tests/long/50.vortex/ref/sparc/linux/simple-timing/m5stats.txt => tests/long/50.vortex/ref/sparc/linux/simple-timing/stats.txt
rename : tests/long/60.bzip2/ref/alpha/tru64/o3-timing/stderr => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/simerr
rename : tests/long/60.bzip2/ref/alpha/tru64/o3-timing/stdout => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/simout
rename : tests/long/60.bzip2/ref/alpha/tru64/o3-timing/m5stats.txt => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/stderr => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/simerr
rename : tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/stdout => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/simout
rename : tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/long/60.bzip2/ref/alpha/tru64/simple-timing/stderr => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/simerr
rename : tests/long/60.bzip2/ref/alpha/tru64/simple-timing/stdout => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/simout
rename : tests/long/60.bzip2/ref/alpha/tru64/simple-timing/m5stats.txt => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/long/60.bzip2/ref/x86/linux/simple-atomic/stderr => tests/long/60.bzip2/ref/x86/linux/simple-atomic/simerr
rename : tests/long/60.bzip2/ref/x86/linux/simple-atomic/stdout => tests/long/60.bzip2/ref/x86/linux/simple-atomic/simout
rename : tests/long/60.bzip2/ref/x86/linux/simple-atomic/m5stats.txt => tests/long/60.bzip2/ref/x86/linux/simple-atomic/stats.txt
rename : tests/long/60.bzip2/ref/x86/linux/simple-timing/stderr => tests/long/60.bzip2/ref/x86/linux/simple-timing/simerr
rename : tests/long/60.bzip2/ref/x86/linux/simple-timing/stdout => tests/long/60.bzip2/ref/x86/linux/simple-timing/simout
rename : tests/long/60.bzip2/ref/x86/linux/simple-timing/m5stats.txt => tests/long/60.bzip2/ref/x86/linux/simple-timing/stats.txt
rename : tests/long/70.twolf/ref/alpha/tru64/o3-timing/stderr => tests/long/70.twolf/ref/alpha/tru64/o3-timing/simerr
rename : tests/long/70.twolf/ref/alpha/tru64/o3-timing/stdout => tests/long/70.twolf/ref/alpha/tru64/o3-timing/simout
rename : tests/long/70.twolf/ref/alpha/tru64/o3-timing/m5stats.txt => tests/long/70.twolf/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/long/70.twolf/ref/alpha/tru64/simple-atomic/stderr => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/simerr
rename : tests/long/70.twolf/ref/alpha/tru64/simple-atomic/stdout => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/simout
rename : tests/long/70.twolf/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/long/70.twolf/ref/alpha/tru64/simple-timing/stderr => tests/long/70.twolf/ref/alpha/tru64/simple-timing/simerr
rename : tests/long/70.twolf/ref/alpha/tru64/simple-timing/stdout => tests/long/70.twolf/ref/alpha/tru64/simple-timing/simout
rename : tests/long/70.twolf/ref/alpha/tru64/simple-timing/m5stats.txt => tests/long/70.twolf/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/long/70.twolf/ref/sparc/linux/simple-atomic/stderr => tests/long/70.twolf/ref/sparc/linux/simple-atomic/simerr
rename : tests/long/70.twolf/ref/sparc/linux/simple-atomic/stdout => tests/long/70.twolf/ref/sparc/linux/simple-atomic/simout
rename : tests/long/70.twolf/ref/sparc/linux/simple-atomic/m5stats.txt => tests/long/70.twolf/ref/sparc/linux/simple-atomic/stats.txt
rename : tests/long/70.twolf/ref/sparc/linux/simple-timing/stderr => tests/long/70.twolf/ref/sparc/linux/simple-timing/simerr
rename : tests/long/70.twolf/ref/sparc/linux/simple-timing/stdout => tests/long/70.twolf/ref/sparc/linux/simple-timing/simout
rename : tests/long/70.twolf/ref/sparc/linux/simple-timing/m5stats.txt => tests/long/70.twolf/ref/sparc/linux/simple-timing/stats.txt
rename : tests/long/70.twolf/ref/x86/linux/simple-atomic/stderr => tests/long/70.twolf/ref/x86/linux/simple-atomic/simerr
rename : tests/long/70.twolf/ref/x86/linux/simple-atomic/stdout => tests/long/70.twolf/ref/x86/linux/simple-atomic/simout
rename : tests/long/70.twolf/ref/x86/linux/simple-atomic/m5stats.txt => tests/long/70.twolf/ref/x86/linux/simple-atomic/stats.txt
rename : tests/long/70.twolf/ref/x86/linux/simple-timing/stderr => tests/long/70.twolf/ref/x86/linux/simple-timing/simerr
rename : tests/long/70.twolf/ref/x86/linux/simple-timing/stdout => tests/long/70.twolf/ref/x86/linux/simple-timing/simout
rename : tests/long/70.twolf/ref/x86/linux/simple-timing/m5stats.txt => tests/long/70.twolf/ref/x86/linux/simple-timing/stats.txt
rename : tests/long/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stderr => tests/long/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simerr
rename : tests/long/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stdout => tests/long/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout
rename : tests/long/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/m5stats.txt => tests/long/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt
rename : tests/quick/00.hello/ref/alpha/linux/o3-timing/stderr => tests/quick/00.hello/ref/alpha/linux/o3-timing/simerr
rename : tests/quick/00.hello/ref/alpha/linux/o3-timing/stdout => tests/quick/00.hello/ref/alpha/linux/o3-timing/simout
rename : tests/quick/00.hello/ref/alpha/linux/o3-timing/m5stats.txt => tests/quick/00.hello/ref/alpha/linux/o3-timing/stats.txt
rename : tests/quick/00.hello/ref/alpha/linux/simple-atomic/stderr => tests/quick/00.hello/ref/alpha/linux/simple-atomic/simerr
rename : tests/quick/00.hello/ref/alpha/linux/simple-atomic/stdout => tests/quick/00.hello/ref/alpha/linux/simple-atomic/simout
rename : tests/quick/00.hello/ref/alpha/linux/simple-atomic/m5stats.txt => tests/quick/00.hello/ref/alpha/linux/simple-atomic/stats.txt
rename : tests/quick/00.hello/ref/alpha/linux/simple-timing/stderr => tests/quick/00.hello/ref/alpha/linux/simple-timing/simerr
rename : tests/quick/00.hello/ref/alpha/linux/simple-timing/stdout => tests/quick/00.hello/ref/alpha/linux/simple-timing/simout
rename : tests/quick/00.hello/ref/alpha/linux/simple-timing/m5stats.txt => tests/quick/00.hello/ref/alpha/linux/simple-timing/stats.txt
rename : tests/quick/00.hello/ref/alpha/tru64/o3-timing/stderr => tests/quick/00.hello/ref/alpha/tru64/o3-timing/simerr
rename : tests/quick/00.hello/ref/alpha/tru64/o3-timing/stdout => tests/quick/00.hello/ref/alpha/tru64/o3-timing/simout
rename : tests/quick/00.hello/ref/alpha/tru64/o3-timing/m5stats.txt => tests/quick/00.hello/ref/alpha/tru64/o3-timing/stats.txt
rename : tests/quick/00.hello/ref/alpha/tru64/simple-atomic/stderr => tests/quick/00.hello/ref/alpha/tru64/simple-atomic/simerr
rename : tests/quick/00.hello/ref/alpha/tru64/simple-atomic/stdout => tests/quick/00.hello/ref/alpha/tru64/simple-atomic/simout
rename : tests/quick/00.hello/ref/alpha/tru64/simple-atomic/m5stats.txt => tests/quick/00.hello/ref/alpha/tru64/simple-atomic/stats.txt
rename : tests/quick/00.hello/ref/alpha/tru64/simple-timing/stderr => tests/quick/00.hello/ref/alpha/tru64/simple-timing/simerr
rename : tests/quick/00.hello/ref/alpha/tru64/simple-timing/stdout => tests/quick/00.hello/ref/alpha/tru64/simple-timing/simout
rename : tests/quick/00.hello/ref/alpha/tru64/simple-timing/m5stats.txt => tests/quick/00.hello/ref/alpha/tru64/simple-timing/stats.txt
rename : tests/quick/00.hello/ref/mips/linux/simple-atomic/stderr => tests/quick/00.hello/ref/mips/linux/simple-atomic/simerr
rename : tests/quick/00.hello/ref/mips/linux/simple-atomic/stdout => tests/quick/00.hello/ref/mips/linux/simple-atomic/simout
rename : tests/quick/00.hello/ref/mips/linux/simple-atomic/m5stats.txt => tests/quick/00.hello/ref/mips/linux/simple-atomic/stats.txt
rename : tests/quick/00.hello/ref/mips/linux/simple-timing/stderr => tests/quick/00.hello/ref/mips/linux/simple-timing/simerr
rename : tests/quick/00.hello/ref/mips/linux/simple-timing/stdout => tests/quick/00.hello/ref/mips/linux/simple-timing/simout
rename : tests/quick/00.hello/ref/mips/linux/simple-timing/m5stats.txt => tests/quick/00.hello/ref/mips/linux/simple-timing/stats.txt
rename : tests/quick/00.hello/ref/sparc/linux/simple-atomic/stderr => tests/quick/00.hello/ref/sparc/linux/simple-atomic/simerr
rename : tests/quick/00.hello/ref/sparc/linux/simple-atomic/stdout => tests/quick/00.hello/ref/sparc/linux/simple-atomic/simout
rename : tests/quick/00.hello/ref/sparc/linux/simple-atomic/m5stats.txt => tests/quick/00.hello/ref/sparc/linux/simple-atomic/stats.txt
rename : tests/quick/00.hello/ref/sparc/linux/simple-timing/stderr => tests/quick/00.hello/ref/sparc/linux/simple-timing/simerr
rename : tests/quick/00.hello/ref/sparc/linux/simple-timing/stdout => tests/quick/00.hello/ref/sparc/linux/simple-timing/simout
rename : tests/quick/00.hello/ref/sparc/linux/simple-timing/m5stats.txt => tests/quick/00.hello/ref/sparc/linux/simple-timing/stats.txt
rename : tests/quick/00.hello/ref/x86/linux/simple-atomic/stderr => tests/quick/00.hello/ref/x86/linux/simple-atomic/simerr
rename : tests/quick/00.hello/ref/x86/linux/simple-atomic/stdout => tests/quick/00.hello/ref/x86/linux/simple-atomic/simout
rename : tests/quick/00.hello/ref/x86/linux/simple-atomic/m5stats.txt => tests/quick/00.hello/ref/x86/linux/simple-atomic/stats.txt
rename : tests/quick/00.hello/ref/x86/linux/simple-timing/stderr => tests/quick/00.hello/ref/x86/linux/simple-timing/simerr
rename : tests/quick/00.hello/ref/x86/linux/simple-timing/stdout => tests/quick/00.hello/ref/x86/linux/simple-timing/simout
rename : tests/quick/00.hello/ref/x86/linux/simple-timing/m5stats.txt => tests/quick/00.hello/ref/x86/linux/simple-timing/stats.txt
rename : tests/quick/01.hello-2T-smt/ref/alpha/linux/o3-timing/stderr => tests/quick/01.hello-2T-smt/ref/alpha/linux/o3-timing/simerr
rename : tests/quick/01.hello-2T-smt/ref/alpha/linux/o3-timing/stdout => tests/quick/01.hello-2T-smt/ref/alpha/linux/o3-timing/simout
rename : tests/quick/01.hello-2T-smt/ref/alpha/linux/o3-timing/m5stats.txt => tests/quick/01.hello-2T-smt/ref/alpha/linux/o3-timing/stats.txt
rename : tests/quick/02.insttest/ref/sparc/linux/o3-timing/stderr => tests/quick/02.insttest/ref/sparc/linux/o3-timing/simerr
rename : tests/quick/02.insttest/ref/sparc/linux/o3-timing/stdout => tests/quick/02.insttest/ref/sparc/linux/o3-timing/simout
rename : tests/quick/02.insttest/ref/sparc/linux/o3-timing/m5stats.txt => tests/quick/02.insttest/ref/sparc/linux/o3-timing/stats.txt
rename : tests/quick/02.insttest/ref/sparc/linux/simple-atomic/stderr => tests/quick/02.insttest/ref/sparc/linux/simple-atomic/simerr
rename : tests/quick/02.insttest/ref/sparc/linux/simple-atomic/stdout => tests/quick/02.insttest/ref/sparc/linux/simple-atomic/simout
rename : tests/quick/02.insttest/ref/sparc/linux/simple-atomic/m5stats.txt => tests/quick/02.insttest/ref/sparc/linux/simple-atomic/stats.txt
rename : tests/quick/02.insttest/ref/sparc/linux/simple-timing/stderr => tests/quick/02.insttest/ref/sparc/linux/simple-timing/simerr
rename : tests/quick/02.insttest/ref/sparc/linux/simple-timing/stdout => tests/quick/02.insttest/ref/sparc/linux/simple-timing/simout
rename : tests/quick/02.insttest/ref/sparc/linux/simple-timing/m5stats.txt => tests/quick/02.insttest/ref/sparc/linux/simple-timing/stats.txt
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/stderr => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/simerr
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/stdout => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/simout
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/m5stats.txt => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/stats.txt
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/stderr => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/simerr
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/stdout => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/simout
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/m5stats.txt => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/stats.txt
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/stderr => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/simerr
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/stdout => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/simout
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/m5stats.txt => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/stats.txt
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/stderr => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/simerr
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/stdout => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/simout
rename : tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/m5stats.txt => tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/stats.txt
rename : tests/quick/20.eio-short/ref/alpha/eio/detailed/stderr => tests/quick/20.eio-short/ref/alpha/eio/detailed/simerr
rename : tests/quick/20.eio-short/ref/alpha/eio/detailed/stdout => tests/quick/20.eio-short/ref/alpha/eio/detailed/simout
rename : tests/quick/20.eio-short/ref/alpha/eio/detailed/m5stats.txt => tests/quick/20.eio-short/ref/alpha/eio/detailed/stats.txt
rename : tests/quick/20.eio-short/ref/alpha/eio/simple-atomic/stderr => tests/quick/20.eio-short/ref/alpha/eio/simple-atomic/simerr
rename : tests/quick/20.eio-short/ref/alpha/eio/simple-atomic/stdout => tests/quick/20.eio-short/ref/alpha/eio/simple-atomic/simout
rename : tests/quick/20.eio-short/ref/alpha/eio/simple-atomic/m5stats.txt => tests/quick/20.eio-short/ref/alpha/eio/simple-atomic/stats.txt
rename : tests/quick/20.eio-short/ref/alpha/eio/simple-timing/stderr => tests/quick/20.eio-short/ref/alpha/eio/simple-timing/simerr
rename : tests/quick/20.eio-short/ref/alpha/eio/simple-timing/stdout => tests/quick/20.eio-short/ref/alpha/eio/simple-timing/simout
rename : tests/quick/20.eio-short/ref/alpha/eio/simple-timing/m5stats.txt => tests/quick/20.eio-short/ref/alpha/eio/simple-timing/stats.txt
rename : tests/quick/30.eio-mp/ref/alpha/eio/simple-atomic-mp/stderr => tests/quick/30.eio-mp/ref/alpha/eio/simple-atomic-mp/simerr
rename : tests/quick/30.eio-mp/ref/alpha/eio/simple-atomic-mp/stdout => tests/quick/30.eio-mp/ref/alpha/eio/simple-atomic-mp/simout
rename : tests/quick/30.eio-mp/ref/alpha/eio/simple-atomic-mp/m5stats.txt => tests/quick/30.eio-mp/ref/alpha/eio/simple-atomic-mp/stats.txt
rename : tests/quick/30.eio-mp/ref/alpha/eio/simple-timing-mp/stderr => tests/quick/30.eio-mp/ref/alpha/eio/simple-timing-mp/simerr
rename : tests/quick/30.eio-mp/ref/alpha/eio/simple-timing-mp/stdout => tests/quick/30.eio-mp/ref/alpha/eio/simple-timing-mp/simout
rename : tests/quick/30.eio-mp/ref/alpha/eio/simple-timing-mp/m5stats.txt => tests/quick/30.eio-mp/ref/alpha/eio/simple-timing-mp/stats.txt
rename : tests/quick/50.memtest/ref/alpha/linux/memtest/stderr => tests/quick/50.memtest/ref/alpha/linux/memtest/simerr
rename : tests/quick/50.memtest/ref/alpha/linux/memtest/stdout => tests/quick/50.memtest/ref/alpha/linux/memtest/simout
rename : tests/quick/50.memtest/ref/alpha/linux/memtest/m5stats.txt => tests/quick/50.memtest/ref/alpha/linux/memtest/stats.txt
rename : tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/stderr => tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/simerr
rename : tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/stdout => tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/simout
rename : tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/m5stats.txt => tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/stats.txt

16 years agoDevices: Clean up the IDE controller.
Gabe Black [Sun, 7 Dec 2008 20:59:48 +0000 (12:59 -0800)]
Devices: Clean up the IDE controller.

16 years agoimported patch aux-fix.patch
Lisa Hsu [Sun, 7 Dec 2008 20:07:42 +0000 (15:07 -0500)]
imported patch aux-fix.patch

16 years agoX86: Add add_entry back in.
Gabe Black [Sat, 6 Dec 2008 22:48:59 +0000 (14:48 -0800)]
X86: Add add_entry back in.

16 years agoeventq: use the flags data structure
Nathan Binkert [Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)]
eventq: use the flags data structure

16 years agoeventq: move virtual function definitiions to the .cc file.
Nathan Binkert [Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)]
eventq: move virtual function definitiions to the .cc file.

16 years agotraceflags: Make "All" a valid trace flag.
Nathan Binkert [Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)]
traceflags: Make "All" a valid trace flag.

16 years agoSimObject: change naming of vectors so there are the same numbers of digits.
Nathan Binkert [Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)]
SimObject: change naming of vectors so there are the same numbers of digits.
i.e. we used to have Foo0, Foo1, ..., Foo10, Foo11, ..., Foo100
now we have Foo000, Foo001, ..., Foo010, Foo011, ..., Foo100

16 years agoscons: only use -Wno-pointer-sign with gcc >= 4.3
Nathan Binkert [Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)]
scons: only use -Wno-pointer-sign with gcc >= 4.3

16 years agoflags: Change naming of functions to be clearer
Nathan Binkert [Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)]
flags: Change naming of functions to be clearer

16 years agoIGbE: Add support for newer 8257x based Intel NICs
Ali Saidi [Fri, 5 Dec 2008 18:58:22 +0000 (13:58 -0500)]
IGbE: Add support for newer 8257x based Intel NICs

16 years agoIGbE: Add support for TCP segment offload
Ali Saidi [Fri, 5 Dec 2008 18:58:21 +0000 (13:58 -0500)]
IGbE: Add support for TCP segment offload

16 years agoINet: Allow updating on id, len, seq, and flag field for TCP segment offload
Ali Saidi [Fri, 5 Dec 2008 18:58:21 +0000 (13:58 -0500)]
INet: Allow updating on id, len, seq, and flag field for TCP segment offload

16 years agoAutomated merge with ssh://m5sim.org//repo/m5
Lisa Hsu [Fri, 5 Dec 2008 17:11:46 +0000 (12:11 -0500)]
Automated merge with ssh://m5sim.org//repo/m5

16 years agoThis brings M5 closer to modernity - the kernel being advertised is newer so it won...
Lisa Hsu [Fri, 5 Dec 2008 17:09:29 +0000 (12:09 -0500)]
This brings M5 closer to modernity - the kernel being advertised is newer so it won't die on binaries compiled with newer glibc's, and enables use of TLS-toolchain built binaries for ALPHA_SE by putting auxiliary vectors on the stack.  There are some comments in the code to help.  Finally, stats changes for ALPHA are from slight perturbations to the initial stack frame, all minimal diffs.

16 years agoThis patch pulls out the auxiliary vector struct from individual ISA
Lisa Hsu [Thu, 4 Dec 2008 23:03:35 +0000 (18:03 -0500)]
This patch pulls out the auxiliary vector struct from individual ISA
LiveProcesses to the base LiveProcess definition so anyone can use them.

16 years agoAdd the mkblankimage.sh utility to the utils directory.
Nathan Binkert [Wed, 3 Dec 2008 12:57:55 +0000 (04:57 -0800)]
Add the mkblankimage.sh utility to the utils directory.

16 years agocprintf: support a configurable width and precision ("*" in printf)
Nathan Binkert [Wed, 3 Dec 2008 12:57:54 +0000 (04:57 -0800)]
cprintf: support a configurable width and precision ("*" in printf)

16 years agoutil/m5: Add a new function called pin to bind a program to a set of cores.
Nathan Binkert [Wed, 3 Dec 2008 12:57:54 +0000 (04:57 -0800)]
util/m5: Add a new function called pin to bind a program to a set of cores.
This is not m5 specific and this currently only works in linux.

16 years agoutil/m5: reorganize code so it is easier to add operations
Nathan Binkert [Wed, 3 Dec 2008 12:57:53 +0000 (04:57 -0800)]
util/m5: reorganize code so it is easier to add operations

16 years agoAssume files w/o obvious OS are Linux (with warning)
Steve Reinhardt [Fri, 21 Nov 2008 03:08:46 +0000 (19:08 -0800)]
Assume files w/o obvious OS are Linux (with warning)
instead of giving a fatal error.

16 years agoSort trace flags before printing them.
Steve Reinhardt [Mon, 17 Nov 2008 20:41:50 +0000 (12:41 -0800)]
Sort trace flags before printing them.

16 years agoMinor tracediff bug fixes.
Steve Reinhardt [Mon, 17 Nov 2008 19:22:16 +0000 (11:22 -0800)]
Minor tracediff bug fixes.

16 years agoUpdate stats for brk fix (cset f28f020f3006).
Steve Reinhardt [Mon, 17 Nov 2008 19:11:09 +0000 (14:11 -0500)]
Update stats for brk fix (cset f28f020f3006).

16 years agoOutput: Include gzstream package to allow automatically-gzipped output
Clint Smullen [Sun, 16 Nov 2008 04:42:11 +0000 (23:42 -0500)]
Output: Include gzstream package to allow automatically-gzipped output
The gzstream package provides an ostream-interface for writing gzipped files.
The package comes from:
    http://www.cs.unc.edu/Research/compgeom/gzstream/
And is distributed under the LGPL license. Both the license and version
information has been preservered, though all other files in the package have
been purged. Minor modifications to the code have been made. The output module
detects when a filename ends in .gz and constructs an ogzstream object instead
of an ofstream object. This works for both the create(...) and find(...)
commands. Additionally, since gzstream objects needs to be closed to ensure
proper file termination, I have the output deconstructor deleting all ostream's
that it manages on behalf of find(...). At the moment, the only output file
that I know this functionality works for is stats, i.e. by specifying
"--stats-file=m5stats.txt.gz" on the command line.

16 years agosyscalls: fix latent brk/obreak bug.
Steve Reinhardt [Sat, 15 Nov 2008 17:30:10 +0000 (09:30 -0800)]
syscalls: fix latent brk/obreak bug.
Bogus calls to ChunkGenerator with negative size were triggering
a new assertion that was added there.
Also did a little renaming and cleanup in the process.

16 years agoRemove the pointless, repository destroying assertion and just have the script check...
Clint Smullen [Sat, 15 Nov 2008 05:21:31 +0000 (00:21 -0500)]
Remove the pointless, repository destroying assertion and just have the script check every line in the file if it cannot get context information.

16 years agoCache: get rid of obsolete Tag methods.
Steve Reinhardt [Fri, 14 Nov 2008 22:14:35 +0000 (14:14 -0800)]
Cache: get rid of obsolete Tag methods.
I think readData() and writeData() were used for Erik's compression
work, but that code is gone, these aren't called anymore, and they
don't even really do what their names imply.

16 years agoFix a bunch of bugs I introduced when I changed the flags stuff for packets.
Nathan Binkert [Fri, 14 Nov 2008 12:55:30 +0000 (04:55 -0800)]
Fix a bunch of bugs I introduced when I changed the flags stuff for packets.
I did some of the flags and assertions wrong. Thanks to Brad Beckmann
for pointing this out.  I should have run the opt regressions instead
of the fast. I also screwed up some of the logical functions in the Flags
class.

16 years agoCPU: Refactor read/write in the simple timing CPU.
Gabe Black [Fri, 14 Nov 2008 07:30:37 +0000 (23:30 -0800)]
CPU: Refactor read/write in the simple timing CPU.

16 years agoX86: Update the mcf stats.
Gabe Black [Fri, 14 Nov 2008 07:30:15 +0000 (23:30 -0800)]
X86: Update the mcf stats.
I must have missed updating these for the change to send both parts of a split
packet at the same time.

16 years agoSCons: Allow top level directory of EXTRAS able to contain SConscripts.
Nathan Binkert [Mon, 10 Nov 2008 19:51:18 +0000 (11:51 -0800)]
SCons: Allow top level directory of EXTRAS able to contain SConscripts.
The current EXTRAS will fail if the top level directory pointed to by EXTRAS
has a SConscript file in it.  We allow this by including the directory name
of the EXTRA in the build directory which prevents a clash between
src/SConscript and extra/SConscript. Maintain compatibility with older uses
of EXTRAS by adding a -I for each top level extra directory.

16 years agopseudo inst: Add rpns (read processor nanoseconds) instruction.
Nathan Binkert [Mon, 10 Nov 2008 19:51:18 +0000 (11:51 -0800)]
pseudo inst: Add rpns (read processor nanoseconds) instruction.
This instruction basically returns the number of nanoseconds that the CPU
has been running.

16 years agoClean up the SimpleTimingPort class a little bit.
Nathan Binkert [Mon, 10 Nov 2008 19:51:18 +0000 (11:51 -0800)]
Clean up the SimpleTimingPort class a little bit.
Move the constructor into the .cc file and get rid of the typedef for
SendEvent.

16 years agoclean: Move some stuff from the hh file to the cc file.
Nathan Binkert [Mon, 10 Nov 2008 19:51:18 +0000 (11:51 -0800)]
clean: Move some stuff from the hh file to the cc file.

16 years agopython: Fix the reference counting for python events placed on the eventq.
Nathan Binkert [Mon, 10 Nov 2008 19:51:18 +0000 (11:51 -0800)]
python: Fix the reference counting for python events placed on the eventq.
We need to add a reference when an object is put on the C++ queue, and remove
a reference when the object is removed from the queue.  This was not happening
before and caused a memory problem.

16 years agoO3CPU: Make the instcount debugging stuff per-cpu.
Clint Smullen [Mon, 10 Nov 2008 19:51:18 +0000 (11:51 -0800)]
O3CPU: Make the instcount debugging stuff per-cpu.
This is to prevent the assertion from firing if you have a large multicore.
Also make sure that it's not compiled in when NDEBUG is defined

16 years agomem: update stuff for changes to Packet and Request
Nathan Binkert [Mon, 10 Nov 2008 19:51:17 +0000 (11:51 -0800)]
mem: update stuff for changes to Packet and Request

16 years agostyle: clean up the Packet stuff
Nathan Binkert [Mon, 10 Nov 2008 19:51:17 +0000 (11:51 -0800)]
style: clean up the Packet stuff

16 years agoflags: Provide an object for managing boolean flags for an object.
Nathan Binkert [Mon, 10 Nov 2008 19:51:17 +0000 (11:51 -0800)]
flags: Provide an object for managing boolean flags for an object.
In many cases it might be preferable to use bitset, but this object
allows the user more easily manipulate groups of flags because the
underlying type (e.g. uint64_t) is exposed.

16 years agosafe_cast: add a new cast function for casts that should always succeed.
Nathan Binkert [Mon, 10 Nov 2008 19:51:17 +0000 (11:51 -0800)]
safe_cast: add a new cast function for casts that should always succeed.
In DEBUG mode, this does a dynamic_cast and asserts that the result is
non null.  Otherwise, it just does a static_cast.  Again, this is only
intended for cases where the cast should always succeed and what's
desired is a debugging check to make sure.

16 years agoDmaDevice: fix minor type in error message.
Steve Reinhardt [Mon, 10 Nov 2008 22:45:31 +0000 (14:45 -0800)]
DmaDevice: fix minor type in error message.

16 years agomem: Assert that requests have non-negative size.
Steve Reinhardt [Mon, 10 Nov 2008 22:11:07 +0000 (14:11 -0800)]
mem: Assert that requests have non-negative size.
Would have saved me much debugging time if these
had been in there previously.

16 years agoCache: Refactor packet forwarding a bit.
Steve Reinhardt [Mon, 10 Nov 2008 22:10:28 +0000 (14:10 -0800)]
Cache: Refactor packet forwarding a bit.
Makes adding write-through operations easier.

16 years agoX86: Add x86 reference output for the timing CPU.
Gabe Black [Mon, 10 Nov 2008 05:57:15 +0000 (21:57 -0800)]
X86: Add x86 reference output for the timing CPU.

16 years agoCPU: Make unaligned accesses work in the timing simple CPU.
Gabe Black [Mon, 10 Nov 2008 05:56:28 +0000 (21:56 -0800)]
CPU: Make unaligned accesses work in the timing simple CPU.

16 years agoX86: Fix completeAcc get call.
Gabe Black [Mon, 10 Nov 2008 05:55:43 +0000 (21:55 -0800)]
X86: Fix completeAcc get call.

16 years agoX86: Make the timing simple CPU handle variable length instructions.
Gabe Black [Mon, 10 Nov 2008 05:55:01 +0000 (21:55 -0800)]
X86: Make the timing simple CPU handle variable length instructions.

16 years agotracediff: add '#' support for sub-arg alternatives, '-n' param
Steve Reinhardt [Fri, 7 Nov 2008 04:23:05 +0000 (20:23 -0800)]
tracediff: add '#' support for sub-arg alternatives, '-n' param

16 years agoAutomated merge with ssh://daystrom.m5sim.org//repo/m5
Lisa Hsu [Thu, 6 Nov 2008 16:11:50 +0000 (11:11 -0500)]
Automated merge with ssh://daystrom.m5sim.org//repo/m5

16 years agoReference updates. Since split cache is gone, a lot of config.ini changes, and minor...
Lisa Hsu [Thu, 6 Nov 2008 16:11:42 +0000 (11:11 -0500)]
Reference updates.  Since split cache is gone, a lot of config.ini changes, and minor changes to stats that are likely due to the decoupling of insertions/evictions in the cache.

16 years agoAutomated merge with ssh://m5sim.org//repo/m5
Lisa Hsu [Wed, 5 Nov 2008 23:12:21 +0000 (18:12 -0500)]
Automated merge with ssh://m5sim.org//repo/m5

16 years agonew mp eio test
Lisa Hsu [Wed, 5 Nov 2008 23:10:30 +0000 (18:10 -0500)]
new mp eio test

16 years agoFix SPARC_FS compile
Lisa Hsu [Wed, 5 Nov 2008 21:19:17 +0000 (16:19 -0500)]
Fix SPARC_FS compile

16 years agoRight now a single thread cpu 1 could get assigned context Id != 1, depending
Lisa Hsu [Wed, 5 Nov 2008 20:30:49 +0000 (15:30 -0500)]
Right now a single thread cpu 1 could get assigned context Id != 1, depending
on the order in which it's registered with the system.  To make them match,
here is a little change.

16 years agoFix a few more places where the context stuff wasn't changed
Nathan Binkert [Wed, 5 Nov 2008 15:20:03 +0000 (07:20 -0800)]
Fix a few more places where the context stuff wasn't changed

16 years agodecouple eviction from insertion in the cache.
Lisa Hsu [Tue, 4 Nov 2008 16:35:58 +0000 (11:35 -0500)]
decouple eviction from insertion in the cache.

16 years agoChange the findBlock(addr, lat) to accessBlock, which I think has better connotations...
Lisa Hsu [Tue, 4 Nov 2008 16:35:57 +0000 (11:35 -0500)]
Change the findBlock(addr, lat) to accessBlock, which I think has better connotations for what is really happening and how it should be used.

16 years agoget rid of all instances of readTid() and getThreadNum(). Unify and eliminate
Lisa Hsu [Tue, 4 Nov 2008 16:35:42 +0000 (11:35 -0500)]
get rid of all instances of readTid() and getThreadNum().  Unify and eliminate
redundancies with threadId() as their replacement.

16 years agoAdd in Context IDs to the simulator. From now on, cpuId is almost never used,
Lisa Hsu [Mon, 3 Nov 2008 02:57:07 +0000 (21:57 -0500)]
Add in Context IDs to the simulator.  From now on, cpuId is almost never used,
the primary identifier for a hardware context should be contextId().  The
concept of threads within a CPU remains, in the form of threadId() because
sometimes you need to know which context within a cpu to manipulate.

16 years agoMake it so that all thread contexts are registered with the System, even in
Lisa Hsu [Mon, 3 Nov 2008 02:57:06 +0000 (21:57 -0500)]
Make it so that all thread contexts are registered with the System, even in
SE.  Process still keeps track of the tc's it owns, but registration occurs
with the System, this eases the way for system-wide context Ids based on
registration.