Commit Graph

  • ea5df46882 Fix error message. Kevin Lim 2006-11-07 15:45:03 -05:00
  • 8ba73da056 Fix up bus draining and add draining to the caches. Kevin Lim 2006-11-07 14:25:54 -05:00
  • 244e0c884c Remove hack by setting configuration better. Kevin Lim 2006-11-07 14:24:31 -05:00
  • 4589ec55ae Fix compile error. Kevin Lim 2006-11-07 13:53:49 -05:00
  • d9f159a3b9 Initialize mem dep unit properly. Kevin Lim 2006-11-07 13:53:06 -05:00
  • 56230ffb3a Definition of stub kernel_stats object. This just uses the base object. Gabe Black 2006-11-07 05:47:10 -05:00
  • 95d611f7bb Alpha derived classes for kernel_stats. Gabe Black 2006-11-07 05:46:15 -05:00
  • 8e2ab0b09a SConscripts for the architecture specific directories in kern. Gabe Black 2006-11-07 05:45:12 -05:00
  • 48415ad298 A dummy implementation of stacktrace.cc to clear up linker errors. Gabe Black 2006-11-07 05:44:22 -05:00
  • 7e422980e9 Arguments class for SPARC. This is basically just a copy of Alpha's Gabe Black 2006-11-07 05:43:33 -05:00
  • 5411fbe6e8 Removed unnecessary arch/alpha/ev5.hh include Gabe Black 2006-11-07 05:42:52 -05:00
  • 2f4c66ad2d Added sim/host.hh for the Addr type. Gabe Black 2006-11-07 05:42:15 -05:00
  • 3826b6927c Got rid of a stray blank line. Gabe Black 2006-11-07 05:41:51 -05:00
  • 74112dec52 Added a stub implementation of fixFuncEventAddr to get past linker errors. Gabe Black 2006-11-07 05:41:23 -05:00
  • 0c9bcf209a The normal spill and fill faults only need to behave specially in SE. Gabe Black 2006-11-07 05:40:48 -05:00
  • bcd5099aac Added in alot of missing source files. Gabe Black 2006-11-07 05:40:06 -05:00
  • 54e22bfe95 Broke remote_gdb into a base class and architecture specific derived classes. Gabe Black 2006-11-07 05:39:40 -05:00
  • da24915181 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) Gabe Black 2006-11-07 05:38:33 -05:00
  • 4bfb8547bb Moved the switched version of kernel_stats.hh back to kern, and moved the base kernel_stats to base_kernel_stats Gabe Black 2006-11-07 05:36:54 -05:00
  • 5424156516 Missed this file in my last changeset. Gabe Black 2006-11-07 05:34:14 -05:00
  • eb4ef3ad76 Made kern a switching header file directory. Gabe Black 2006-11-07 05:33:21 -05:00
  • 58f7ed2416 Cleaned up remnants of ivlb and ivle Gabe Black 2006-11-06 20:49:48 -05:00
  • f61cd02e13 Got rid of the ivlb and ivle kernel stats. Gabe Black 2006-11-06 20:07:44 -05:00
  • b156767f1e Get rid of pcifake.cc and tsunami_fake.cc to go with the merged default devices. Gabe Black 2006-11-06 19:56:57 -05:00
  • 32a927b85f Only bother with the device SConscript if you're in FULL_SYSTEM Gabe Black 2006-11-06 19:55:42 -05:00
  • 02abca6b9e Merge zizzer.eecs.umich.edu:/bk/newmem/ into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops Gabe Black 2006-11-06 19:52:32 -05:00
  • dd14c86ec8 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. Gabe Black 2006-11-06 19:45:00 -05:00
  • 5b152b970b Got rid of stray alpha include Gabe Black 2006-11-06 19:10:13 -05:00
  • b04a2653f9 Got rid of obsolete ivlb and ivle psuedo instructions. Gabe Black 2006-11-06 19:09:23 -05:00
  • ef1a92eb9b Stub for SPARC interrupt handling object. Gabe Black 2006-11-06 18:30:28 -05:00
  • 85a6079db7 Remote GDB support has been changed to use inheritance. Alpha should work, but isn't tested. Other architectures will not. Gabe Black 2006-11-06 18:29:58 -05:00
  • e39de58d21 Took the Alpha prefix off of AlphaArguments, and made sure it was being used from TheISA:: rather than AlphaISA:: Gabe Black 2006-11-06 18:28:10 -05:00
  • 1ffff78ca9 Created seperate SConscript for the dev directory. Made subdirectories for Alpha and SPARC and put SConscripts in them. Gabe Black 2006-11-06 18:26:11 -05:00
  • bf3223d7ce delete pcifake, tsunamifake. Combine BadAddr/IsaFake into one Ali Saidi 2006-11-06 16:24:25 -05:00
  • 84e07f3a51 Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem Ali Saidi 2006-11-06 14:14:49 -05:00
  • 0de8850136 small fixes for solaris Ali Saidi 2006-11-06 14:14:18 -05:00
  • 2506c15620 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem Kevin Lim 2006-11-06 13:27:57 -05:00
  • 652281a61c Clean up clock phase drift code a bit. Kevin Lim 2006-11-06 13:27:45 -05:00
  • 430622c173 replace NULL with 0.... Why isn't NULL defined by default on Mac OS X I don't know Ali Saidi 2006-11-06 10:15:27 -05:00
  • 257e09d626 Update refs. Kevin Lim 2006-11-05 20:42:05 -05:00
  • 067c9c5531 Initialize pointer to NULL. Kevin Lim 2006-11-05 20:29:38 -05:00
  • de90ae4825 Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem Ali Saidi 2006-11-04 21:41:10 -05:00
  • 21cf4a46b9 fixes so that M5 will compile under solaris Ali Saidi 2006-11-04 21:41:01 -05:00
  • 601822c6b5 Make things compile in SE again. Gabe Black 2006-11-03 14:42:12 -05:00
  • 8778d85b2d Use a PowerOnReset to initialize the cpu. Gabe Black 2006-11-03 14:41:27 -05:00
  • 6ad386f1a8 Calling syscalls from within the trap instruction's invoke method won't work because apparently you need an xc for that and not a tc. Cleaned up the TrapInstruction fault in light of this. Gabe Black 2006-11-03 14:40:35 -05:00
  • 4a5cb3f425 The tc needs to be protected instead of private so that the CpuEventWrapper can access it. Gabe Black 2006-11-03 11:05:56 -05:00
  • 29a79acb7c Gutted out the old Alpha stuff. Gabe Black 2006-11-03 11:05:13 -05:00
  • 3f4b098985 Added a stub initCPU function. This would be a good place to force in a PowerOnReset fault to kick start the CPU. Gabe Black 2006-11-03 11:04:10 -05:00
  • 6b701a6d25 Compilation fixes. Gabe Black 2006-11-03 11:03:03 -05:00
  • 70c0ba22c4 Added this constant to get compilation to work. The value is bogus since I don't know what it actually represents. Gabe Black 2006-11-03 10:59:24 -05:00
  • ab651344dd Add the syscall number as the second parameter for the trap fault. This could be improved and syscalls could be called from the trap's invoke method. Gabe Black 2006-11-03 10:56:47 -05:00
  • e6fed44625 Add an invoke function for PowerOnReset Gabe Black 2006-11-03 10:55:29 -05:00
  • 694323b7c4 Move around misc reg code Gabe Black 2006-11-03 10:54:34 -05:00
  • 7c5a859243 removed ua2005.cc since it's been obsorbed into the miscregfile, and added system.cc Gabe Black 2006-11-03 10:52:08 -05:00
  • 118b9dc1f9 Got rid of "inPalMode". Some places are still effectively checking if they are in PAL mode, however. Gabe Black 2006-11-03 04:25:33 -05:00
  • c8fc116c76 Add a new file which describes an ISA's interrupt handling mechanism. It records when interrupts are requested, and returns an interrupt to execute if the Gabe Black 2006-11-03 02:25:39 -05:00
  • fa91832900 Fixed a comment Gabe Black 2006-11-03 01:15:31 -05:00
  • e71ccde663 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-11-02 15:20:47 -05:00
  • 45363ea658 Have bus use the BadAddress device to handle bad addresses. The O3 CPU should be able to boot into Linux with caches on after this change. Kevin Lim 2006-11-02 15:20:37 -05:00
  • c3485a6548 Implement device that will return BadAddress. Kevin Lim 2006-11-02 15:18:35 -05:00
  • 8d53f298a6 Caches return a new functional port whenever asked for one. Kevin Lim 2006-11-02 15:17:45 -05:00
  • dd5e2cd959 More proper handling of the ports. Kevin Lim 2006-11-02 14:58:31 -05:00
  • 64f8cd12c6 Remove function that should have been deleted. Kevin Lim 2006-11-02 13:12:36 -05:00
  • ccaf80cc46 Use ISA specific makeExtMI. Kevin Lim 2006-11-02 13:11:38 -05:00
  • 683d8f0831 Merge zizzer:/bk/newmem into zed.eecs.umich.edu:/z/hsul/work/m5/newmem Lisa Hsu 2006-11-01 19:25:20 -05:00
  • 74ff45d353 factor some more commone code and enable going from checkpoint into arbitrary CPU with or without caches. Lisa Hsu 2006-11-01 19:25:09 -05:00
  • b565660c42 Merge zizzer.eecs.umich.edu:/bk/newmem/ into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops Gabe Black 2006-11-01 19:00:59 -05:00
  • 8dbab9f701 Added code to handle draining. Gabe Black 2006-11-01 19:00:49 -05:00
  • 6f78d49410 Fix a range check on the ipr_index. Gabe Black 2006-11-01 18:46:18 -05:00
  • 2b11b47357 Adjustments for the AlphaTLB changing to AlphaISA::TLB and changing register file functions to not take faults Gabe Black 2006-11-01 16:44:45 -05:00
  • 7665be4f70 make it so that you can do a standard switch without the caches option. this will have only the o3 cpu have a cache, rather than timing (warmup) + o3 have cache. Lisa Hsu 2006-11-01 11:49:39 -05:00
  • 9ef8bf74c7 change name of 2nd switch_cpu so that ckpt recovery with multiple cpus doens't get confused. Lisa Hsu 2006-11-01 11:40:49 -05:00
  • f3ba6d20f6 Arg! Gabe Black 2006-10-31 18:59:50 -05:00
  • 1543c3d0a1 More typos! I need to get nfs to work. Gabe Black 2006-10-31 18:51:26 -05:00
  • 1dd903e856 Fix another typo Gabe Black 2006-10-31 18:39:17 -05:00
  • 39de635fbf Check for out of range IPR values as well. Gabe Black 2006-10-31 18:19:45 -05:00
  • 45368c0300 Fix stupid typo Gabe Black 2006-10-31 18:01:31 -05:00
  • fb5ba85abb Make two simple utility functions to determine if a MiscReg index corresponding to an IPR is readable or writable. Gabe Black 2006-10-31 17:50:57 -05:00
  • 312a4710d7 Forgot to add intr_flag in one place. Gabe Black 2006-10-31 17:14:46 -05:00
  • ad201172c9 We don't include ipr.cc in SE builds, so don't call it. Gabe Black 2006-10-31 16:59:41 -05:00
  • ace4f0c188 Made the old name refer to the miscreg index to prevent having to change code all over the place. Gabe Black 2006-10-31 16:36:45 -05:00
  • 44f2c05118 Forgot to change the index. Gabe Black 2006-10-31 16:18:54 -05:00
  • ece796ab8a Make the IPRs use regular miscreg indexes, and make a table or two to find the miscreg index of a specific IPR. Gabe Black 2006-10-31 16:02:28 -05:00
  • f763864786 Fix up configs. Kevin Lim 2006-10-31 14:58:09 -05:00
  • 2fa535f740 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/o3-merge/newmem Kevin Lim 2006-10-31 14:44:23 -05:00
  • 5825a6c9d8 Merge ktlim@zizzer:/bk/newmem into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-busfix Kevin Lim 2006-10-31 14:37:19 -05:00
  • bfd5eb2b08 Remove mem parameter. Now the translating port asks the CPU's dcache's peer for its MemObject instead of having to have a paramter for the MemObject. Kevin Lim 2006-10-31 14:33:56 -05:00
  • b26355daa8 Ports now have a pointer to the MemObject that owns it (can be NULL). Kevin Lim 2006-10-31 13:59:30 -05:00
  • 7f39644609 Merge zizzer:/bk/newmem into zeep.pool:/z/saidi/work/m5.newmem.head Ali Saidi 2006-10-31 13:24:00 -05:00
  • 17141a1be9 remove connectAll() and connect() code since it isn't used anymore. (The python does it all) Ali Saidi 2006-10-31 13:23:49 -05:00
  • c68f7feaa8 add the ability to insert into the middle of the timing port send list Ali Saidi 2006-10-31 13:23:17 -05:00
  • 3c19c5f0f2 Missed a few instances of this function. Gabe Black 2006-10-31 04:12:52 -05:00
  • eab445e1bc Get rid of old, commented out code. Gabe Black 2006-10-31 03:44:39 -05:00
  • 038217049a Move IntrFlag into the MiscRegFile and get rid of specialized accessor functions. Gabe Black 2006-10-31 03:37:01 -05:00
  • 4862879a94 Put the Alpha tlb stuff into the AlphaISA namespace, and give the classes more neutral names. Gabe Black 2006-10-31 02:08:44 -05:00
  • 79d4bede42 Delete obsolete directories: src/oldmem, src/mem/timing, src/mem/NOTES. Steve Reinhardt 2006-10-30 23:53:20 -05:00
  • 697b432ba8 FSConfig.py: Accidentally committed this last time Lisa Hsu 2006-10-30 16:55:52 -05:00
  • 580c8421ab se.py, fs.py: import Caches Simulation.py: Fix typo - L2Cache --> L1Cache Lisa Hsu 2006-10-30 16:51:46 -05:00
  • fe2698c435 ensure that there is a "/" between the cptdir and the cpt.%d. Lisa Hsu 2006-10-30 14:19:16 -05:00