gem5.git
17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Thu, 15 Mar 2007 19:16:36 +0000 (19:16 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86

--HG--
extra : convert_revision : cf2cc07f18b877f980e2d1fc83916f7849d9c7d9

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Thu, 15 Mar 2007 19:16:35 +0000 (15:16 -0400)]
Merge zizzer:/bk/newmem
into  zeep.pool:/z/saidi/work/m5.newmem

--HG--
extra : convert_revision : 6a75fa02391c4c65063c5412a568705bb1dd892b

17 years agoadd all the registers we'll need to support for the Intel GbE device and support...
Ali Saidi [Thu, 15 Mar 2007 19:16:23 +0000 (15:16 -0400)]
add all the registers we'll need to support for the Intel GbE device and support enough functionality make the driver think
the device is there, and in good working order.

src/dev/SConscript:
    add intel gbe to the dev SCons file
src/dev/i8254xGBe.cc:
src/dev/i8254xGBe.hh:
src/dev/i8254xGBe_defs.hh:
    use new manner of registers and implement all device registers that are touched through boot and ifup

--HG--
extra : convert_revision : b1a1767f0fd31cd371e432cb48ac9a2e9f9291b5

17 years agoChanged warns to DPRINTFs and multiply by 8 where needed.
Gabe Black [Thu, 15 Mar 2007 16:13:40 +0000 (16:13 +0000)]
Changed warns to DPRINTFs and multiply by 8 where needed.

--HG--
extra : convert_revision : 9db0bc2420ceb5828a79881fa0b420a2d5e5f358

17 years agoAdded immediate value support, and fixed alot of bugs. This won't support 3 byte...
Gabe Black [Thu, 15 Mar 2007 15:29:39 +0000 (15:29 +0000)]
Added immediate value support, and fixed alot of bugs. This won't support 3 byte opcodes.

--HG--
extra : convert_revision : 4c79bff2592a668e1154916875f019ecafe67022

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Thu, 15 Mar 2007 10:10:59 +0000 (06:10 -0400)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : c886266320e6c1352e359d5abf6fb3a804f81451

17 years agoUpdate to statetrace. This will break it, but I want to make sure it gets into mercurial.
Gabe Black [Thu, 15 Mar 2007 10:10:50 +0000 (06:10 -0400)]
Update to statetrace. This will break it, but I want to make sure it gets into mercurial.

--HG--
extra : convert_revision : 6960d2f728c85e99e32bf9b752e45b3cb5e30e3e

17 years agoCompile fix
Gabe Black [Thu, 15 Mar 2007 03:17:00 +0000 (03:17 +0000)]
Compile fix

--HG--
extra : convert_revision : 4a66d04404beee9656e3e33089afcec10d7ee5ff

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Thu, 15 Mar 2007 02:52:51 +0000 (02:52 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86

src/arch/mips/utility.hh:
src/arch/x86/SConscript:
    Hand merge

--HG--
extra : convert_revision : 0ba457aab52bf6ffc9191fd1fe1006ca7704b5b0

17 years agoMake the predecoder an object with it's own switched header file. Start adding predec...
Gabe Black [Thu, 15 Mar 2007 02:47:42 +0000 (02:47 +0000)]
Make the predecoder an object with it's own switched header file. Start adding predecoding functionality to x86.

src/arch/SConscript:
src/arch/alpha/utility.hh:
src/arch/mips/utility.hh:
src/arch/sparc/utility.hh:
src/cpu/base.hh:
src/cpu/o3/fetch.hh:
src/cpu/o3/fetch_impl.hh:
src/cpu/simple/atomic.cc:
src/cpu/simple/base.cc:
src/cpu/simple/base.hh:
src/cpu/static_inst.hh:
src/arch/alpha/predecoder.hh:
src/arch/mips/predecoder.hh:
src/arch/sparc/predecoder.hh:
    Make the predecoder an object with it's own switched header file.

--HG--
extra : convert_revision : 77206e29089130e86b97164c30022a062699ba86

17 years agofix segfault when peer owner attempts to use functional port
Ali Saidi [Tue, 13 Mar 2007 21:34:52 +0000 (17:34 -0400)]
fix segfault when peer owner attempts to use functional port

--HG--
extra : convert_revision : 3702b4bd038a59bff823c3b428fdfbaabc9715df

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Tue, 13 Mar 2007 19:03:34 +0000 (15:03 -0400)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : 61eca737296a5ce839d3b97f047b4fda062cb899

17 years agoReplaced makeExtMI with predecode.
Gabe Black [Tue, 13 Mar 2007 16:13:21 +0000 (16:13 +0000)]
Replaced makeExtMI with predecode.
Removed the getOpcode function from StaticInst which only made sense for Alpha.
Started implementing the x86 predecoder.

--HG--
extra : convert_revision : a13ea257c8943ef25e9bc573024a99abacf4a70d

17 years agofix interrupting during a quisce on sparc
Ali Saidi [Tue, 13 Mar 2007 04:05:52 +0000 (00:05 -0400)]
fix interrupting during a quisce on sparc

src/arch/sparc/ua2005.cc:
    fix interrupting when quisced. Since sticks correspond to instructions when not quisced we need to
    check if were suspended and interrupt at the guess time
src/base/traceflags.py:
    add trace flag for Iob
src/cpu/simple/base.cc:
    Use Quisce instead of IPI trace flag
src/dev/sparc/iob.cc:
    add some Dprintfs

--HG--
extra : convert_revision : 72e18fcc750ad1e4b2bb67b19b354eaffc6af6d5

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Tue, 13 Mar 2007 00:17:44 +0000 (20:17 -0400)]
Merge zizzer:/bk/newmem
into  zeep.pool:/z/saidi/work/m5.newmem

--HG--
extra : convert_revision : db68adffdf4ae12637eba7c03d53aca997b30291

17 years agocall ccprintf() with the appropriate argument types so we don't recuse forever
Ali Saidi [Tue, 13 Mar 2007 00:16:13 +0000 (20:16 -0400)]
call ccprintf() with the appropriate argument types so we don't recuse forever

--HG--
extra : convert_revision : 5366be897d1193cf9e93b1fcd0689d19783f73a8

17 years agoAdded SPARC twolf regression.
Gabe Black [Mon, 12 Mar 2007 22:57:14 +0000 (17:57 -0500)]
Added SPARC twolf regression.

--HG--
extra : convert_revision : cb417d281a0a6ae1b9f75d5f04b3c28934e702d3

17 years agoMerge zizzer:/bk/newmem
Ron Dreslinski [Mon, 12 Mar 2007 21:25:59 +0000 (16:25 -0500)]
Merge zizzer:/bk/newmem
into  zazzer.eecs.umich.edu:/z/rdreslin/m5bk/head

--HG--
extra : convert_revision : 7d7380a6565cff32470bddadb0158fad897a5cf5

17 years agoremove the extern C around gdb helper functions. It's need needed for any new version...
Ali Saidi [Mon, 12 Mar 2007 21:23:08 +0000 (17:23 -0400)]
remove the extern C around gdb helper functions. It's need needed for any new version of gdb to work and it causes at least mine to segfault

--HG--
extra : convert_revision : 5e4c2ec753372fd0569734d3ddb0c8690409ca16

17 years agoFix mulscc.
Gabe Black [Mon, 12 Mar 2007 21:07:10 +0000 (17:07 -0400)]
Fix mulscc.

--HG--
extra : convert_revision : 405f10f14f2f6666a7bef01bfb0cf90ff14cef24

17 years agoClean up more memory leaks
Ron Dreslinski [Mon, 12 Mar 2007 20:59:54 +0000 (15:59 -0500)]
Clean up more memory leaks

--HG--
extra : convert_revision : 32d1b23200752fe5fcdcbafb586f50bbe6db3bf3

17 years agoMerge zizzer:/bk/newmem
Ron Dreslinski [Mon, 12 Mar 2007 18:42:49 +0000 (13:42 -0500)]
Merge zizzer:/bk/newmem
into  zazzer.eecs.umich.edu:/z/rdreslin/m5bk/head

--HG--
extra : convert_revision : 8651b2878853c5a6cb15f60ab92cf39d3bc30a07

17 years agoFix some of the memory leaks related to writebacks
Ron Dreslinski [Mon, 12 Mar 2007 18:15:32 +0000 (13:15 -0500)]
Fix some of the memory leaks related to writebacks

src/cpu/memtest/memtest.cc:
    Add the [] to a delete to make it work correctly
src/mem/cache/cache_impl.hh:
    Fix one of the memory leaks

--HG--
extra : convert_revision : 64c7465c68a084efe38a62419205518b24d852a7

17 years agoGet rid of those pesky valgrind warnings, Conditional jump or move depends on uniniti...
Ali Saidi [Mon, 12 Mar 2007 18:13:52 +0000 (14:13 -0400)]
Get rid of those pesky valgrind warnings, Conditional jump or move depends on uninitialised value(s), in the stats package

--HG--
extra : convert_revision : d3a508fc98df4eb8160a211a306be6ab241a4ce8

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Mon, 12 Mar 2007 17:56:30 +0000 (13:56 -0400)]
Merge zizzer:/bk/newmem
into  zeep.pool:/z/saidi/work/m5.newmem

--HG--
extra : convert_revision : c6fbe09348b606b94bbb35f911dea94353f076f9

17 years agomove hver code to ua2005.cc
Ali Saidi [Mon, 12 Mar 2007 17:56:09 +0000 (13:56 -0400)]
move hver code to ua2005.cc

src/arch/sparc/miscregfile.cc:
    this code should be in readFSreg
src/arch/sparc/ua2005.cc:
    move code froh miscregfile to ua2005.cc

--HG--
extra : convert_revision : fa450b04ad73ab6f6e25d66fa0368054263f09f9

17 years agoAdd the rename syscall.
Gabe Black [Mon, 12 Mar 2007 05:54:15 +0000 (01:54 -0400)]
Add the rename syscall.

--HG--
extra : convert_revision : 67e92b166599bd20b7ce90d073f2fd7502f810ec

17 years agoFix the mnemonic and the branch displacement field size of the branch on floating...
Gabe Black [Mon, 12 Mar 2007 05:47:49 +0000 (01:47 -0400)]
Fix the mnemonic and the branch displacement field size of the branch on floating point condition codes with prediction.

--HG--
extra : convert_revision : 812950e92b7e0f34f370a1472c20f52e3ef214b1

17 years agobzip2 is a tru64 regression, not linux
Gabe Black [Sun, 11 Mar 2007 23:08:38 +0000 (19:08 -0400)]
bzip2 is a tru64 regression, not linux

--HG--
rename : tests/long/60.bzip2/ref/alpha/linux/o3-timing/config.ini => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/config.ini
rename : tests/long/60.bzip2/ref/alpha/linux/o3-timing/config.out => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/config.out
rename : tests/long/60.bzip2/ref/alpha/linux/o3-timing/m5stats.txt => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/m5stats.txt
rename : tests/long/60.bzip2/ref/alpha/linux/o3-timing/stderr => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/stderr
rename : tests/long/60.bzip2/ref/alpha/linux/o3-timing/stdout => tests/long/60.bzip2/ref/alpha/tru64/o3-timing/stdout
rename : tests/long/60.bzip2/ref/alpha/linux/simple-atomic/config.ini => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/config.ini
rename : tests/long/60.bzip2/ref/alpha/linux/simple-atomic/config.out => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/config.out
rename : tests/long/60.bzip2/ref/alpha/linux/simple-atomic/m5stats.txt => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/m5stats.txt
rename : tests/long/60.bzip2/ref/alpha/linux/simple-atomic/stderr => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/stderr
rename : tests/long/60.bzip2/ref/alpha/linux/simple-atomic/stdout => tests/long/60.bzip2/ref/alpha/tru64/simple-atomic/stdout
rename : tests/long/60.bzip2/ref/alpha/linux/simple-timing/config.ini => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/config.ini
rename : tests/long/60.bzip2/ref/alpha/linux/simple-timing/config.out => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/config.out
rename : tests/long/60.bzip2/ref/alpha/linux/simple-timing/m5stats.txt => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/m5stats.txt
rename : tests/long/60.bzip2/ref/alpha/linux/simple-timing/stderr => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/stderr
rename : tests/long/60.bzip2/ref/alpha/linux/simple-timing/stdout => tests/long/60.bzip2/ref/alpha/tru64/simple-timing/stdout
extra : convert_revision : c3f5f5b73186cf6e72c1c8418583d3300e04ad8a

17 years agovortex is a tru64 regression and not linux
Gabe Black [Sun, 11 Mar 2007 23:06:46 +0000 (19:06 -0400)]
vortex is a tru64 regression and not linux

--HG--
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/config.ini => tests/long/50.vortex/ref/alpha/tru64/o3-timing/config.ini
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/config.out => tests/long/50.vortex/ref/alpha/tru64/o3-timing/config.out
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/m5stats.txt => tests/long/50.vortex/ref/alpha/tru64/o3-timing/m5stats.txt
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/smred.msg => tests/long/50.vortex/ref/alpha/tru64/o3-timing/smred.msg
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/smred.out => tests/long/50.vortex/ref/alpha/tru64/o3-timing/smred.out
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/stderr => tests/long/50.vortex/ref/alpha/tru64/o3-timing/stderr
rename : tests/long/50.vortex/ref/alpha/linux/o3-timing/stdout => tests/long/50.vortex/ref/alpha/tru64/o3-timing/stdout
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/config.ini => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/config.ini
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/config.out => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/config.out
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/m5stats.txt => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/m5stats.txt
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/smred.msg => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/smred.msg
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/smred.out => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/smred.out
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/stderr => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/stderr
rename : tests/long/50.vortex/ref/alpha/linux/simple-atomic/stdout => tests/long/50.vortex/ref/alpha/tru64/simple-atomic/stdout
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/config.ini => tests/long/50.vortex/ref/alpha/tru64/simple-timing/config.ini
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/config.out => tests/long/50.vortex/ref/alpha/tru64/simple-timing/config.out
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/m5stats.txt => tests/long/50.vortex/ref/alpha/tru64/simple-timing/m5stats.txt
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/smred.msg => tests/long/50.vortex/ref/alpha/tru64/simple-timing/smred.msg
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/smred.out => tests/long/50.vortex/ref/alpha/tru64/simple-timing/smred.out
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/stderr => tests/long/50.vortex/ref/alpha/tru64/simple-timing/stderr
rename : tests/long/50.vortex/ref/alpha/linux/simple-timing/stdout => tests/long/50.vortex/ref/alpha/tru64/simple-timing/stdout
extra : convert_revision : b62b8949628327d0a0ed2971772aa4f848764d54

17 years agoperlbmk is a tru64 regression, not a linux one
Gabe Black [Sun, 11 Mar 2007 23:04:46 +0000 (19:04 -0400)]
perlbmk is a tru64 regression, not a linux one

--HG--
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-atomic/config.ini => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/config.ini
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-atomic/config.out => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/config.out
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-atomic/m5stats.txt => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/m5stats.txt
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-atomic/stderr => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/stderr
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-atomic/stdout => tests/long/40.perlbmk/ref/alpha/tru64/simple-atomic/stdout
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-timing/config.ini => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/config.ini
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-timing/config.out => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/config.out
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-timing/m5stats.txt => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/m5stats.txt
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-timing/stderr => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/stderr
rename : tests/long/40.perlbmk/ref/alpha/linux/simple-timing/stdout => tests/long/40.perlbmk/ref/alpha/tru64/simple-timing/stdout
extra : convert_revision : 8241afcb6e79a7b85e6115bb829f8ef1345b3994

17 years agoeon is a tru64 regression, not a linux one
Gabe Black [Sun, 11 Mar 2007 23:02:06 +0000 (19:02 -0400)]
eon is a tru64 regression, not a linux one

--HG--
rename : tests/long/30.eon/ref/alpha/linux/o3-timing/config.ini => tests/long/30.eon/ref/alpha/tru64/o3-timing/config.ini
rename : tests/long/30.eon/ref/alpha/linux/o3-timing/config.out => tests/long/30.eon/ref/alpha/tru64/o3-timing/config.out
rename : tests/long/30.eon/ref/alpha/linux/o3-timing/m5stats.txt => tests/long/30.eon/ref/alpha/tru64/o3-timing/m5stats.txt
rename : tests/long/30.eon/ref/alpha/linux/o3-timing/stderr => tests/long/30.eon/ref/alpha/tru64/o3-timing/stderr
rename : tests/long/30.eon/ref/alpha/linux/o3-timing/stdout => tests/long/30.eon/ref/alpha/tru64/o3-timing/stdout
rename : tests/long/30.eon/ref/alpha/linux/simple-atomic/config.ini => tests/long/30.eon/ref/alpha/tru64/simple-atomic/config.ini
rename : tests/long/30.eon/ref/alpha/linux/simple-atomic/config.out => tests/long/30.eon/ref/alpha/tru64/simple-atomic/config.out
rename : tests/long/30.eon/ref/alpha/linux/simple-atomic/m5stats.txt => tests/long/30.eon/ref/alpha/tru64/simple-atomic/m5stats.txt
rename : tests/long/30.eon/ref/alpha/linux/simple-atomic/stderr => tests/long/30.eon/ref/alpha/tru64/simple-atomic/stderr
rename : tests/long/30.eon/ref/alpha/linux/simple-atomic/stdout => tests/long/30.eon/ref/alpha/tru64/simple-atomic/stdout
rename : tests/long/30.eon/ref/alpha/linux/simple-timing/config.ini => tests/long/30.eon/ref/alpha/tru64/simple-timing/config.ini
rename : tests/long/30.eon/ref/alpha/linux/simple-timing/config.out => tests/long/30.eon/ref/alpha/tru64/simple-timing/config.out
rename : tests/long/30.eon/ref/alpha/linux/simple-timing/m5stats.txt => tests/long/30.eon/ref/alpha/tru64/simple-timing/m5stats.txt
rename : tests/long/30.eon/ref/alpha/linux/simple-timing/stderr => tests/long/30.eon/ref/alpha/tru64/simple-timing/stderr
rename : tests/long/30.eon/ref/alpha/linux/simple-timing/stdout => tests/long/30.eon/ref/alpha/tru64/simple-timing/stdout
extra : convert_revision : 1d811462a3b90e8041b8f5da1cad9290646dbacc

17 years agoparser is a tru64 regression, not linux.
Gabe Black [Sun, 11 Mar 2007 23:00:00 +0000 (19:00 -0400)]
parser is a tru64 regression, not linux.

--HG--
rename : tests/long/20.parser/ref/alpha/linux/NOTE => tests/long/20.parser/ref/alpha/tru64/NOTE
extra : convert_revision : b91be36a59c6114627707fa4dfb066e75fb92844

17 years agogzip is really a tru64 regression, not linux
Gabe Black [Sun, 11 Mar 2007 22:53:40 +0000 (18:53 -0400)]
gzip is really a tru64 regression, not linux

--HG--
rename : tests/long/00.gzip/ref/alpha/linux/o3-timing/config.ini => tests/long/00.gzip/ref/alpha/tru64/o3-timing/config.ini
rename : tests/long/00.gzip/ref/alpha/linux/o3-timing/config.out => tests/long/00.gzip/ref/alpha/tru64/o3-timing/config.out
rename : tests/long/00.gzip/ref/alpha/linux/o3-timing/m5stats.txt => tests/long/00.gzip/ref/alpha/tru64/o3-timing/m5stats.txt
rename : tests/long/00.gzip/ref/alpha/linux/o3-timing/stderr => tests/long/00.gzip/ref/alpha/tru64/o3-timing/stderr
rename : tests/long/00.gzip/ref/alpha/linux/o3-timing/stdout => tests/long/00.gzip/ref/alpha/tru64/o3-timing/stdout
rename : tests/long/00.gzip/ref/alpha/linux/simple-atomic/config.ini => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/config.ini
rename : tests/long/00.gzip/ref/alpha/linux/simple-atomic/config.out => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/config.out
rename : tests/long/00.gzip/ref/alpha/linux/simple-atomic/m5stats.txt => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/m5stats.txt
rename : tests/long/00.gzip/ref/alpha/linux/simple-atomic/stderr => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/stderr
rename : tests/long/00.gzip/ref/alpha/linux/simple-atomic/stdout => tests/long/00.gzip/ref/alpha/tru64/simple-atomic/stdout
rename : tests/long/00.gzip/ref/alpha/linux/simple-timing/config.ini => tests/long/00.gzip/ref/alpha/tru64/simple-timing/config.ini
rename : tests/long/00.gzip/ref/alpha/linux/simple-timing/config.out => tests/long/00.gzip/ref/alpha/tru64/simple-timing/config.out
rename : tests/long/00.gzip/ref/alpha/linux/simple-timing/m5stats.txt => tests/long/00.gzip/ref/alpha/tru64/simple-timing/m5stats.txt
rename : tests/long/00.gzip/ref/alpha/linux/simple-timing/stderr => tests/long/00.gzip/ref/alpha/tru64/simple-timing/stderr
rename : tests/long/00.gzip/ref/alpha/linux/simple-timing/stdout => tests/long/00.gzip/ref/alpha/tru64/simple-timing/stdout
extra : convert_revision : e38a226137968d0893e325c22489375ce4a691a2

17 years agoThe alpha twolf regression was really for tru64, not linux.
Gabe Black [Sun, 11 Mar 2007 22:44:36 +0000 (18:44 -0400)]
The alpha twolf regression was really for tru64, not linux.

--HG--
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/config.ini => tests/long/70.twolf/ref/alpha/tru64/o3-timing/config.ini
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/config.out => tests/long/70.twolf/ref/alpha/tru64/o3-timing/config.out
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/m5stats.txt => tests/long/70.twolf/ref/alpha/tru64/o3-timing/m5stats.txt
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.out => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.out
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.pin => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.pin
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.pl1 => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.pl1
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.pl2 => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.pl2
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.sav => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.sav
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.sv2 => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.sv2
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/smred.twf => tests/long/70.twolf/ref/alpha/tru64/o3-timing/smred.twf
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/stderr => tests/long/70.twolf/ref/alpha/tru64/o3-timing/stderr
rename : tests/long/70.twolf/ref/alpha/linux/o3-timing/stdout => tests/long/70.twolf/ref/alpha/tru64/o3-timing/stdout
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/config.ini => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/config.ini
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/config.out => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/config.out
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/m5stats.txt => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/m5stats.txt
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.out => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.out
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.pin => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.pin
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.pl1 => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.pl1
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.pl2 => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.pl2
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.sav => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.sav
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.sv2 => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.sv2
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/smred.twf => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/smred.twf
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/stderr => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/stderr
rename : tests/long/70.twolf/ref/alpha/linux/simple-atomic/stdout => tests/long/70.twolf/ref/alpha/tru64/simple-atomic/stdout
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/config.ini => tests/long/70.twolf/ref/alpha/tru64/simple-timing/config.ini
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/config.out => tests/long/70.twolf/ref/alpha/tru64/simple-timing/config.out
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/m5stats.txt => tests/long/70.twolf/ref/alpha/tru64/simple-timing/m5stats.txt
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.out => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.out
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.pin => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.pin
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.pl1 => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.pl1
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.pl2 => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.pl2
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.sav => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.sav
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.sv2 => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.sv2
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/smred.twf => tests/long/70.twolf/ref/alpha/tru64/simple-timing/smred.twf
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/stderr => tests/long/70.twolf/ref/alpha/tru64/simple-timing/stderr
rename : tests/long/70.twolf/ref/alpha/linux/simple-timing/stdout => tests/long/70.twolf/ref/alpha/tru64/simple-timing/stdout
extra : convert_revision : 55f9327662e0902925ca14b3260a86f7d211d445

17 years agoMake the SPEC regressions work for any isa/operating system.
Gabe Black [Sun, 11 Mar 2007 22:21:05 +0000 (18:21 -0400)]
Make the SPEC regressions work for any isa/operating system.

--HG--
extra : convert_revision : b7b0823357f722119559e5703b36ea82ed6f8c0f

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Sun, 11 Mar 2007 22:19:38 +0000 (18:19 -0400)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : 725999a0a5bde6e065bad87b42e973c5c627c69f

17 years agoMake sttw and sttwa use the twin memory operations.
Gabe Black [Sun, 11 Mar 2007 22:12:33 +0000 (18:12 -0400)]
Make sttw and sttwa use the twin memory operations.

--HG--
extra : convert_revision : 368d1c57a46fd5ca15461cb5ee8e05fd1e080daa

17 years agoMerge zower:/home/gblack/m5/newmem-statetrace
Gabe Black [Sun, 11 Mar 2007 20:01:42 +0000 (15:01 -0500)]
Merge zower:/home/gblack/m5/newmem-statetrace
into  zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test

--HG--
extra : convert_revision : 48356df2faf42dc2b715497464f03103ed5ea01b

17 years agoRework the way SCons recurses into subdirectories, making it
Nathan Binkert [Sun, 11 Mar 2007 07:00:54 +0000 (23:00 -0800)]
Rework the way SCons recurses into subdirectories, making it
automatic.  The point is that now a subdirectory can be added
to the build process just by creating a SConscript file in it.
The process has two passes.  On the first pass, all subdirs
of the root of the tree are searched for SConsopts files.
These files contain any command line options that ought to be
added for a particular subdirectory.  On the second pass,
all subdirs of the src directory are searched for SConscript
files.  These files describe how to build any given subdirectory.
I have added a Source() function.  Any file (relative to the
directory in which the SConscript resides) passed to that
function is added to the build.  Clean up everything to take
advantage of Source().
function is added to the list of files to be built.

--HG--
extra : convert_revision : 103f6b490d2eb224436688c89cdc015211c4fd30

17 years agoMerge zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
Gabe Black [Sun, 11 Mar 2007 01:52:55 +0000 (20:52 -0500)]
Merge zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace-test

--HG--
extra : convert_revision : dc02bb6b4e5cc7f0260da80a71b9713f75566a29

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Sun, 11 Mar 2007 00:52:53 +0000 (19:52 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : 6a8749be327bf2be888850060ae0427f0c943439

17 years agoMerge zower:/home/gblack/m5/newmem-statetrace
Gabe Black [Sun, 11 Mar 2007 00:44:00 +0000 (19:44 -0500)]
Merge zower:/home/gblack/m5/newmem-statetrace
into  zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test

--HG--
extra : convert_revision : c6a45d188b729176e196e19e2d75328da0414084

17 years agoFix bounds check for the cwp
Gabe Black [Sun, 11 Mar 2007 00:29:31 +0000 (19:29 -0500)]
Fix bounds check for the cwp

--HG--
extra : convert_revision : 097e6b0c80d71417329b2a4cd118046aa5ed777a

17 years agoAdded implementations of the fpop2 instructions.
Gabe Black [Sun, 11 Mar 2007 00:26:54 +0000 (19:26 -0500)]
Added implementations of the fpop2 instructions.

--HG--
extra : convert_revision : 1fc88b499334bb4ba44375347d0062843587b6cf

17 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
Gabe Black [Sat, 10 Mar 2007 23:00:49 +0000 (18:00 -0500)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into  zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test

--HG--
extra : convert_revision : fcbc63179c7ca54391d42f83366edcc96d09005b

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Sat, 10 Mar 2007 22:46:25 +0000 (17:46 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace-test

--HG--
extra : convert_revision : df36efd84d938e0e402648b85b3732ed786aaa29

17 years agoIf you can't get rid of the files you want to make sure are gone, assume they're...
Gabe Black [Sat, 10 Mar 2007 22:45:53 +0000 (17:45 -0500)]
If you can't get rid of the files you want to make sure are gone, assume they're already gone. Print a warning and move on.

--HG--
extra : convert_revision : 192740b1e1a7a30222c4e79c7e7a5770e682f014

17 years agoMerge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
Gabe Black [Sat, 10 Mar 2007 22:42:53 +0000 (17:42 -0500)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into  zizzer.eecs.umich.edu:/.automount/zower/eecshome/m5/newmem-statetrace-test

--HG--
extra : convert_revision : 50a40bea13892f2293ef037ac13b6c80dd8db5c2

17 years agoCompilation fix
Gabe Black [Sat, 10 Mar 2007 20:21:55 +0000 (15:21 -0500)]
Compilation fix

--HG--
extra : convert_revision : 8bfa5e9408d1ead0197aab5078c248876f90ea7a

17 years agoI thought this code got deleted, but since it hasn't I've moved it to a place where...
Ali Saidi [Sat, 10 Mar 2007 20:00:41 +0000 (15:00 -0500)]
I thought this code got deleted, but since it hasn't I've moved it to a place where it doesn't access freed memory.

--HG--
extra : convert_revision : 4d9023f6193004a3e9cbeebd3721bccb50b2aab0

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Fri, 9 Mar 2007 23:32:13 +0000 (18:32 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : 82a956ffc1bedb2c0d05c4ea3469f843f559a475

17 years agoUse the TheISA namespace in case we're coming from a file that doesn't do that for...
Gabe Black [Fri, 9 Mar 2007 22:14:25 +0000 (22:14 +0000)]
Use the TheISA namespace in case we're coming from a file that doesn't do that for us. This should be contained in the scope of the function and not leak elsewhere.

--HG--
extra : convert_revision : 0bb0e1457011505a99a871c443bc45f4365e9c7e

17 years agoSplit the syscall table, SPARC specific syscall implementations, and the 32 bit sysca...
Gabe Black [Fri, 9 Mar 2007 22:14:24 +0000 (17:14 -0500)]
Split the syscall table, SPARC specific syscall implementations, and the 32 bit syscall table into it's own file. Corrected problems with the stat structure. These should be tested on 64 bit x86 and SPARC machines.

--HG--
extra : convert_revision : 5d9fe19e031b92e111069c6b89c3dbeb29975b8a

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Fri, 9 Mar 2007 21:56:52 +0000 (16:56 -0500)]
Merge zizzer:/bk/newmem
into  zeep.pool:/z/saidi/work/m5.newmem

--HG--
extra : convert_revision : 5804298706ac0f04fbe491326af71ce9ab74425a

17 years agoimplement ipi stufff for SPARC
Ali Saidi [Fri, 9 Mar 2007 21:56:39 +0000 (16:56 -0500)]
implement ipi stufff for SPARC

src/arch/alpha/utility.hh:
src/arch/mips/utility.hh:
src/arch/sparc/utility.hh:
src/arch/x86/utility.hh:
    add hook for system to startup the cpu or not... in the case of FS sparc, only the first cpu would get spunup.. the rest sit in an idle state until they get an ipi
src/arch/sparc/isa/decoder.isa:
    handle writable bits of strandstatus register in miscregfile
src/arch/sparc/miscregfile.hh:
    some constants for the strand status register
src/arch/sparc/ua2005.cc:
    properly implement the strand status register
src/dev/sparc/iob.cc:
    implement ipi generation properly
src/sim/system.cc:
    call into the ISA to start the CPU (or not)

--HG--
extra : convert_revision : 0003b2032337d8a031a9fc044da726dbb2a9e36f

17 years agofix regress... SPARC_FS may not be in the builds so check for it
Ali Saidi [Fri, 9 Mar 2007 21:27:24 +0000 (16:27 -0500)]
fix regress... SPARC_FS may not be in the builds so check for it

--HG--
extra : convert_revision : 16710e4c44bd34496ed31ae8e954544b06e92589

17 years agoTwo fixes:
Kevin Lim [Fri, 9 Mar 2007 15:06:09 +0000 (10:06 -0500)]
Two fixes:
1. Make sure connectMemPorts() only gets called when the CPU's peer gets changed.  This is done by making setPeer() virtual, and overriding it in the CPU's ports.  When it gets called on a CPU's port (dcache specifically), it calls the normal setPeer() function, and also connectMemPorts().
2. Consolidate redundant code that handles switching in a CPU.

src/cpu/base.cc:
    Move common code of switching over peers to base CPU.
src/cpu/base.hh:
    Move common code of switching over peers to BaseCPU.
src/cpu/o3/cpu.cc:
    Add in function that updates thread context's ports.
    Also use updated function to takeOverFrom() in BaseCPU.  This gets rid of some repeated code.
src/cpu/o3/cpu.hh:
    Include function to update thread context's memory ports.
src/cpu/o3/lsq.hh:
    Add function to dcache port that will update the memory ports upon getting a new peer.
    Also include a function that will tell the CPU to update those memory ports.
src/cpu/o3/lsq_impl.hh:
    Add function that will update the memory ports upon getting a new peer.
src/cpu/simple/atomic.cc:
src/cpu/simple/timing.cc:
    Add function that will update thread context's memory ports upon getting a new peer.
    Also use the new BaseCPU's take over from function.
src/cpu/simple/atomic.hh:
    Add in function (and dcache port) that will allow the dcache to update memory ports when it gets assigned a new peer.
src/cpu/simple/timing.hh:
    Add function that will update thread context's memory ports upon getting a new peer.
src/mem/port.hh:
    Make setPeer virtual so that other classes can override it.

--HG--
extra : convert_revision : 2050f1241dd2e83875d281cfc5ad5c6c8705fdaf

17 years agoPanic if any CMT registers are accessed
Ali Saidi [Fri, 9 Mar 2007 02:49:13 +0000 (21:49 -0500)]
Panic if any CMT registers are accessed

src/arch/sparc/asi.cc:
src/arch/sparc/asi.hh:
    add CMT ASI registers
src/arch/sparc/tlb.cc:
    Panic if any of the CMT registers are being accessed

--HG--
extra : convert_revision : b9a94281e2074a576ac21d042b756950d509e758

17 years agostop m5 from leaking like a sieve
Ali Saidi [Thu, 8 Mar 2007 23:57:15 +0000 (18:57 -0500)]
stop m5 from leaking like a sieve
don't create a new physPort/virtPort every time activateContext() is called
add the ability to tell a memory object to delete it's reference to a port and a method to have a port call deletePortRefs()
on the port owner as well as delete it's peer
still need to stop calling connectMemoPorts() every time activateContext() is called or we'll overflow the bus id and panic

src/cpu/thread_state.cc:
    if we hav ea (phys|virt)Port don't create a new on, have it delete it's peer and then reuse it
src/mem/bus.cc:
src/mem/bus.hh:
    add ability to delete a port by usig a hash_map instead of an array to store port ids
    add a function to do deleting
src/mem/cache/cache.hh:
src/mem/cache/cache_impl.hh:
src/mem/mem_object.cc:
src/mem/mem_object.hh:
    adda function to delete port references from a memory object
src/mem/port.cc:
src/mem/port.hh:
    add a removeConn function that tell the owener to delete any references to the port and then deletes its peer

--HG--
extra : convert_revision : 272f0c8f80e1cf1ab1750d8be5a6c9aa110b06a4

17 years agoFixed an off-by-one error.
Gabe Black [Thu, 8 Mar 2007 05:55:16 +0000 (00:55 -0500)]
Fixed an off-by-one error.

--HG--
extra : convert_revision : 498fef18cf339cabc2c00e4758bc8a0da857daca

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Thu, 8 Mar 2007 05:42:30 +0000 (00:42 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : becba8537b11ee4ef33bbf129bef2ca047403df5

17 years agoFix up the SPARC initial stack frame to match an actual 32 bit process.
Gabe Black [Thu, 8 Mar 2007 05:29:37 +0000 (00:29 -0500)]
Fix up the SPARC initial stack frame to match an actual 32 bit process.

--HG--
extra : convert_revision : 3995744c3bf955a370b18f6e88de1bfb82f79843

17 years agoI missed a couple of WithEffects, this should do it
Ali Saidi [Thu, 8 Mar 2007 02:51:44 +0000 (21:51 -0500)]
I missed a couple of WithEffects, this should do it

--HG--
extra : convert_revision : 19fce78a19b27b7ccb5e3653a64b46e6d5292915

17 years agofix compiling of FS after Gabe's last compile
Ali Saidi [Thu, 8 Mar 2007 02:50:09 +0000 (21:50 -0500)]
fix compiling of FS after Gabe's last compile

--HG--
extra : convert_revision : a93fa5ad61aa2b8c18bf6c513b617f3425ffb220

17 years agoMove the magic m5 PageTableFault into sim/faults.[hh,cc] since it's the same across...
Gabe Black [Wed, 7 Mar 2007 20:04:46 +0000 (20:04 +0000)]
Move the magic m5 PageTableFault into sim/faults.[hh,cc] since it's the same across all architectures.

--HG--
extra : convert_revision : 18d441eb7ac44df4df41771bfe3dec69f7fa70ec

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Wed, 7 Mar 2007 20:04:45 +0000 (20:04 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem

--HG--
extra : convert_revision : d764fe37c71269a04fcede6cbf30e24262447e89

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Wed, 7 Mar 2007 20:04:44 +0000 (15:04 -0500)]
Merge zizzer:/bk/newmem
into  zeep.pool:/tmp/newmem

--HG--
extra : convert_revision : f078a05729b5fe464a06a58bc4adcb374f560572

17 years ago*MiscReg->*MiscRegNoEffect, *MiscRegWithEffect->*MiscReg
Ali Saidi [Wed, 7 Mar 2007 20:04:31 +0000 (15:04 -0500)]
*MiscReg->*MiscRegNoEffect, *MiscRegWithEffect->*MiscReg

--HG--
extra : convert_revision : f799b65f1b2a6bf43605e6870b0f39b473dc492b

17 years agoAdd setData functions for the new Twin??_t types.
Gabe Black [Wed, 7 Mar 2007 17:46:06 +0000 (17:46 +0000)]
Add setData functions for the new Twin??_t types.

--HG--
extra : convert_revision : 6f4e08e76eb4a95eb08b11632f6e33ba458723b6

17 years agoAdd some constructors and an output operator to the Twin??_t types so that o3 SPARC...
Gabe Black [Wed, 7 Mar 2007 17:46:05 +0000 (17:46 +0000)]
Add some constructors and an output operator to the Twin??_t types so that o3 SPARC will compile again.

--HG--
extra : convert_revision : af987aaeac87ee92a3b55cf0839d994cf7dea1af

17 years agoMake byteswap work correctly on Twin??_t types.
Gabe Black [Wed, 7 Mar 2007 17:46:04 +0000 (17:46 +0000)]
Make byteswap work correctly on Twin??_t types.

--HG--
extra : convert_revision : a8a14078d62c24e480ffa69591edfc775d1d76cc

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Wed, 7 Mar 2007 17:46:03 +0000 (12:46 -0500)]
Merge zizzer:/bk/newmem
into  udhcp-macvpn-108.public.engin.umich.edu:/Users/ali/work/m5.newmem

--HG--
extra : convert_revision : c6b11f535cca7fd46f1a3cea3b5a966e8fa80347

17 years agoIf we're running the quick tests, remove the SPARC_FS build since we don't have any...
Ali Saidi [Wed, 7 Mar 2007 17:45:21 +0000 (12:45 -0500)]
If we're running the quick tests, remove the SPARC_FS build since we don't have any quick SPARC_FS tests at the moment

--HG--
extra : convert_revision : 4505f1600cae5d049560f3b397541e9a9dea0420

17 years agoCleanup
Nathan Binkert [Wed, 7 Mar 2007 06:16:18 +0000 (22:16 -0800)]
Cleanup

--HG--
extra : convert_revision : 31f1b0f760a6eb861652440f9d42aaf123ef4833

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Tue, 6 Mar 2007 20:58:44 +0000 (20:58 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86

--HG--
extra : convert_revision : 0822fbcc377781b53d2de9ba40ab9d985ccbc039

17 years agoMerge zizzer:/bk/newmem
Ali Saidi [Tue, 6 Mar 2007 20:58:43 +0000 (15:58 -0500)]
Merge zizzer:/bk/newmem
into  zeep.pool:/z/saidi/work/m5.newmem

--HG--
extra : convert_revision : fa1e361fcae10fe7a91118007faeeabe3fecba2a

17 years agoAdd regression for SPARC "hard" instruction test. Only runs in simple-atomic right...
Ali Saidi [Tue, 6 Mar 2007 20:57:28 +0000 (15:57 -0500)]
Add regression for SPARC "hard" instruction test. Only runs in simple-atomic right now since we don't have cache support for
the atomic instructions.

--HG--
extra : convert_revision : b7013e6963885dfe2b4630ac175e24ddad6d42a6

17 years agoPython parameters types need analogous C++ types
Nathan Binkert [Tue, 6 Mar 2007 19:16:15 +0000 (11:16 -0800)]
Python parameters types need analogous C++ types

--HG--
extra : convert_revision : d068dfec69b28d48fc299a4108e165decfaaace7

17 years agoMove all of the parameters of the Root SimObject so they are
Nathan Binkert [Tue, 6 Mar 2007 19:13:43 +0000 (11:13 -0800)]
Move all of the parameters of the Root SimObject so they are
directly configured by python.  Move stuff from root.(cc|hh) to
core.(cc|hh) since it really belogs there now.
In the process, simplify how ticks are used in the python code.

--HG--
extra : convert_revision : cf82ee1ea20f9343924f30bacc2a38d4edee8df3

17 years agoGet X86 to load an elf and start a process for it.
Gabe Black [Tue, 6 Mar 2007 15:42:30 +0000 (15:42 +0000)]
Get X86 to load an elf and start a process for it.

src/arch/x86/SConscript:
    Add in process source files.
src/arch/x86/isa_traits.hh:
    Replace magic constant numbers with the x86 register names.
src/arch/x86/miscregfile.cc:
    Make clear the miscreg file succeed. There aren't any misc regs, so clearing them is very easy.
src/arch/x86/process.hh:
    An X86 process class.
src/base/loader/elf_object.cc:
    Add in code to recognize x86 as an architecture.
src/base/traceflags.py:
    Add an x86 traceflag
src/sim/process.cc:
    Add in code to create an x86 process.
src/arch/x86/intregs.hh:
    A file which declares names for the integer register indices.
src/arch/x86/linux/linux.cc:
src/arch/x86/linux/linux.hh:
    A very simple translation of SPARC's linux.cc and linux.hh. It's probably not correct for x86, but it might not be correct for SPARC either.
src/arch/x86/linux/process.cc:
src/arch/x86/linux/process.hh:
    An x86 linux process. The syscall table is split out into it's own file.
src/arch/x86/linux/syscalls.cc:
    The x86 Linux syscall table and the uname function.
src/arch/x86/process.cc:
    The x86 process base class.
tests/test-progs/hello/bin/x86/linux/hello:
    An x86 hello world test binary.

--HG--
extra : convert_revision : f22919e010c07aeaf5757dca054d9877a537fd08

17 years agoPython atexit handlers are called in reverse order.
Nathan Binkert [Tue, 6 Mar 2007 04:14:00 +0000 (20:14 -0800)]
Python atexit handlers are called in reverse order.
Fix things so the stats dump happens last.

--HG--
extra : convert_revision : ea842dbcbb77dd1c715c4e5b57d2470e558c4265

17 years agoMerge zizzer.eecs.umich.edu:/bk/newmem
Gabe Black [Tue, 6 Mar 2007 01:54:36 +0000 (20:54 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into  zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace

--HG--
extra : convert_revision : 0959fb162253ff1eed8da0a990f58897322f0e1f

17 years agoFixing statetrace to work with 32 bit SPARC processes, as well as rewritting it's...
Gabe Black [Tue, 6 Mar 2007 01:54:20 +0000 (20:54 -0500)]
Fixing statetrace to work with 32 bit SPARC processes, as well as rewritting it's single stepping code.

--HG--
extra : convert_revision : 69b1668a850519ab98b02c525ec41ff727eb6036

17 years agoFill out a stub version of the vtophys header file.
Gabe Black [Mon, 5 Mar 2007 17:59:04 +0000 (17:59 +0000)]
Fill out a stub version of the vtophys header file.

--HG--
extra : convert_revision : 2c10a80a2f73207539e3f98b4a3b864d431f5035

17 years agoAdd in NumGDBRegs so the constructor to the base class can get all it's arguments.
Gabe Black [Mon, 5 Mar 2007 17:58:15 +0000 (17:58 +0000)]
Add in NumGDBRegs so the constructor to the base class can get all it's arguments.

--HG--
extra : convert_revision : fcec1ad134b53a419a952e556ed75cb1559a1127

17 years agoReorganize the floating point register file a little.
Gabe Black [Mon, 5 Mar 2007 17:57:26 +0000 (17:57 +0000)]
Reorganize the floating point register file a little.

--HG--
extra : convert_revision : 643c147b77e931d49ac559681d4bbda737f6e1c7

17 years agoAdd some new source files.
Gabe Black [Mon, 5 Mar 2007 17:56:26 +0000 (17:56 +0000)]
Add some new source files.

--HG--
extra : convert_revision : 94f3f19eb91b7f54918640b7605008eb1fe75fc7

17 years agoStub decoder. This is probably even farther from finished than it looks...
Gabe Black [Mon, 5 Mar 2007 16:16:28 +0000 (16:16 +0000)]
Stub decoder. This is probably even farther from finished than it looks...

--HG--
extra : convert_revision : a39a158fec4560f6eb7a6987592c473677c0b1ba

17 years agoAdd stub for x86 process creation
Gabe Black [Mon, 5 Mar 2007 16:15:13 +0000 (16:15 +0000)]
Add stub for x86 process creation

--HG--
extra : convert_revision : 3bdbc415a73c6bb4d723f68714a96c9f922ba5e6

17 years agoAdd x86 version of call to "decode"
Gabe Black [Mon, 5 Mar 2007 16:13:50 +0000 (16:13 +0000)]
Add x86 version of call to "decode"

--HG--
extra : convert_revision : bb799dcea58b51d6e1d3d744581ea48c5c1490fe

17 years agoAdd x86 to the Arch enum in the object file class.
Gabe Black [Mon, 5 Mar 2007 16:12:20 +0000 (16:12 +0000)]
Add x86 to the Arch enum in the object file class.

--HG--
extra : convert_revision : bc8c5e78aac0e9033d6cbc756d8092369ac29072

17 years agoAdded missing include.
Gabe Black [Mon, 5 Mar 2007 16:11:07 +0000 (16:11 +0000)]
Added missing include.

--HG--
extra : convert_revision : 9d00209e5c0ae8aa5ac37f9558627ee212a72c9b

17 years agoAdded LargestRead type for x86. I might have picked the wrong type.
Gabe Black [Mon, 5 Mar 2007 16:10:11 +0000 (16:10 +0000)]
Added LargestRead type for x86. I might have picked the wrong type.

--HG--
extra : convert_revision : 5570a595b9adbe9c35f9b4f8dd3b50533b5beb97

17 years agoStub implementation for x86.
Gabe Black [Mon, 5 Mar 2007 16:09:09 +0000 (16:09 +0000)]
Stub implementation for x86.

--HG--
extra : convert_revision : 3eccbf699bb62139a06a9b249e56bd205bc316ed

17 years agoStub implementation for x86
Gabe Black [Mon, 5 Mar 2007 16:08:18 +0000 (16:08 +0000)]
Stub implementation for x86

--HG--
extra : convert_revision : dd6b4d14070a2e99c179c5f780c9935847da8eda

17 years agoAdded fault generation functions. I would still like to see these go away. The page...
Gabe Black [Mon, 5 Mar 2007 16:07:01 +0000 (16:07 +0000)]
Added fault generation functions. I would still like to see these go away. The page table fault should be moved into sim/faults.hh because it's a "fake" m5 fault for se mode and shouldn't vary between architectures.

--HG--
extra : convert_revision : cafe25befd64f83a424c1a09f5e62a16df5408ad

17 years agoAdded an x86 dyninst
Gabe Black [Mon, 5 Mar 2007 14:55:45 +0000 (14:55 +0000)]
Added an x86 dyninst

--HG--
extra : convert_revision : 2317e9bb0bcf8010ab5d02019f7a14eeb7b1459c

17 years agoAdded stub implementations or prototypes for all the functions in this file.
Gabe Black [Mon, 5 Mar 2007 14:55:09 +0000 (14:55 +0000)]
Added stub implementations or prototypes for all the functions in this file.

--HG--
extra : convert_revision : c0170eae8aeae130f81618ae49a60f879c2b523f

17 years agoAdded in a missing include.
Gabe Black [Mon, 5 Mar 2007 14:53:51 +0000 (14:53 +0000)]
Added in a missing include.

--HG--
extra : convert_revision : 712480fef36bf7a34c2c0b8d19dd82689eb78a1d