Commit Graph

  • a962fc4f56 Make CPU models signal to update the snoop ranges Ron Dreslinski 2006-11-13 18:51:16 -05:00
  • 69623a892e main.i: swig still thought the default arg for simulate() was -1, make it MaxTick Lisa Hsu 2006-11-13 16:18:47 -05:00
  • 023fccff0e Update splash2 config files Ron Dreslinski 2006-11-13 16:09:47 -05:00
  • afed455e77 Expose debugBreakCycle through swig and get rid of the Debug param context Nathan Binkert 2006-11-13 12:20:08 -08:00
  • 2370e638ce Clean up comment Nathan Binkert 2006-11-13 12:18:36 -08:00
  • ef5b842247 Parse CC/CXX early so that we use the correct compiler for testing dependencies/versions/libraries/etc Ali Saidi 2006-11-13 13:26:36 -05:00
  • fd213f7270 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-11-13 02:49:13 -05:00
  • 41a9196f60 More interrupt reworking. Kevin Lim 2006-11-13 02:49:03 -05:00
  • 51d8c59ef8 Merge zizzer.eecs.umich.edu:/bk/newmem into vm1.(none):/home/stever/bk/newmem-head Steve Reinhardt 2006-11-12 22:04:00 -08:00
  • 0f633c5fee Make setRegWithEffect do something in SE mode. Steve Reinhardt 2006-11-12 22:03:42 -08:00
  • 4c21fab575 Change warn to DPRINTF. Kevin Lim 2006-11-13 00:26:38 -05:00
  • b0db4e4dcf Update output refs. Some FS statistics will change (namely the ITB) due to the recent TLB changes. Now PAL mode accesses are counted as hits in the TLB. Kevin Lim 2006-11-13 00:24:22 -05:00
  • 9e53eed88a Fix typo. Kevin Lim 2006-11-12 23:31:29 -05:00
  • 8a0cbbe27b Fix for regression failure. Kevin Lim 2006-11-12 23:30:09 -05:00
  • 14cb2264c8 Merge zizzer.eecs.umich.edu:/bk/newmem/ into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops Gabe Black 2006-11-12 22:36:22 -05:00
  • 3052632b68 Merge ktlim@zamp:./local/clean/tmp/test-regress into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-11-12 21:57:58 -05:00
  • 437436a2f7 Fix for non-FS compile. Kevin Lim 2006-11-12 21:49:51 -05:00
  • d2d4431752 Create a module called internal where swigged stuff goes. Rename cc_main to internal.main Nathan Binkert 2006-11-12 18:49:16 -08:00
  • 12e26c68c3 Updates to support new interrupt processing and removal of PcPAL. Kevin Lim 2006-11-12 20:15:30 -05:00
  • 6098f57b08 Update for maxtick in splash2/memtest configs Ron Dreslinski 2006-11-12 11:42:07 -05:00
  • fa41791a57 Update refs for functional access fixes Ron Dreslinski 2006-11-12 11:07:34 -05:00
  • 1d5d9c83b4 Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/newmemcleanest Ron Dreslinski 2006-11-12 10:41:18 -05:00
  • 5edfaefc78 Physical memory overrides the tport version of recvFunctional, need to do the check here for responses that match as well Ron Dreslinski 2006-11-12 09:30:12 -05:00
  • a200bccc20 Handle packets being deleted by lower level properly. Fixes for Mem Leak associated with Writebacks. Ron Dreslinski 2006-11-12 09:06:15 -05:00
  • 29cefcbf13 Don't insert reponses into the list more than once If you get inserted in the front, reschedule the event Ron Dreslinski 2006-11-12 07:16:34 -05:00
  • 11accacf7c Move code before a early return to make sure it is executed on all paths Ron Dreslinski 2006-11-12 06:44:05 -05:00
  • b22d390721 Yet another small bug in mem system related to flow control Ron Dreslinski 2006-11-12 06:36:33 -05:00
  • c577665040 Fix functional access errors related to delayed respnoses in cachePort Ron Dreslinski 2006-11-12 06:35:39 -05:00
  • 8354cfc715 Fix Typo Nathan Binkert 2006-11-11 23:57:20 -08:00
  • 3f280bb2e8 set TRACING_ON one way or another explicitly in the SConscript file instead of basing it on DEBUG Nathan Binkert 2006-11-11 20:46:56 -08:00
  • aec0afd59f Delete the actual PseudoInst file Nathan Binkert 2006-11-11 17:30:37 -08:00
  • b16e559177 Get rid of the ParamContext for pseudo instructions and move the parameters to the BaseCPU object. Nathan Binkert 2006-11-11 17:22:10 -08:00
  • fd35f02efe Fix for CAS so that it knows about all the possible code in the constructor. Gabe Black 2006-11-11 07:23:13 -05:00
  • cc77304676 The Lock_Flag_DepTag went away earlier, and using TheISA gives the false impression that this code is ISA independent. Gabe Black 2006-11-11 07:16:24 -05:00
  • 239a89e713 Certain header files should only be used in FS. Gabe Black 2006-11-11 07:15:16 -05:00
  • f876bc2bf0 More fixes for functional accesses. It now makes the writeback memory leak to crash all configs. Working on that now. Ron Dreslinski 2006-11-10 22:45:50 -05:00
  • 9a6e896d3b Big fix for functional access, where we forgot to copy the last byte on write intersections. Ron Dreslinski 2006-11-10 22:41:21 -05:00
  • 77254e513d Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem Ali Saidi 2006-11-10 20:17:54 -05:00
  • aa19b2e7bc 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? Ali Saidi 2006-11-10 20:17:42 -05:00
  • e89eaf8b80 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/o3-merge/newmem Kevin Lim 2006-11-10 15:35:06 -05:00
  • 6d54a77518 Elaborated on the tlb stubs so that they just set the physical address to the virtual address. Gabe Black 2006-11-10 15:32:15 -05:00
  • e3d8831857 Fixed up DepTags a little. I think NumMicroIntRegs shouldn't be added to Ctrl_Base_DepTag. Gabe Black 2006-11-10 15:30:59 -05:00
  • d30e3b30af Added StrandStsReg operand. Gabe Black 2006-11-10 15:29:32 -05:00
  • 13a8752c11 Put in provisions for rd, rdpr, rdhpr, wr, wrpr, and wrhpr to disassemble properly. Gabe Black 2006-11-10 15:28:58 -05:00
  • 7bf1c8981d 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. Gabe Black 2006-11-10 15:27:06 -05:00
  • 27b43b62b7 Fixed up the code that prints out registers to take into account microregisters. Gabe Black 2006-11-10 15:25:52 -05:00
  • 8390e46311 Tweaked debug output. Gabe Black 2006-11-10 15:25:03 -05:00
  • cee4d1c113 Touched up faults, and made POR actually do something. Gabe Black 2006-11-10 15:24:10 -05:00
  • b5e68fb546 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/o3-merge/newmem Kevin Lim 2006-11-10 12:44:15 -05:00
  • 264f9ce374 Also include a function to form the input path. Kevin Lim 2006-11-10 12:39:43 -05:00
  • 8ccd99e341 Try to setup commands properly. Kevin Lim 2006-11-10 12:28:23 -05:00
  • f593c8a8e2 Change up some warnings to DPRINTFs. Kevin Lim 2006-11-10 12:25:08 -05:00
  • 73581bf801 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-11-10 12:14:38 -05:00
  • 9ef51f2dba Actually finished moving the register file stuff around. Gabe Black 2006-11-10 05:49:16 -05:00
  • 9731fb3fd7 Moved the Alpha float regfile into it's own regfile and got rid of constants.hh and isa_traits.cc Gabe Black 2006-11-10 05:29:05 -05:00
  • b4dfbf3aab Split out alpha integer register file into it's own files. Gabe Black 2006-11-10 04:54:25 -05:00
  • 71dc49c785 The reset function of the MiscRegFile really resets it now. This function is called from the class's constructor. Gabe Black 2006-11-10 04:33:41 -05:00
  • dc6af9fbf7 Set the ASI register to be something explicitly so that simulation is deterministic. Gabe Black 2006-11-10 04:14:25 -05:00
  • 1d70dda6d7 Change exetrace code for working with my trace tool to use stream io rather than sprintf which was breaking on 64 bit hosts. Gabe Black 2006-11-10 04:11:46 -05:00
  • 4aea5deccb 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. Gabe Black 2006-11-10 04:02:39 -05:00
  • 232c3f1b27 Moved the Alpha MiscRegFile into it's own file, and got rid of the Alpha specific DepTag constants. Gabe Black 2006-11-09 21:30:48 -05:00
  • 50462c15aa Fix a couple uninitialized variables. Gabe Black 2006-11-09 19:24:35 -05:00
  • cb172d0332 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. Ali Saidi 2006-11-09 18:22:46 -05:00
  • 6591ebb098 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-11-09 15:06:00 -05:00
  • 0ba2cc6571 Clean up config scripts to not have to worry about attaching a cache only to the TimingCPU. Now the Atomic CPU works with caches. Kevin Lim 2006-11-09 15:05:13 -05:00
  • f4aa4e43c4 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. Nathan Binkert 2006-11-09 08:43:35 -08:00
  • 21f43bfc4b Be sure to populate the packet's finishTime field in the atomic timing case. Kevin Lim 2006-11-09 11:37:26 -05:00
  • 0b0d5a282a Draining fixes. Kevin Lim 2006-11-09 11:33:44 -05:00
  • 081dd9e600 Merge zizzer.eecs.umich.edu:/bk/newmem/ into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops Gabe Black 2006-11-08 16:52:44 -05:00
  • 32f676fed2 the tests assume -1 to signify MaxTick, that's changed, so fix that here. Lisa Hsu 2006-11-08 16:49:59 -05:00
  • f720029e97 Merge zizzer.eecs.umich.edu:/bk/newmem/ into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops Gabe Black 2006-11-08 16:18:10 -05:00
  • 5b90922ad5 Put the MIPS stacktrace into the MipsISA namespace to fit with Alpha and SPARC. Gabe Black 2006-11-08 16:15:20 -05:00
  • 42c73c6a92 Make a function to say how big gdbregs is in bytes vs. regs. Gabe Black 2006-11-08 15:31:52 -05:00
  • 74745cfeac Merge zizzer:/bk/newmem into zed.eecs.umich.edu:/z/hsul/work/m5/newmem Lisa Hsu 2006-11-08 15:07:31 -05:00
  • 7c3d933cd6 Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem Ali Saidi 2006-11-08 15:06:17 -05:00
  • 100f9bfb0b 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 Ali Saidi 2006-11-08 15:05:54 -05:00
  • 64c0d82dec simplify maxtick parsing in both the python and the c++. Lisa Hsu 2006-11-08 15:05:23 -05:00
  • 5a46f336a1 make rcS files read from the m5 source directory, not /dist. Lisa Hsu 2006-11-08 14:10:25 -05:00
  • 0a0d9cd3ab change to os.path.join like nate wanted. Lisa Hsu 2006-11-08 14:01:23 -05:00
  • 63bbc8929d First cut at full blown SPARC faults. There are a few details that are missing. Gabe Black 2006-11-08 13:58:00 -05:00
  • 67b9a2ebd8 Move the check to see if you're in user mode into the isa directory. Gabe Black 2006-11-08 13:55:48 -05:00
  • 344f72dd62 Remove mem parameter. Should have been removed earlier. Kevin Lim 2006-11-08 13:04:36 -05:00
  • e174ec1815 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-11-08 11:41:10 -05:00
  • 99a8f00bb3 Update refs. Kevin Lim 2006-11-08 11:40:59 -05:00
  • 770b575c30 Sorted faults by the trap type constant, expanded their names, added in new faults for ua2005, and commented out ones which are apparently dropped. Gabe Black 2006-11-08 10:27:38 -05:00
  • 9375caa3f1 Fix for slightly mangled merge. Gabe Black 2006-11-08 08:25:37 -05:00
  • b82fa633bb Merge zeep.eecs.umich.edu:/home/gblack/m5/newmem into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops Gabe Black 2006-11-08 08:19:52 -05:00
  • 635df9ba17 Major clean up of the fault code. Gabe Black 2006-11-08 08:12:19 -05:00
  • f0c4d36649 The new global level is computed with min, not max. Gabe Black 2006-11-08 04:18:15 -05:00
  • 8cb7ac0900 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. Gabe Black 2006-11-08 02:13:47 -05:00
  • f1a55570d3 Put the ProcessInfo and StackTrace objects into the ISA namespaces. Gabe Black 2006-11-08 00:52:04 -05:00
  • 16a012e80d Stubs for SPARC's tlbs Gabe Black 2006-11-08 00:32:40 -05:00
  • 746ceb93fd Replaced getArg with a SPARC implementation. Gabe Black 2006-11-08 00:32:04 -05:00
  • 1a5d5d0b56 Force remote gdb code to use signal numbers and not ISA specific trap numbers. Gabe Black 2006-11-07 23:40:54 -05:00
  • 90408b7d02 Fixed to account for branch delay slots. Gabe Black 2006-11-07 23:33:59 -05:00
  • c693c6ba9f Put kernel_stats back into arch. Gabe Black 2006-11-07 22:34:34 -05:00
  • 65bf3c521f Merge 141.212.106.238:/home/gblack/m5/newmemmemops into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmemmemops Gabe Black 2006-11-07 20:35:43 -05:00
  • eb7c923e10 A cleaner hack. Gabe Black 2006-11-07 20:35:42 -05:00
  • a05b16b1ab Only include kern/kernel_stats.hh if in full system. This was breaking MIPS_SE Gabe Black 2006-11-07 20:26:45 -05:00
  • f7a35c33d7 add code to operate in lockstep with legion Ali Saidi 2006-11-07 15:51:37 -05:00