Gabe Black [Mon, 5 Mar 2007 16:15:13 +0000 (16:15 +0000)]
Add stub for x86 process creation
--HG--
extra : convert_revision :
3bdbc415a73c6bb4d723f68714a96c9f922ba5e6
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
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
Gabe Black [Mon, 5 Mar 2007 16:11:07 +0000 (16:11 +0000)]
Added missing include.
--HG--
extra : convert_revision :
9d00209e5c0ae8aa5ac37f9558627ee212a72c9b
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
Gabe Black [Mon, 5 Mar 2007 16:09:09 +0000 (16:09 +0000)]
Stub implementation for x86.
--HG--
extra : convert_revision :
3eccbf699bb62139a06a9b249e56bd205bc316ed
Gabe Black [Mon, 5 Mar 2007 16:08:18 +0000 (16:08 +0000)]
Stub implementation for x86
--HG--
extra : convert_revision :
dd6b4d14070a2e99c179c5f780c9935847da8eda
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
Gabe Black [Mon, 5 Mar 2007 14:55:45 +0000 (14:55 +0000)]
Added an x86 dyninst
--HG--
extra : convert_revision :
2317e9bb0bcf8010ab5d02019f7a14eeb7b1459c
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
Gabe Black [Mon, 5 Mar 2007 14:53:51 +0000 (14:53 +0000)]
Added in a missing include.
--HG--
extra : convert_revision :
712480fef36bf7a34c2c0b8d19dd82689eb78a1d
Gabe Black [Mon, 5 Mar 2007 14:53:15 +0000 (14:53 +0000)]
Filled in a stub header file for setting the result of a syscall.
--HG--
extra : convert_revision :
f0a2cdf7d669834b90444fc390b0aceede474737
Gabe Black [Mon, 5 Mar 2007 14:52:28 +0000 (14:52 +0000)]
Filled in a stub header file for a stacktrace object. I'm still not sure what this is for, and it probably doesn't work on anything but Alpha.
--HG--
extra : convert_revision :
9bc3833628d31799a7b578c450dac096a19aead3
Gabe Black [Mon, 5 Mar 2007 14:51:21 +0000 (14:51 +0000)]
Filled in a stub header file for remote gdb
--HG--
extra : convert_revision :
6289181697142f672548a4d4cf6e010171cb98e1
Gabe Black [Mon, 5 Mar 2007 14:50:33 +0000 (14:50 +0000)]
Correct a typo
--HG--
extra : convert_revision :
1e8ef87ddb28873045a08bd104afc8ce129c4299
Gabe Black [Mon, 5 Mar 2007 14:49:52 +0000 (14:49 +0000)]
Make the constructor (and all the other functions) public
--HG--
extra : convert_revision :
9d572651fc1722b15ae7dbc59c108d680c911f04
Gabe Black [Mon, 5 Mar 2007 14:49:07 +0000 (14:49 +0000)]
Various touch ups
--HG--
extra : convert_revision :
19ff30d969a46adbd256f674582a9e7d398b56ed
Gabe Black [Mon, 5 Mar 2007 14:48:18 +0000 (14:48 +0000)]
Added a missing include.
--HG--
extra : convert_revision :
15a1b49ff9e0a1a15bd2500bec9ec9bc95ee5898
Gabe Black [Mon, 5 Mar 2007 14:47:42 +0000 (14:47 +0000)]
Added a missing include.
--HG--
extra : convert_revision :
62583e5a5647913fb36e1aae265e8ac52a165829
Gabe Black [Mon, 5 Mar 2007 14:46:49 +0000 (14:46 +0000)]
Fix up the remote gdb include gaurds so it doesn't use the same symbol as Alpha does.
--HG--
extra : convert_revision :
b75dbdd95ceb4ec71275588a5cf8e6b614cf4539
Gabe Black [Mon, 5 Mar 2007 12:23:14 +0000 (12:23 +0000)]
x86 register file includes.
--HG--
extra : convert_revision :
c00a077dd7ae8f6b48c6939034be244bcf48d715
Gabe Black [Mon, 5 Mar 2007 12:21:20 +0000 (12:21 +0000)]
Include the x86 specific traits file.
--HG--
extra : convert_revision :
bcf448aedd832022527cc972f7a1f0433987c564
Gabe Black [Mon, 5 Mar 2007 12:20:34 +0000 (12:20 +0000)]
Stub x86 Fault class which just panics.
--HG--
extra : convert_revision :
abfcf4005ec636b1e6c085515b63c1d8e69e3370
Gabe Black [Mon, 5 Mar 2007 12:19:54 +0000 (12:19 +0000)]
A new file for x86 specific parameters. This could be implemented as a sim object?
--HG--
extra : convert_revision :
51757435bb0b20132f3ec5782db31382bb2cca18
Gabe Black [Mon, 5 Mar 2007 12:19:11 +0000 (12:19 +0000)]
Add in a declaration of class Checkpoint rather than expecting it to come from some other include.
--HG--
extra : convert_revision :
adbd4899508e3d30959a504a48402f01d1187099
Gabe Black [Mon, 5 Mar 2007 11:00:44 +0000 (11:00 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
--HG--
extra : convert_revision :
b585cea2221377eb2fceea8976c46a17c0034f51
Nathan Binkert [Mon, 5 Mar 2007 03:26:49 +0000 (19:26 -0800)]
Don't use the exact same name as a system header #define
--HG--
extra : convert_revision :
099e380395fc1fdaef993b019d3d4e596e8076c2
Ali Saidi [Sun, 4 Mar 2007 03:45:26 +0000 (22:45 -0500)]
add a sparc fs regression
src/dev/sparc/iob.cc:
don't warn on cpu restart/idle/halt stuff
tests/SConscript:
add sparc target in test Sconscript
util/regress:
Add SPARC_FS target in regress
--HG--
extra : convert_revision :
37fa21700ec4c350d87ca9723bc3359feb81c50a
Ali Saidi [Sun, 4 Mar 2007 00:03:22 +0000 (19:03 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
fd6464c9883783c7c2cbefba317f4a0f20dd24cb
Ali Saidi [Sun, 4 Mar 2007 00:02:31 +0000 (19:02 -0500)]
Add Iob and remove the fake device
configs/common/FSConfig.py:
add an attachOnChipIO to force people to think about where "onchip" i/o should be connected in their hierarchy
--HG--
extra : convert_revision :
cf79a9a00760b7daf28063f407a04bd38b956843
Ali Saidi [Sat, 3 Mar 2007 22:22:47 +0000 (17:22 -0500)]
Implement Niagara I/O interface and rework interrupts
configs/common/FSConfig.py:
Use binaries we've compiled instead of the ones that come with Legion
src/arch/alpha/interrupts.hh:
get rid of post(int int_type) and add a get_vec function that gets the interrupt vector for an interrupt number
src/arch/sparc/asi.cc:
Add AsiIsInterrupt() to AsiIsMmu()
src/arch/sparc/faults.cc:
src/arch/sparc/faults.hh:
Add InterruptVector type
src/arch/sparc/interrupts.hh:
rework interrupts. They are no longer cleared when created... A I/O or ASI read/write needs to happen before they are cleared
src/arch/sparc/isa_traits.hh:
Add the "interrupt" trap types to isa traits
src/arch/sparc/miscregfile.cc:
add names for all the misc registers and possible post an interrupt when TL is changed.
src/arch/sparc/miscregfile.hh:
Add a helper function to post an interrupt when pil < some set softint
src/arch/sparc/regfile.cc:
src/arch/sparc/regfile.hh:
InterruptLevel shouldn't really live here, moved to interrupt.hh
src/arch/sparc/tlb.cc:
Add interrupt ASIs to TLB
src/arch/sparc/ua2005.cc:
Add checkSoftInt to check if a softint needs to be posted
Check that a tickCompare isn't scheduled before scheduling one
Post and clear interrupts on queue writes and what not
src/base/bitfield.hh:
Add an helper function to return the msb that is set
src/cpu/base.cc:
src/cpu/base.hh:
get rid of post_interrupt(type) since it's no longer needed.. Add a way to see what interrupts are pending
src/cpu/intr_control.cc:
src/cpu/intr_control.hh:
src/dev/alpha/tsunami_cchip.cc:
src/python/m5/objects/IntrControl.py:
Make IntrControl have a system pointer rather than using a cpu pointer to get one
src/dev/sparc/SConscript:
add iob to SConsscrip
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/config.ini:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/config.out:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/config.ini:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/config.out:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/config.ini:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/config.out:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/config.ini:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/config.out:
tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/config.ini:
tests/quick/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/config.out:
update config.ini/out for intrcntrl not having a cpu pointer anymore
--HG--
extra : convert_revision :
38614f6b9ffc8f3c93949a94ff04b7d2987168dd
Nathan Binkert [Sat, 3 Mar 2007 17:26:14 +0000 (12:26 -0500)]
include signal.h
--HG--
extra : convert_revision :
9b5ad2704dfd63a1aa8ad0e4275fd0e3a7d32d6d
Gabe Black [Sat, 3 Mar 2007 17:19:52 +0000 (17:19 +0000)]
Filled in with basic x86 stuff. Some things are missing, wrong, or nonsensical for x86.
--HG--
extra : convert_revision :
2f7845db6d65b353985b474f7012cfbbaece6a39
Gabe Black [Sat, 3 Mar 2007 17:18:29 +0000 (17:18 +0000)]
Filled in with basic x86 information. Some things are missing, wrong, or non-sensical in x86.
--HG--
extra : convert_revision :
bba78db3667e214c95bb127872d3fdf546619703
Gabe Black [Sat, 3 Mar 2007 16:01:48 +0000 (16:01 +0000)]
Add build hooks for x86.
--HG--
extra : convert_revision :
438eb74f14e6ea60bab5012110f3946c9213786e
Nathan Binkert [Sat, 3 Mar 2007 15:47:00 +0000 (07:47 -0800)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into iceaxe.int.chaotic.net:/Users/nate/work/m5/outgoing
--HG--
extra : convert_revision :
b3d48721ead389fa807c0d5392039d4fc71a252e
Nathan Binkert [Sat, 3 Mar 2007 15:45:55 +0000 (07:45 -0800)]
Do the default argument stuff in python
--HG--
extra : convert_revision :
235f85e611a669401c6ddfbdf14244e80eb55888
Gabe Black [Sat, 3 Mar 2007 06:24:01 +0000 (06:24 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
--HG--
extra : convert_revision :
bbd0def502e423e64e2c4f6415a4b043b60c7f90
Nathan Binkert [Sat, 3 Mar 2007 06:24:00 +0000 (22:24 -0800)]
Factor code out of main.cc and main.i into a bunch of files
so things are organized in a more sensible manner. Take apart
finalInit and expose the individual functions which are now
called from python. Make checkpointing a bit easier to use.
--HG--
extra : convert_revision :
f470ddabbb47103e7b4734ef753c40089f2dcd9d
Gabe Black [Sat, 3 Mar 2007 03:34:55 +0000 (03:34 +0000)]
Implement the _llseek syscall. It's Linux only, so we'll actually use the lseek syscall.
--HG--
extra : convert_revision :
cccfd5efddbba527c6fb4e07ad2ab235a2670918
Gabe Black [Sat, 3 Mar 2007 03:34:54 +0000 (03:34 +0000)]
Fix some issues with 32 bit processes.
--HG--
extra : convert_revision :
b01b38bbf185f2279134db4976a9bdb3e381a670
Gabe Black [Sat, 3 Mar 2007 03:34:53 +0000 (03:34 +0000)]
Keep around which input set was used for a benchmark, and make vortex work with SPARC.
--HG--
extra : convert_revision :
c891435a31e81fb8294484aedf340c0c96c8afa2
Gabe Black [Sat, 3 Mar 2007 03:34:52 +0000 (03:34 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
--HG--
extra : convert_revision :
dcb1fc0c6252fb96a956640c6d7995679da725e5
Ali Saidi [Sat, 3 Mar 2007 03:34:51 +0000 (22:34 -0500)]
make ldtw(a) -- Twin 32 bit load work correctly -- by doing it the same way as the twin 64 bit loads
src/arch/isa_parser.py:
src/arch/sparc/isa/decoder.isa:
src/arch/sparc/isa/operands.isa:
src/base/bigint.hh:
src/cpu/simple/atomic.cc:
src/cpu/simple/timing.cc:
src/mem/packet_access.hh:
make ldtw(a) Twin 32 bit load work correctly
--HG--
extra : convert_revision :
2646b269d58cc1774e896065875a56cf5e313b42
Gabe Black [Fri, 2 Mar 2007 14:43:27 +0000 (14:43 +0000)]
Forgot to commit this new file last earlier.
--HG--
extra : convert_revision :
f2d80ae551b7e29426141d5c9fe355b43a0b9c7d
Gabe Black [Wed, 28 Feb 2007 16:49:17 +0000 (16:49 +0000)]
Make the m5 psuedo instructions use the BasicOperate format
--HG--
extra : convert_revision :
f02da702ab9b99da124fac7e10a07386b04f3a0f
Gabe Black [Wed, 28 Feb 2007 16:39:42 +0000 (16:39 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
--HG--
extra : convert_revision :
88d1401f6e6b7c82344abef2c81b3c22bf6a0499
Gabe Black [Wed, 28 Feb 2007 16:36:38 +0000 (16:36 +0000)]
Make trap instructions always generate TrapInstruction Fault objects which call into the Process object to handle system calls. Refactored the Process objects, and move the handler code into it's own file, and add some syscalls which are used in a natively compiled hello world. Software traps with trap number 3 (not syscall number 3) are supposed to cause the register windows to be flushed but are ignored right now. Finally, made uname for SPARC report a 2.6.12 kernel which is what m22-018.pool happens to be running.
--HG--
extra : convert_revision :
ea873f01c62234c0542f310cc143c6a7c76ade94
Gabe Black [Wed, 28 Feb 2007 16:29:25 +0000 (16:29 +0000)]
The "hostname" variable isn't used in the process classes. It should be removed from the other ones as well.
--HG--
extra : convert_revision :
0c07534de42d6c32ac26d9e43709111e3ab30d57
Gabe Black [Tue, 27 Feb 2007 10:37:48 +0000 (10:37 +0000)]
Fix issue with twolf where the presence or absence of two files, smred.sav or smred.sv2, would affect the outcome of the program. These names are based on the input file names which are in turn based on the input set selected. There may be more files like this generated for larger input sets, for example "mdred.sv3"
--HG--
extra : convert_revision :
f4f1d3fd0fb28468b0ee507aaadf3c14aa9cf924
Gabe Black [Mon, 26 Feb 2007 10:34:45 +0000 (10:34 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
--HG--
extra : convert_revision :
7e8c3572ede7d93910fc3e2a2e76d9a38b1f4243
Ali Saidi [Sun, 25 Feb 2007 03:10:06 +0000 (22:10 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
a4f80ce975a23ba9858e6bf2dbbfed8897dd1810
Ali Saidi [Sun, 25 Feb 2007 03:05:01 +0000 (22:05 -0500)]
make m5 readfile work on solaris... we can have a solaris regression soon!
src/arch/sparc/isa/decoder.isa:
add readfile and break to sparc decoder
src/arch/sparc/isa/operands.isa:
fix O0-O5 operands registers
util/m5/Makefile.sparc:
Make sparc makefile compile a 64bit binary
util/m5/m5.c:
readfile was in here twice, once will be sufficient I think
util/m5/m5op_sparc.S:
implement readfile and debugbreak
--HG--
extra : convert_revision :
139b3f480ee6342b37b5642e072c8486d91a3944
Gabe Black [Fri, 23 Feb 2007 12:54:07 +0000 (12:54 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
--HG--
extra : convert_revision :
e0eb0240848698496bd55093a313eb2e0f512ebc
Gabe Black [Fri, 23 Feb 2007 01:05:34 +0000 (01:05 +0000)]
Ali and I both made the same change and we only need it once. I liked mine a little better.
--HG--
extra : convert_revision :
3a1b7856e6143ca089fd6e36492608377dfede19
Gabe Black [Fri, 23 Feb 2007 01:05:33 +0000 (01:05 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
--HG--
extra : convert_revision :
a7697ea8457a03318e3fcf34775bf3ecc4786e8a
Ali Saidi [Fri, 23 Feb 2007 01:05:32 +0000 (20:05 -0500)]
Merge zizzer:/bk/newmem
into pb15.local:/Users/ali/work/m5.newmem
--HG--
extra : convert_revision :
887b278dac6db5ea17ade641de84d0ab8b05db96
Gabe Black [Thu, 22 Feb 2007 13:18:23 +0000 (13:18 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-sparc32
--HG--
extra : convert_revision :
70dcd9d1d669c1c619411389487b7910861550e3
Gabe Black [Thu, 22 Feb 2007 13:17:51 +0000 (13:17 +0000)]
Make the m5 pseudo instructions only work in FS. Also, make sure any undefined opcodes in impdep2 (which in SE is all of them) trap with an illegal_instruction exception.
--HG--
extra : convert_revision :
dd7848d0685e4cc6f5fd5e3b846a3f70b62ee30a
Nathan Binkert [Thu, 22 Feb 2007 06:25:48 +0000 (22:25 -0800)]
Make it easier to turn off the remote debugger
--HG--
extra : convert_revision :
d88784736df5f9b498770fb7e98f52715669c0e1
Ali Saidi [Thu, 22 Feb 2007 06:15:16 +0000 (01:15 -0500)]
Merge zizzer:/bk/newmem
into pb15.local:/Users/ali/work/m5.newmem
--HG--
extra : convert_revision :
e0057583132ce545eb1867b446484e8984b97282
Nathan Binkert [Thu, 22 Feb 2007 06:14:11 +0000 (22:14 -0800)]
Get rid of the ConsoleListener SimObject and just fold the
relevant code directly into the SimConsole object. Now,
you can easily turn off the listen port by just specifying
0 as the port.
--HG--
extra : convert_revision :
c8937fa45b429d8a0728e6c720a599e38972aaf0
Ali Saidi [Thu, 22 Feb 2007 06:11:04 +0000 (01:11 -0500)]
fix se compiling oops
--HG--
extra : convert_revision :
ce7ac94da0ed6bad457a8a9e4c949b0c3b09c2ae
Nathan Binkert [Thu, 22 Feb 2007 04:45:05 +0000 (20:45 -0800)]
Make sure that all variables in the NSGigE device model are
initialized.
--HG--
extra : convert_revision :
b4b156ed8e3c0c4c4f8043ff86dc232ebad38668
Nathan Binkert [Thu, 22 Feb 2007 04:35:30 +0000 (20:35 -0800)]
Make comments refer to ticks not cycles
--HG--
extra : convert_revision :
4970a76890a3256073423a827dd0c55cfcb19a08
Ali Saidi [Thu, 22 Feb 2007 02:06:29 +0000 (21:06 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
4105ebbeca59206bece27f229ee810d594fb4310
Ali Saidi [Thu, 22 Feb 2007 02:06:17 +0000 (21:06 -0500)]
add pseduo instruction support for sparc
util/m5/Makefile.alpha:
Clean up to make it a bit easier to muck with
util/m5/Makefile.alpha:
Make the makefile more reasonable
util/m5/Makefile.alpha:
Remove authors from copyright.
util/m5/Makefile.alpha:
Updated Authors from bk prs info
util/m5/Makefile.alpha:
bk cp Makefile Makefile.alpha
src/arch/sparc/tlb.cc:
Clean up the cache code a little bit and make sure the uncacbale bit is set when appropriate
src/arch/alpha/isa/decoder.isa:
src/sim/pseudo_inst.cc:
src/sim/pseudo_inst.hh:
Rename AlphaPseudo -> PseudoInst since it's all generic
src/arch/sparc/isa/bitfields.isa:
src/arch/sparc/isa/decoder.isa:
src/arch/sparc/isa/includes.isa:
src/arch/sparc/isa/operands.isa:
Add support for pseudo instructions in sparc
util/m5/Makefile.alpha:
util/m5/Makefile.sparc:
split off alpha make file and sparc make file for m5 app
util/m5/m5.c:
ivle and ivlb aren't used anymore
util/m5/m5op.h:
stdint seems like a more generic better fit here
util/m5/m5op_alpha.S:
move the op ids into their own header file since we can share them between sparc and alpha
--HG--
rename : util/m5/Makefile => util/m5/Makefile.sparc
rename : util/m5/m5op.S => util/m5/m5op_alpha.S
extra : convert_revision :
490ba2e8b8bc6e28bfc009cedec6b686b28e7834
Nathan Binkert [Thu, 22 Feb 2007 00:42:16 +0000 (16:42 -0800)]
Fix compile issues on gcc 4.1.x related to namespaces.
This basically involves moving the builder code outside of any
namespace. While we're at it, move a few braces outside of
a couple #if/#else/#endif blocks so it's easier to match up
the braces.
--HG--
extra : convert_revision :
a7834532aadc63b0e0ff988dd5745049e02e6312
Nathan Binkert [Wed, 21 Feb 2007 22:08:13 +0000 (14:08 -0800)]
Fix tracing so it starts right away if --trace-start is not
specified.
--HG--
extra : convert_revision :
49c1ea0b8c313949124aed84b1055db0b3c55bd8
Gabe Black [Wed, 21 Feb 2007 18:30:52 +0000 (18:30 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
--HG--
extra : convert_revision :
bab45577db1967de1dd88ec9b228f106a4ab7479
Nathan Binkert [Wed, 21 Feb 2007 18:30:51 +0000 (10:30 -0800)]
Automatically generate m5/internal/__init__.py and swig/init.cc
based on the swig modules that we have
--HG--
extra : convert_revision :
2fd12db39d46608a62b9df36c2b36189f1d2bc30
Nathan Binkert [Wed, 21 Feb 2007 18:15:17 +0000 (10:15 -0800)]
Fix majory brokenness in my previous MySQL commit, basically
this is just a shuffling around of code and fixes to make
stuff commit properly
--HG--
extra : convert_revision :
a057f7fe4962cfc6200781ff66d2c26bf9c6eb8c
Nathan Binkert [Wed, 21 Feb 2007 18:13:10 +0000 (10:13 -0800)]
#include needed for compile
--HG--
extra : convert_revision :
fda9ab0d04f77f27810018a8639d6ea8abb59326
Gabe Black [Wed, 21 Feb 2007 00:38:11 +0000 (00:38 +0000)]
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem
tests/long/30.eon/ref/alpha/linux/simple-timing/m5stats.txt:
"Hand merge" that just used the local file.
--HG--
extra : convert_revision :
24c7fa192094958be5a9d17c3461f3328079fd3b
Gabe Black [Wed, 21 Feb 2007 00:25:50 +0000 (00:25 +0000)]
Update 50.vortex simple-timing for 8k blk_size
--HG--
extra : convert_revision :
73f8c4f8f6da901021ea38e5ac053d905454a3ff
Gabe Black [Wed, 21 Feb 2007 00:24:45 +0000 (00:24 +0000)]
Update 50.vortex simple-atomic for 8k blk_size
--HG--
extra : convert_revision :
82a131bf16b856dadf62a678ce74350079433692
Gabe Black [Wed, 21 Feb 2007 00:23:52 +0000 (00:23 +0000)]
Update 40.perlbmk simple-timing for 8k blk_size
--HG--
extra : convert_revision :
461751061dc5db076f11e9c3b37da25cc47c583e
Gabe Black [Wed, 21 Feb 2007 00:23:02 +0000 (00:23 +0000)]
Update 40.perlbmk simple-atomic for 8k blk_size
--HG--
extra : convert_revision :
135274a64ead4962faa4f34b2df4e9de453cbe7f
Gabe Black [Wed, 21 Feb 2007 00:21:43 +0000 (00:21 +0000)]
Update 30.eon simple-timing for 8k blk_size. It's strange this is necessary because simple-atomic doesn't seem affected.
--HG--
extra : convert_revision :
6a8c77f0ca76eb06ac7eb5216af6adba3759c4c7
Ali Saidi [Mon, 19 Feb 2007 00:57:58 +0000 (19:57 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
10d4dc08411c7a433a7194e94f69ca1d639a1ce7
Ali Saidi [Mon, 19 Feb 2007 00:57:46 +0000 (19:57 -0500)]
implement vtophys and 32bit gdb support
src/arch/alpha/vtophys.cc:
src/arch/alpha/vtophys.hh:
src/arch/sparc/arguments.hh:
move Copy* to vport since it's generic for all the ISAs
src/arch/sparc/isa_traits.hh:
the Solaris kernel sets up a virtual-> real mapping for all memory starting at SegKPMBase
src/arch/sparc/pagetable.hh:
add a class for getting bits out of the TteTag
src/arch/sparc/remote_gdb.cc:
add 32bit support kinda.... If its 32 bit
src/arch/sparc/remote_gdb.hh:
Add 32bit register offsets too.
src/arch/sparc/tlb.cc:
cleanup generation of tsb pointers
src/arch/sparc/tlb.hh:
add function to return tsb pointers for an address
make lookup public so vtophys can use it
src/arch/sparc/vtophys.cc:
src/arch/sparc/vtophys.hh:
write vtophys for sparc
src/base/bitfield.hh:
return a mask of bits first->last
src/mem/vport.cc:
src/mem/vport.hh:
move Copy* here since it's ISA generic
--HG--
extra : convert_revision :
c42c331e396c0d51a2789029d8e232fe66995d0f
Nathan Binkert [Sun, 18 Feb 2007 17:31:25 +0000 (09:31 -0800)]
Get rid of the stand alone ParamContext since all of the
relevant stuff has now been moved to python.
--HG--
extra : convert_revision :
608e5ffd0e2b33949a2b183117216f136cfa4484
Nathan Binkert [Sun, 18 Feb 2007 17:08:32 +0000 (09:08 -0800)]
Get rid of the Serialize and IntervalStats Param contexts
since they're no longer used
--HG--
extra : convert_revision :
e39590aa03cc4c961d2eb5dab57862811f431e4d
Nathan Binkert [Sun, 18 Feb 2007 16:50:21 +0000 (08:50 -0800)]
The trace_mem function is really part of the encumbered
FullCPU
--HG--
extra : convert_revision :
d7fc876333fc3474bc3827f710aa472e2ad847f4
Nathan Binkert [Sun, 18 Feb 2007 06:52:32 +0000 (22:52 -0800)]
Get rid of the Statistics and Statreset ParamContexts, and
expose all of the relevant functionality to python. Clean
up the mysql code while we're at it.
--HG--
extra : convert_revision :
5b711202a5a452b8875ebefb136a156b65c24279
Nathan Binkert [Sun, 18 Feb 2007 06:36:39 +0000 (22:36 -0800)]
Check that there is a param context list before trying
to loop through it. This is more important as we get rid
of param contexts
--HG--
extra : convert_revision :
5a24048b5c3d609285da83dfcb106910afad6919
Nathan Binkert [Sun, 18 Feb 2007 06:11:21 +0000 (22:11 -0800)]
Remove the event_ignore stuff since it was never really used
--HG--
extra : convert_revision :
ef5f3492e8232d08af7e1eae64ba96c79ca14b6f
Nathan Binkert [Sun, 18 Feb 2007 06:07:50 +0000 (22:07 -0800)]
Give the progress event its own priority
--HG--
extra : convert_revision :
6357ade64deb42fae68b2766545b1c4cdc673fc9
Nathan Binkert [Sun, 18 Feb 2007 04:32:39 +0000 (20:32 -0800)]
Default to tracing being disabled in C++, it will be turned
on in python. Fix the trace start code so it actually starts
when it is suppsed to. Make the Exec tracing stuff obey the
trace enabled flag.
--HG--
extra : convert_revision :
634ba0b4f52345d4bf40d43e239cef7ef43e7691
Nathan Binkert [Sun, 18 Feb 2007 04:27:11 +0000 (20:27 -0800)]
Pass an exception from a python event through the event queue
back into python so we don't just silently ignore those errors
--HG--
extra : convert_revision :
e2f5566a4681f1b8ea80af50071119118afa7d8a
Gabe Black [Sun, 18 Feb 2007 01:35:00 +0000 (20:35 -0500)]
Update for 8k block size.
--HG--
extra : convert_revision :
6249d3697c74a0f9f9b2f03857b75785b02bfc8b
Gabe Black [Sat, 17 Feb 2007 09:38:13 +0000 (04:38 -0500)]
Update reference outputs because twolf was really fixed.
--HG--
extra : convert_revision :
613eeaf5b3ba5d504e1208f907312a22fe02c0c7
Ali Saidi [Thu, 15 Feb 2007 20:24:19 +0000 (15:24 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
f9fd4df544144a691bb5956e3f84036a61822547
Ali Saidi [Thu, 15 Feb 2007 20:24:08 +0000 (15:24 -0500)]
fixup remote gdb support for sparc fs
--HG--
extra : convert_revision :
5edf0ad492fe438d66bcf0ae469ef841cd71e157
Gabe Black [Wed, 14 Feb 2007 20:45:29 +0000 (15:45 -0500)]
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmem
--HG--
extra : convert_revision :
4878ca509f9982c065933a41ffc87808edb08b00
Gabe Black [Wed, 14 Feb 2007 18:05:20 +0000 (13:05 -0500)]
Reference outputs fixed to reflect branch mispredict change and 8k io buffers.
--HG--
extra : convert_revision :
24b0da355b6422cae4e4f7b664128c4612c55b2a
Gabe Black [Wed, 14 Feb 2007 17:58:28 +0000 (12:58 -0500)]
Force the st_blksize field of a stat call to be 8k.
--HG--
extra : convert_revision :
6cd2dc622ca95cc1ea89bd5e5cbf33d9510c351c
Ali Saidi [Tue, 13 Feb 2007 20:58:06 +0000 (15:58 -0500)]
Make mulitple consoles work and be distinguishable from each other
src/dev/alpha/tsunamireg.h:
get rid of things that aren't really tsunami registers
src/dev/platform.hh:
src/dev/uart.cc:
the uart pointer isn't used anymore
src/dev/simconsole.cc:
make the simconsole print something more useful to distinguish between various consoles in a single system
src/dev/uart8250.hh:
put the needed uart defines in here rather than including them from tsunamireg
src/python/m5/objects/T1000.py:
add a console to the T1000 config for the hypervisor
--HG--
extra : convert_revision :
76ca92122e611eaf76b989bc699582eef8297be8
Nathan Binkert [Tue, 13 Feb 2007 17:51:11 +0000 (09:51 -0800)]
Get rid of the MemoryTrace context since it is unused
--HG--
extra : convert_revision :
2b2ff5549e83473491b39272590b9af68e9d5fae
Nathan Binkert [Tue, 13 Feb 2007 17:39:35 +0000 (09:39 -0800)]
get rid of the ExeTrace.py file since we no longer use it
--HG--
extra : convert_revision :
1a20ef41684564e12555e2ff353f19b8a6275406