Gabe Black [Sat, 11 Nov 2006 12:23:13 +0000 (07:23 -0500)]
Fix for CAS so that it knows about all the possible code in the constructor.
--HG--
extra : convert_revision :
863d395f8e7c8ee2aec708ffcef842317ec9a89b
Gabe Black [Sat, 11 Nov 2006 12:16:24 +0000 (07:16 -0500)]
The Lock_Flag_DepTag went away earlier, and using TheISA gives the false impression that this code is ISA independent.
--HG--
extra : convert_revision :
67d9e51702efbe5f5244268e3753328a6cf1a1d5
Gabe Black [Sat, 11 Nov 2006 12:15:16 +0000 (07:15 -0500)]
Certain header files should only be used in FS.
src/arch/alpha/faults.hh:
Only use pagetable.hh in FS
src/arch/alpha/pagetable.hh:
pagetable.hh should only be included in FS, so protecting it internally should be unnecessary.
src/cpu/exetrace.cc:
Only use tlb.hh in FS
--HG--
extra : convert_revision :
91ea61f2e7970e7146b6d407ee250fcb20cd4d48
Ali Saidi [Sat, 11 Nov 2006 01:17:54 +0000 (20:17 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
e4f9bb663099662a94c5522e6b4955c2a83bac8d
Ali Saidi [Sat, 11 Nov 2006 01:17:42 +0000 (20:17 -0500)]
fix endian issues with condition codes
use memcpy instead of bcopy
s/u_int32_t/uint32_t/g
fixup endian code to work with solaris
hack to make sure htole() works... Nate, have a good idea to fix this?
src/arch/sparc/faults.cc:
set the reset address to be 40 bits. Makes PC printing easier at least for now.
src/arch/sparc/isa/base.isa:
fix endian issues with condition codes
src/arch/sparc/tlb.hh:
add implemented physical addres constants
src/arch/sparc/utility.hh:
add tlb.hh to utilities
src/base/loader/raw_object.cc:
add a symbol <filename>_start to the symbol table for binaries files
src/base/remote_gdb.cc:
use memcpy instead of bcopy
src/cpu/exetrace.cc:
clean up printing a bit more
src/cpu/m5legion_interface.h:
add tons to the shared interface
src/dev/ethertap.cc:
s/u_int32_t/uint32_t/g
src/dev/ide_atareg.h:
fixup endian code to work with solaris
src/dev/pcidev.cc:
src/sim/param.hh:
hack to make sure htole() works...
--HG--
extra : convert_revision :
4579392184b40bcc1062671a953c6595c685e9b2
Kevin Lim [Fri, 10 Nov 2006 20:35:06 +0000 (15:35 -0500)]
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/o3-merge/newmem
--HG--
extra : convert_revision :
35e2ff6ce62281299ad98dca64ba04a3a8a6757c
Gabe Black [Fri, 10 Nov 2006 20:32:15 +0000 (15:32 -0500)]
Elaborated on the tlb stubs so that they just set the physical address to the virtual address.
--HG--
extra : convert_revision :
41478abc4d21d504420f6842338675c0767f7cf9
Gabe Black [Fri, 10 Nov 2006 20:30:59 +0000 (15:30 -0500)]
Fixed up DepTags a little. I think NumMicroIntRegs shouldn't be added to Ctrl_Base_DepTag.
--HG--
extra : convert_revision :
2ebb3eb781441ba936c8d8bb1f42e4c0840aff2e
Gabe Black [Fri, 10 Nov 2006 20:29:32 +0000 (15:29 -0500)]
Added StrandStsReg operand.
--HG--
extra : convert_revision :
51be41716ed9fe0e99e53f2341ad5651a525055a
Gabe Black [Fri, 10 Nov 2006 20:28:58 +0000 (15:28 -0500)]
Put in provisions for rd, rdpr, rdhpr, wr, wrpr, and wrhpr to disassemble properly.
--HG--
extra : convert_revision :
f2cad8a5879999438ba9b05f15a91320e7a4cc4a
Gabe Black [Fri, 10 Nov 2006 20:27:06 +0000 (15:27 -0500)]
Made the annul of unconditional conditional branches behave properly, added code to read and write the strand_sts_reg, and made restored a Priv instruction.
--HG--
extra : convert_revision :
386512215f7243d230717c369217f8d2f9ada935
Gabe Black [Fri, 10 Nov 2006 20:25:52 +0000 (15:25 -0500)]
Fixed up the code that prints out registers to take into account microregisters.
--HG--
extra : convert_revision :
6809de467e4500ce34447c0544caf0ba04af81e7
Gabe Black [Fri, 10 Nov 2006 20:25:03 +0000 (15:25 -0500)]
Tweaked debug output.
--HG--
extra : convert_revision :
cd33b7c1ebdbefd42f18c1435b2519d06d9914a6
Gabe Black [Fri, 10 Nov 2006 20:24:10 +0000 (15:24 -0500)]
Touched up faults, and made POR actually do something.
--HG--
extra : convert_revision :
38951352edbfc423fb6767a9aac49a703578c0ac
Kevin Lim [Fri, 10 Nov 2006 17:44:15 +0000 (12:44 -0500)]
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/o3-merge/newmem
--HG--
extra : convert_revision :
0c2db1e1b5fdb91c1ac5705ab872a6bfb575a67a
Kevin Lim [Fri, 10 Nov 2006 17:39:43 +0000 (12:39 -0500)]
Also include a function to form the input path.
--HG--
extra : convert_revision :
d2141e3b8c56296fbbe2c4c1ceb80616f269884a
Kevin Lim [Fri, 10 Nov 2006 17:28:23 +0000 (12:28 -0500)]
Try to setup commands properly.
--HG--
extra : convert_revision :
9f4af3c5f52841b10e9f17c48470716703a1be67
Kevin Lim [Fri, 10 Nov 2006 17:25:08 +0000 (12:25 -0500)]
Change up some warnings to DPRINTFs.
--HG--
extra : convert_revision :
b3e9fa094d68f608865dedfc9f3f4125a20fd748
Gabe Black [Fri, 10 Nov 2006 10:49:16 +0000 (05:49 -0500)]
Actually finished moving the register file stuff around.
--HG--
extra : convert_revision :
786735ecea8ff480db6b3754ac5daa562938d988
Gabe Black [Fri, 10 Nov 2006 10:29:05 +0000 (05:29 -0500)]
Moved the Alpha float regfile into it's own regfile and got rid of constants.hh and isa_traits.cc
--HG--
extra : convert_revision :
55afd7d21c276906520da375b3bbb563be420880
Gabe Black [Fri, 10 Nov 2006 09:54:25 +0000 (04:54 -0500)]
Split out alpha integer register file into it's own files.
--HG--
extra : convert_revision :
164bdcec2860c5dca3f0f11d189781b88dd717cb
Gabe Black [Fri, 10 Nov 2006 09:33:41 +0000 (04:33 -0500)]
The reset function of the MiscRegFile really resets it now. This function is called from the class's constructor.
--HG--
extra : convert_revision :
4e7a40ffe0a9a71fd1b2b171d9c0dcac50e1a1fe
Gabe Black [Fri, 10 Nov 2006 09:14:25 +0000 (04:14 -0500)]
Set the ASI register to be something explicitly so that simulation is deterministic.
--HG--
extra : convert_revision :
38cd06f946fc0cc22288f71f567e77ce8fdfea99
Gabe Black [Fri, 10 Nov 2006 09:11:46 +0000 (04:11 -0500)]
Change exetrace code for working with my trace tool to use stream io rather than sprintf which was breaking on 64 bit hosts.
--HG--
extra : convert_revision :
184d751392dfcc8c80ac1a6c0ebc3061ff0a3f20
Gabe Black [Fri, 10 Nov 2006 09:02:39 +0000 (04:02 -0500)]
Fix up instructions to read and write control registers, and got rid of the control register fields which won't work on a big endian host.
--HG--
extra : convert_revision :
1b518873b6e1a073b58cbe27642537d5ae3a604d
Gabe Black [Fri, 10 Nov 2006 02:30:48 +0000 (21:30 -0500)]
Moved the Alpha MiscRegFile into it's own file, and got rid of the Alpha specific DepTag constants.
--HG--
extra : convert_revision :
e4af5e2fb2a6953f8837ad9bda309b7d6fa7abfb
Gabe Black [Fri, 10 Nov 2006 00:24:35 +0000 (19:24 -0500)]
Fix a couple uninitialized variables.
--HG--
extra : convert_revision :
d17d28a9520524e5f56bd79beb9b2be6ce76a22f
Ali Saidi [Thu, 9 Nov 2006 23:22:46 +0000 (18:22 -0500)]
Get SPARC to the point that it starts running. Add ability to load the ROM bin files, cleanup lockstep printing a bit
Since we don't have a platform yet, you need to comment out the default responder stuff in Bus.py to make it work.
SConstruct:
Add TARGET_ISA to the list of environment variables that end up in the build_env for python
configs/common/FSConfig.py:
add a simple SPARC system to being testing with, you'll need to change makeLinuxAlphaSystem to makeSparcSystem in fs.py for now
src/SConscript:
add a raw file object, at least until we get more info about how to compile openboot properly
src/arch/sparc/system.cc:
src/arch/sparc/system.hh:
add parameters for ROM files (OBP/Reset/Hypervisor), a ROM, load files into ROM
src/base/loader/object_file.cc:
src/base/loader/object_file.hh:
add option to try raw when nothing works
src/cpu/exetrace.cc:
cleanup lockstep printing a little bit
src/cpu/m5legion_interface.h:
change the instruction to be 32 bits because it is
src/mem/physical.cc:
fix assert that doesn't work if memory starts somewhere above 0
src/python/m5/objects/BaseCPU.py:
Add if statement to choose between sparc tlbs and alpha tlbs
src/python/m5/objects/System.py:
Add a sparc system that sets the rom addresses correctly
src/python/m5/params.py:
add the ability to add Addr() together
--HG--
extra : convert_revision :
bbbd8a56134f2dda2728091f740e2f7119b0c4af
Nathan Binkert [Thu, 9 Nov 2006 16:43:35 +0000 (08:43 -0800)]
Factor out all of the encumbered stuff into separate SConscript
files so the directories can easily be deleted.
Remove the FullCPU from the ALL_CPU_LIST and only add it if
it exists.
--HG--
extra : convert_revision :
b16f56bb92a0063803c5099732dc289fe4363768
Gabe Black [Wed, 8 Nov 2006 21:52:44 +0000 (16:52 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem/
into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops
--HG--
extra : convert_revision :
0ab912df014cf1511e960e4058bee3eea047f9f6
Lisa Hsu [Wed, 8 Nov 2006 21:49:59 +0000 (16:49 -0500)]
the tests assume -1 to signify MaxTick, that's changed, so fix that here.
--HG--
extra : convert_revision :
73ff143ba3b733f80ab867fcd72489cd1ee49d76
Gabe Black [Wed, 8 Nov 2006 21:18:10 +0000 (16:18 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem/
into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops
--HG--
extra : convert_revision :
dc165840841bdd88e40111b98d1be493441703f0
Gabe Black [Wed, 8 Nov 2006 21:15:20 +0000 (16:15 -0500)]
Put the MIPS stacktrace into the MipsISA namespace to fit with Alpha and SPARC.
--HG--
extra : convert_revision :
86f5585fe9ceb2ee30836d35384ebcddc1357c2a
Gabe Black [Wed, 8 Nov 2006 20:31:52 +0000 (15:31 -0500)]
Make a function to say how big gdbregs is in bytes vs. regs.
--HG--
extra : convert_revision :
10c50c2d45a8e510d71cccde520059363116da8a
Lisa Hsu [Wed, 8 Nov 2006 20:07:31 +0000 (15:07 -0500)]
Merge zizzer:/bk/newmem
into zed.eecs.umich.edu:/z/hsul/work/m5/newmem
--HG--
extra : convert_revision :
5f4b39beba9f672ba1741cb45f4c3cf853ce574b
Ali Saidi [Wed, 8 Nov 2006 20:06:17 +0000 (15:06 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
643e28482e6739bd264a9c2d69c17279853aa0c5
Ali Saidi [Wed, 8 Nov 2006 20:05:54 +0000 (15:05 -0500)]
DWARF2 symbol support seems to be broken on Solaris. Use stabs+
align the character arrays that are used by placement-new for classes lest we have an unaligned fault on SPARC/Solaris
src/SConscript:
DWARF2 symbol support seems to be broken on Solaris. Use stabs+
src/base/statistics.hh:
align the character arrays that are used by placement-new for classes lest we have an unaligned fault on SPARC/Solaris
--HG--
extra : convert_revision :
bc875a4fdfb4553062d3278537bc32a5ab9b6cca
Lisa Hsu [Wed, 8 Nov 2006 20:05:23 +0000 (15:05 -0500)]
simplify maxtick parsing in both the python and the c++.
configs/common/Simulation.py:
simplify maxtick code a little bit - instead of checking for -1, just set it at MaxTick.
src/python/m5/__init__.py:
make a new m5 param called MaxTick.
src/sim/host.hh:
fix the M5 def. of MaxTick
src/sim/main.cc:
Simplify the MaxTick/num_cycles parsing within main.cc
--HG--
extra : convert_revision :
f800addfbc1323591c2e05b892276b439b671668
Lisa Hsu [Wed, 8 Nov 2006 19:10:25 +0000 (14:10 -0500)]
make rcS files read from the m5 source directory, not /dist.
--HG--
extra : convert_revision :
45a2dbf5b05b19dd60fbc3a5b10e9355c8351e3b
Lisa Hsu [Wed, 8 Nov 2006 19:01:23 +0000 (14:01 -0500)]
change to os.path.join like nate wanted.
--HG--
extra : convert_revision :
6e8a0153adf04f0cc07904434e4cb6a83fe900eb
Gabe Black [Wed, 8 Nov 2006 18:58:00 +0000 (13:58 -0500)]
First cut at full blown SPARC faults. There are a few details that are missing.
--HG--
extra : convert_revision :
8023db1479cb9bf99fc9edfeb521c4e5b581f895
Gabe Black [Wed, 8 Nov 2006 18:55:48 +0000 (13:55 -0500)]
Move the check to see if you're in user mode into the isa directory.
--HG--
extra : convert_revision :
b5b7cdf4a5e5e54228c592093516bf18d0f7dbe6
Kevin Lim [Wed, 8 Nov 2006 18:04:36 +0000 (13:04 -0500)]
Remove mem parameter. Should have been removed earlier.
src/python/m5/objects/BaseCPU.py:
These parameters should have been removed in an earlier push.
--HG--
extra : convert_revision :
781b39ca370361e9568b1af0be96ff5848b1f3f4
Kevin Lim [Wed, 8 Nov 2006 16:41:10 +0000 (11:41 -0500)]
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix
--HG--
extra : convert_revision :
29426cebe81ac077c1a83f50e914ff6955ce81d4
Kevin Lim [Wed, 8 Nov 2006 16:40:59 +0000 (11:40 -0500)]
Update refs.
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:
Update config.
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/stderr:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/stderr:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/stderr:
tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/stderr:
Update ref.
--HG--
extra : convert_revision :
ca4fe7ff5bf9fcd112b703b88a5196a312c594ab
Gabe Black [Wed, 8 Nov 2006 15:27:38 +0000 (10:27 -0500)]
Sorted faults by the trap type constant, expanded their names, added in new faults for ua2005, and commented out ones which are apparently dropped.
--HG--
extra : convert_revision :
32bd0c3a75d7c036ad4a3cb0bc1c32e0b6cb3d87
Gabe Black [Wed, 8 Nov 2006 13:25:37 +0000 (08:25 -0500)]
Fix for slightly mangled merge.
--HG--
extra : convert_revision :
1dea04ca222dd423c3d462114bc1c65afa52825d
Gabe Black [Wed, 8 Nov 2006 13:19:52 +0000 (08:19 -0500)]
Merge zeep.eecs.umich.edu:/home/gblack/m5/newmem
into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops
src/arch/sparc/faults.hh:
Hand merged.
--HG--
extra : convert_revision :
1bcefe47fa98e878a0dfbcfa5869b5b171927911
Gabe Black [Wed, 8 Nov 2006 13:12:19 +0000 (08:12 -0500)]
Major clean up of the fault code.
--HG--
extra : convert_revision :
eb7e016a127417cbb0e1e2c733b17f82469c2f24
Gabe Black [Wed, 8 Nov 2006 09:18:15 +0000 (04:18 -0500)]
The new global level is computed with min, not max.
--HG--
extra : convert_revision :
6339c82d3655694445c3eb43e467b9aa6b4c8224
Gabe Black [Wed, 8 Nov 2006 07:13:47 +0000 (02:13 -0500)]
Changed the getReg and setReg functions so that they work like netbsd. Apparently, gdb expects to do single stepping on its own, so those functions panic for SPARC. acc still needs to be implemented.
--HG--
extra : convert_revision :
c6e98e37b8ab3d6f8d6b3cd2c961faa65b08a179
Gabe Black [Wed, 8 Nov 2006 05:52:04 +0000 (00:52 -0500)]
Put the ProcessInfo and StackTrace objects into the ISA namespaces.
--HG--
extra : convert_revision :
1626703583f02a1c9823874290462c1b6bdb6c3c
Gabe Black [Wed, 8 Nov 2006 05:32:40 +0000 (00:32 -0500)]
Stubs for SPARC's tlbs
--HG--
extra : convert_revision :
ba08da78693cc6f59f7358134f121f471910dbf6
Gabe Black [Wed, 8 Nov 2006 05:32:04 +0000 (00:32 -0500)]
Replaced getArg with a SPARC implementation.
--HG--
extra : convert_revision :
ba31171a81b6c46de2997de2701d35fcf8c614b7
Gabe Black [Wed, 8 Nov 2006 04:40:54 +0000 (23:40 -0500)]
Force remote gdb code to use signal numbers and not ISA specific trap numbers.
--HG--
extra : convert_revision :
4f45a4b48e3993ac6991db2afffbce2e666eab6c
Gabe Black [Wed, 8 Nov 2006 04:33:59 +0000 (23:33 -0500)]
Fixed to account for branch delay slots.
--HG--
extra : convert_revision :
36a91ad4ed56c61b6754548034a13c02cf580fc6
Gabe Black [Wed, 8 Nov 2006 03:34:34 +0000 (22:34 -0500)]
Put kernel_stats back into arch.
--HG--
rename : src/kern/alpha/idle_event.cc => src/arch/alpha/idle_event.cc
rename : src/kern/alpha/idle_event.hh => src/arch/alpha/idle_event.hh
rename : src/kern/alpha/kernel_stats.cc => src/arch/alpha/kernel_stats.cc
rename : src/kern/alpha/kernel_stats.hh => src/arch/alpha/kernel_stats.hh
rename : src/kern/sparc/kernel_stats.hh => src/arch/sparc/kernel_stats.hh
rename : src/kern/base_kernel_stats.cc => src/kern/kernel_stats.cc
rename : src/kern/base_kernel_stats.hh => src/kern/kernel_stats.hh
extra : convert_revision :
42bd3e36b407edbd19b912c9218f4e5923a15966
Gabe Black [Wed, 8 Nov 2006 01:35:43 +0000 (20:35 -0500)]
Merge 141.212.106.238:/home/gblack/m5/newmemmemops
into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmemmemops
--HG--
extra : convert_revision :
2d498496b5df97f94479ea01cc8306c24dac3dbb
Gabe Black [Wed, 8 Nov 2006 01:35:42 +0000 (20:35 -0500)]
A cleaner hack.
--HG--
extra : convert_revision :
8992af33f2779a8d9dc357e648ba39005d0c971a
Gabe Black [Wed, 8 Nov 2006 01:26:45 +0000 (20:26 -0500)]
Only include kern/kernel_stats.hh if in full system. This was breaking MIPS_SE
--HG--
extra : convert_revision :
b3f956af92cb98b4945aebc8aece1dffcabdf15c
Ali Saidi [Tue, 7 Nov 2006 20:51:37 +0000 (15:51 -0500)]
add code to operate in lockstep with legion
src/python/m5/main.py:
add option to operate in lockstep with legion
--HG--
extra : convert_revision :
2cc90ec0cf7e8d028ee813c2034a77415671a628
Kevin Lim [Tue, 7 Nov 2006 20:45:03 +0000 (15:45 -0500)]
Fix error message.
--HG--
extra : convert_revision :
7ac0f40595c89b0d9352e82e447d25380b038408
Kevin Lim [Tue, 7 Nov 2006 19:25:54 +0000 (14:25 -0500)]
Fix up bus draining and add draining to the caches.
src/mem/bus.cc:
Fix up draining to work properly.
src/mem/bus.hh:
Initialize drainEvent to NULL.
src/mem/cache/base_cache.cc:
src/mem/cache/base_cache.hh:
Add draining to the caches.
--HG--
extra : convert_revision :
3082220a75d50876f10909f9f99bec535889f818
Kevin Lim [Tue, 7 Nov 2006 19:24:31 +0000 (14:24 -0500)]
Remove hack by setting configuration better.
src/dev/isa_fake.cc:
src/dev/isa_fake.hh:
No need for specialized init() function any more.
src/python/m5/objects/Tsunami.py:
Override responder when set by user. This avoids having bus.responder floating around and not doing anything when the user has specified their own default responder.
--HG--
extra : convert_revision :
c547daf15b23a889c98e62bfd53c293c85d7a041
Kevin Lim [Tue, 7 Nov 2006 18:53:49 +0000 (13:53 -0500)]
Fix compile error.
--HG--
extra : convert_revision :
a4c4195bc07383149a56907f26d327a4bfa77c26
Kevin Lim [Tue, 7 Nov 2006 18:53:06 +0000 (13:53 -0500)]
Initialize mem dep unit properly.
src/cpu/o3/mem_dep_unit_impl.hh:
Initialize mem dep unit properly, add debug output.
--HG--
extra : convert_revision :
3c56dedfa57de1edc4b1c8f8d9bc94e18002eff2
Gabe Black [Tue, 7 Nov 2006 10:47:10 +0000 (05:47 -0500)]
Definition of stub kernel_stats object. This just uses the base object.
--HG--
extra : convert_revision :
349b6743b82eef4fe46b04f10b5adfa8adfb6a0e
Gabe Black [Tue, 7 Nov 2006 10:46:15 +0000 (05:46 -0500)]
Alpha derived classes for kernel_stats.
--HG--
extra : convert_revision :
93b2c6f6687b21c84b97a7665cd9fc04c59ba9d6
Gabe Black [Tue, 7 Nov 2006 10:45:12 +0000 (05:45 -0500)]
SConscripts for the architecture specific directories in kern.
--HG--
extra : convert_revision :
d1ca26c7933a006946372978deeae840595688c7
Gabe Black [Tue, 7 Nov 2006 10:44:22 +0000 (05:44 -0500)]
A dummy implementation of stacktrace.cc to clear up linker errors.
--HG--
extra : convert_revision :
ea1e54a529ad7ae4a6564dd6fb47c31fb0573adf
Gabe Black [Tue, 7 Nov 2006 10:43:33 +0000 (05:43 -0500)]
Arguments class for SPARC. This is basically just a copy of Alpha's
--HG--
extra : convert_revision :
9df68973c63d5ff256d6de485e8d918c454c8ff1
Gabe Black [Tue, 7 Nov 2006 10:42:52 +0000 (05:42 -0500)]
Removed unnecessary arch/alpha/ev5.hh include
--HG--
extra : convert_revision :
e8277cc279be839c1754b5da96f9153da06d3ec1
Gabe Black [Tue, 7 Nov 2006 10:42:15 +0000 (05:42 -0500)]
Added sim/host.hh for the Addr type.
--HG--
extra : convert_revision :
cd07a920417b7fb34e5ca3bf70d707327eb59eb3
Gabe Black [Tue, 7 Nov 2006 10:41:51 +0000 (05:41 -0500)]
Got rid of a stray blank line.
--HG--
extra : convert_revision :
7b58f75e5efc3c9ead2434f87605cbabcb23d90a
Gabe Black [Tue, 7 Nov 2006 10:41:23 +0000 (05:41 -0500)]
Added a stub implementation of fixFuncEventAddr to get past linker errors.
--HG--
extra : convert_revision :
24ab1789496c5fae6c0992db2d521ea02354ee90
Gabe Black [Tue, 7 Nov 2006 10:40:48 +0000 (05:40 -0500)]
The normal spill and fill faults only need to behave specially in SE.
--HG--
extra : convert_revision :
4d4b866699e3450b88418822fc198411ee3d831a
Gabe Black [Tue, 7 Nov 2006 10:40:06 +0000 (05:40 -0500)]
Added in alot of missing source files.
--HG--
extra : convert_revision :
335b458d195a00dac3d04e92fe9df915e660538f
Gabe Black [Tue, 7 Nov 2006 10:39:40 +0000 (05:39 -0500)]
Broke remote_gdb into a base class and architecture specific derived classes.
--HG--
extra : convert_revision :
8c528fab56a95b8245ad0f2572d62bb556ce0dde
Gabe Black [Tue, 7 Nov 2006 10:38:33 +0000 (05:38 -0500)]
Moved the idle event out of system_events.hh. The skipFuncEvent can be made ISA independent by making it use the #define for branch delay slots (and NNPC)
--HG--
extra : convert_revision :
b2631b1163397ecc99f2f315e2b88537e2002731
Gabe Black [Tue, 7 Nov 2006 10:36:54 +0000 (05:36 -0500)]
Moved the switched version of kernel_stats.hh back to kern, and moved the base kernel_stats to base_kernel_stats
--HG--
extra : convert_revision :
2a010d2eb7ea2586ff063b99b8bcde6eb1e8e017
Gabe Black [Tue, 7 Nov 2006 10:34:14 +0000 (05:34 -0500)]
Missed this file in my last changeset.
--HG--
extra : convert_revision :
94affbcfb5e5fd948010b10d481627a4dd500267
Gabe Black [Tue, 7 Nov 2006 10:33:21 +0000 (05:33 -0500)]
Made kern a switching header file directory.
SConstruct:
Put the code to make a switching header directory into a function so they are easy to make.
src/arch/SConscript:
Replace switching header code with the new function call.
src/kern/SConscript:
Created a new switching header directory in kern, and moved the declaration of some source files here.
--HG--
rename : src/kern/kernel_stats.cc => src/kern/base_kernel_stats.cc
rename : src/kern/kernel_stats.hh => src/kern/base_kernel_stats.hh
extra : convert_revision :
98f5320a5ade567c3e4f67fef123dfb0c5122545
Gabe Black [Tue, 7 Nov 2006 01:49:48 +0000 (20:49 -0500)]
Cleaned up remnants of ivlb and ivle
--HG--
extra : convert_revision :
93b37dbcd3d9dd1eced0f829223f52b53fe58643
Gabe Black [Tue, 7 Nov 2006 01:07:44 +0000 (20:07 -0500)]
Got rid of the ivlb and ivle kernel stats.
--HG--
extra : convert_revision :
d85627bb3eafe6411355995a92ba8b151be8320d
Gabe Black [Tue, 7 Nov 2006 00:56:57 +0000 (19:56 -0500)]
Get rid of pcifake.cc and tsunami_fake.cc to go with the merged default devices.
--HG--
extra : convert_revision :
e88aaaa43843c1283f29cef0886e057412705899
Gabe Black [Tue, 7 Nov 2006 00:55:42 +0000 (19:55 -0500)]
Only bother with the device SConscript if you're in FULL_SYSTEM
--HG--
extra : convert_revision :
ac52f548afb98dd0437e7d7c2600ff9b8ebfd1fa
Gabe Black [Tue, 7 Nov 2006 00:52:32 +0000 (19:52 -0500)]
Merge zizzer.eecs.umich.edu:/bk/newmem/
into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops
src/SConscript:
SCCS merged
--HG--
extra : convert_revision :
f130c8a2d33f58d857e5d5a02bb9698c1bceb23b
Gabe Black [Tue, 7 Nov 2006 00:45:00 +0000 (19:45 -0500)]
Moved the tsunami devices into the dev/alpha directory. Other devices "generic" devices are dependent on some of those files. That will either need to change, or most likely those devices will have to be considered architecture dependent.
--HG--
rename : src/dev/tsunami.cc => src/dev/alpha/tsunami.cc
rename : src/dev/tsunami.hh => src/dev/alpha/tsunami.hh
rename : src/dev/tsunami_cchip.cc => src/dev/alpha/tsunami_cchip.cc
rename : src/dev/tsunami_cchip.hh => src/dev/alpha/tsunami_cchip.hh
rename : src/dev/tsunami_io.cc => src/dev/alpha/tsunami_io.cc
rename : src/dev/tsunami_io.hh => src/dev/alpha/tsunami_io.hh
rename : src/dev/tsunami_pchip.cc => src/dev/alpha/tsunami_pchip.cc
rename : src/dev/tsunami_pchip.hh => src/dev/alpha/tsunami_pchip.hh
rename : src/dev/tsunamireg.h => src/dev/alpha/tsunamireg.h
extra : convert_revision :
ffbb6fd93341d2623a6932bf096019b8976da694
Gabe Black [Tue, 7 Nov 2006 00:10:13 +0000 (19:10 -0500)]
Got rid of stray alpha include
--HG--
extra : convert_revision :
eddd64dd9291d6656821fe6387aeab2f9ddbaf58
Gabe Black [Tue, 7 Nov 2006 00:09:23 +0000 (19:09 -0500)]
Got rid of obsolete ivlb and ivle psuedo instructions.
--HG--
extra : convert_revision :
c3c2dd5a6e7181ad94194146d7fa2b33b21074fb
Gabe Black [Mon, 6 Nov 2006 23:30:28 +0000 (18:30 -0500)]
Stub for SPARC interrupt handling object.
--HG--
extra : convert_revision :
7257e3387c01e84e5a1018a9cdcc09a79edfa934
Gabe Black [Mon, 6 Nov 2006 23:29:58 +0000 (18:29 -0500)]
Remote GDB support has been changed to use inheritance. Alpha should work, but isn't tested. Other architectures will not.
--HG--
extra : convert_revision :
fc7e1e73e2f3b1a4ab9905a1eb98c5f07c6c8707
Gabe Black [Mon, 6 Nov 2006 23:28:10 +0000 (18:28 -0500)]
Took the Alpha prefix off of AlphaArguments, and made sure it was being used from TheISA:: rather than AlphaISA::
--HG--
extra : convert_revision :
17c143d3cbc2f58a7a9d01366a8f649810ff7f33
Gabe Black [Mon, 6 Nov 2006 23:26:11 +0000 (18:26 -0500)]
Created seperate SConscript for the dev directory. Made subdirectories for Alpha and SPARC and put SConscripts in them.
--HG--
rename : src/base/kgdb.h => src/arch/alpha/kgdb.h
rename : src/dev/alpha_access.h => src/dev/alpha/access.h
rename : src/dev/alpha_console.cc => src/dev/alpha/console.cc
rename : src/dev/alpha_console.hh => src/dev/alpha/console.hh
extra : convert_revision :
a7dd466308cb83edc40528689aacb72413089cdf
Ali Saidi [Mon, 6 Nov 2006 21:24:25 +0000 (16:24 -0500)]
delete pcifake, tsunamifake. Combine BadAddr/IsaFake into one
src/SConscript:
remove pcifake and tsunami fake from sconscript
src/dev/isa_fake.cc:
src/dev/isa_fake.hh:
combine badaddr and isa fake into one
src/python/m5/objects/Pci.py:
remove pcifake
src/python/m5/objects/Tsunami.py:
make badaddr derive from isafake
--HG--
extra : convert_revision :
91470db60aa1de6b85827304e27bd3414cc9d8d1
Ali Saidi [Mon, 6 Nov 2006 19:14:49 +0000 (14:14 -0500)]
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision :
f77e5cf8cc5b99960d28e1cc109d140f1013cfca
Ali Saidi [Mon, 6 Nov 2006 19:14:18 +0000 (14:14 -0500)]
small fixes for solaris
--HG--
extra : convert_revision :
3546b2cecf7e7e8e62295abc1ed08b3b6d2b0a8b
Kevin Lim [Mon, 6 Nov 2006 18:27:57 +0000 (13:27 -0500)]
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem
--HG--
extra : convert_revision :
d6bb87586cf7ee63ca32e36944c3755fae0b55d0
Kevin Lim [Mon, 6 Nov 2006 18:27:45 +0000 (13:27 -0500)]
Clean up clock phase drift code a bit.
src/cpu/base.cc:
Move clock phase drift code to the base CPU so that any CPU model can use it.
src/cpu/base.hh:
Added two functions to help get the next cycle the CPU should be scheduled.
src/cpu/simple/atomic.cc:
src/cpu/simple/timing.cc:
Use the function now in BaseCPU.
--HG--
extra : convert_revision :
444494b66ffc85fc473c23f57683c5f9458ad80c
Ali Saidi [Mon, 6 Nov 2006 15:15:27 +0000 (10:15 -0500)]
replace NULL with 0.... Why isn't NULL defined by default on Mac OS X I don't know
--HG--
extra : convert_revision :
b60403445bd4e855732fd4e6753068abd90ecc9d