Commit Graph

  • 4f430e9ab5 Finally MIPS does hello world! Korey Sewell 2006-04-10 12:23:17 -04:00
  • ae1a95ed9c Merge zizzer:/z/m5/Bitkeeper/newmem into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/newmem Ron Dreslinski 2006-04-07 18:16:11 -04:00
  • 2609ed2a7c a bit of bad code trampling on memory Ali Saidi 2006-04-07 16:26:22 -04:00
  • 9e3d79694c Move to a model with a unified request object. Constructor takes a bool to signify that it is either a cpu_request or not a cpu_request. When accedding variables of a cpu_request it asserts that it is a cpu_request. It also asserts that a value being read has been written at some point in time prior (not gaurnteeing it is up to date, but it was at least written before read). Ron Dreslinski 2006-04-07 15:54:48 -04:00
  • 6a7108897b a sparc binary that can be debugged Ali Saidi 2006-04-06 18:32:10 -04:00
  • 62ebe251da Merge zizzer:/bk/newmem into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem Ali Saidi 2006-04-06 18:04:57 -04:00
  • 61b2bd9d28 added unimp faults update for newmem Ali Saidi 2006-04-06 18:04:49 -04:00
  • 832311a170 Fixed for full system. Gabe Black 2006-04-06 15:21:52 -04:00
  • bb4c2fba25 Small touchups to SPARC Gabe Black 2006-04-06 15:14:08 -04:00
  • 6a962f8343 Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-04-06 15:00:11 -04:00
  • 6240f8c4bc fixes for newmem ALPHA_FS finally compiles again Ali Saidi 2006-04-06 14:57:51 -04:00
  • 3124c5b7bb Changed the CleanWindow fault from an enumerate fault into a regular one. Gabe Black 2006-04-06 14:53:14 -04:00
  • 6d8d6d15cd Fixed up the isa description. Also added some capability to the isa_parser in the InstObjParams constructor. Gabe Black 2006-04-06 14:52:44 -04:00
  • a4b31e8f6b Enable register windows. Gabe Black 2006-04-06 14:47:03 -04:00
  • bb80f71f21 fixes for new memory system Ali Saidi 2006-04-06 00:51:46 -04:00
  • adeb458b87 Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-31 20:32:18 -05:00
  • 5c79eb0410 Fixes to SPARC for syscall emulation mode. Gabe Black 2006-03-31 20:31:53 -05:00
  • 5936c79ba0 Add a functional port that is used to load the original binaries in FS SE mode now has a port that goes to whatever toplevel mem object the CPU sees that does the appropriate translation for syscall emulation Ali Saidi 2006-03-30 18:06:00 -05:00
  • e196d20d9d Make TranslatingPort be a type of Port rather than something special Ali Saidi 2006-03-30 15:59:49 -05:00
  • 0b2deb2a88 Fixes for full system compiling. Kevin Lim 2006-03-30 10:42:55 -05:00
  • 2ad1db3fde page_table.cc is a syscall only kinda thing fix tlbs for newmem Ali Saidi 2006-03-29 18:42:53 -05:00
  • 6f590b4ddc Fix indentation Ron Dreslinski 2006-03-29 17:54:58 -05:00
  • 9a434869a1 Fix for prefetching check with blocking buffers. Need to look into support for prefetching with blocking buffers. Ron Dreslinski 2006-03-29 17:53:52 -05:00
  • 2177d822ce Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-29 17:40:09 -05:00
  • 3dcb589ea4 update for connector magic Ali Saidi 2006-03-29 17:39:20 -05:00
  • 35faf09bcc Merge zizzer:/bk/newmem into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem Ali Saidi 2006-03-29 17:37:41 -05:00
  • 62f5d7dd3f move stuff around so PageShift is defined before it is needed don't ever include a file while in a namespace start of making alpha console new memsystem happy Make a BasePioDevice which is what all the simple Pio devices will inherit from add a description of when the data pointer will have memory Ali Saidi 2006-03-29 17:37:25 -05:00
  • 1e4e989b83 Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-29 17:35:51 -05:00
  • d46d3d6811 Remove "using namespace std" from global declarations. Kevin Lim 2006-03-29 16:05:26 -05:00
  • e881f8ce2a Add some basic statistics to the disk model Ron Dreslinski 2006-03-29 14:27:10 -05:00
  • c5c76cea98 Make CPU_MODELS a sticky build option. This causes a crash if you're using scons 0.96.1 *and* you specify more than one CPU model. Since the .isa scanner now works with 0.96.91 then upgrading should not be an issue. For now we're only using one CPU model (SimpleCPU) so there isn't even a pressing need to upgrade yet. Steve Reinhardt 2006-03-28 22:55:08 -05:00
  • ce7f076a83 Only compile in Tru64 objects if we're doing Alpha. Steve Reinhardt 2006-03-28 22:44:24 -05:00
  • 5f307ebe35 Use op_decl instead of op_src_decl + op_dest_decl in .isa templates. The latter causes multiple variable definitions if the same operand is used as both a src and a dest. Steve Reinhardt 2006-03-28 22:32:08 -05:00
  • 59b3987cc4 Make Alpha ItbFault methods abstract instead of calling panic() (which wasn't working since panic() isn't declared yet here). Steve Reinhardt 2006-03-28 22:30:43 -05:00
  • efc41fe82d Make .isa-file ##include file paths relative to including file. Makes .isa files cleaner and simplifies scanner too. Simplified scanner to work under both old and new versions of scons. Steve Reinhardt 2006-03-28 22:29:42 -05:00
  • 76daf50937 Fixed a typo. Gabe Black 2006-03-28 19:39:29 -05:00
  • 55293c9e98 Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-28 19:36:40 -05:00
  • 818f3ae22f SPARC compiles for SE! Gabe Black 2006-03-28 19:36:34 -05:00
  • c1046488e0 Move TLB faults into the normal Fault code. The TLB no longer fills in IPRs through its own fault() method; this is handled by the fault's invoke() methods. Kevin Lim 2006-03-28 18:01:01 -05:00
  • 1507bfb20a Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-28 15:14:13 -05:00
  • 7abba53747 Moving towards compilation. Gabe Black 2006-03-28 15:13:57 -05:00
  • 9e39454f58 Make the .mpy file a .py file and convert it to the form recognized now. Ron Dreslinski 2006-03-28 14:58:23 -05:00
  • cdd861084a Add the detailed DRAM model into M5. See the /mem/timing/DRAM_M5.txt for discussion on setting paramaters. Ron Dreslinski 2006-03-27 15:06:16 -05:00
  • c27c122afc Add the bus and connector objects to scons change getPort parameter from char* to string Add an extra phase between construction and init called connect Ali Saidi 2006-03-26 21:44:22 -05:00
  • 4973a16b34 update for objects having a bus Ali Saidi 2006-03-25 18:34:50 -05:00
  • b38f67d5b7 Implement a very very simple bus requestTime -> time responseTime -> packet.time Ali Saidi 2006-03-25 18:31:20 -05:00
  • b96405b7e4 Add support in the fullsys script to run the POVray benchmark. Ron Dreslinski 2006-03-23 18:05:39 -05:00
  • a70ce910f3 Merge zizzer:/bk/newmem into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem Ali Saidi 2006-03-21 15:45:40 -05:00
  • 8654cfa427 Make PioPort/DmaPort,DmaDevice/PioDevice compile. Add another type to the PacketResult enum of Unknown Seperate time into requsetTime and responseTime. Ali Saidi 2006-03-21 15:45:31 -05:00
  • b855ea6968 Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-mips Korey Sewell 2006-03-19 13:41:04 -05:00
  • b3464ef180 support for unaligned memory access Korey Sewell 2006-03-19 13:40:03 -05:00
  • c1006e429d Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5 into zizzer.eecs.umich.edu:/z/stever/bk/newmem-head Steve Reinhardt 2006-03-18 14:42:21 -05:00
  • e6bc492554 more syscall fixes Korey Sewell 2006-03-18 11:31:31 -05:00
  • 3883406a1c Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-mips Korey Sewell 2006-03-18 10:52:19 -05:00
  • 8ddd509c7c steps toward making syscalls work Korey Sewell 2006-03-18 10:51:28 -05:00
  • 5c6835ae3f Fixed a couple typos Gabe Black 2006-03-17 14:25:54 -05:00
  • cf2f7e13bc Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-17 14:23:48 -05:00
  • c1a1f8ee95 An attempt to get byteswap to work accross more machines. Gabe Black 2006-03-17 14:11:14 -05:00
  • 4f9ead58ff Clean up and fix for compilation Gabe Black 2006-03-17 14:02:38 -05:00
  • cf94242539 clean up condition codes a little bit put back in Tcc code that was deleted in last merge Ali Saidi 2006-03-16 23:09:01 -05:00
  • fc5d25bdb6 fix to LiveProcess (this change got deleted somehow) Korey Sewell 2006-03-16 19:01:09 -05:00
  • 1db74514c2 Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-mips Korey Sewell 2006-03-16 18:40:54 -05:00
  • 805b9cf1d5 Found and fixed 3 decoder.isa bugs!!! Now the hello_world program runs for a while before getting in a infinite loop. It actually "tries" to syscall too, but syscalls aren't implemented just yet Korey Sewell 2006-03-16 18:39:54 -05:00
  • 1d741c48af Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-16 14:08:31 -05:00
  • 558cc7f775 Fixups towards compiling. Gabe Black 2006-03-16 13:58:50 -05:00
  • 73b0fbc3e1 Don't forget to check in the needed header file for the conditional prefetch building. Ron Dreslinski 2006-03-16 11:34:19 -05:00
  • 31a20c88c5 Add warning for ignored loadable ELF segments. Steve Reinhardt 2006-03-16 10:31:00 -05:00
  • 77a2f97c35 Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-mips Korey Sewell 2006-03-15 23:38:55 -05:00
  • 7359e2df01 implement the Tcc instruction to call syscall. Ali Saidi 2006-03-15 18:12:01 -05:00
  • beff73f1fa Merge zizzer:/z/m5/Bitkeeper/m5 into zazzer.eecs.umich.edu:/z/rdreslin/m5bk/m5 Ron Dreslinski 2006-03-15 17:53:49 -05:00
  • 52cc2d5bad Add support for conditional compiling in of prefetchers. Ron Dreslinski 2006-03-15 17:53:21 -05:00
  • 97e424982a add translations for new sections that are mmapped or when the brk is changed Add a default machine width parameter Arch based live processes Ali Saidi 2006-03-15 17:04:50 -05:00
  • e2b558112b add mips simple test in config directory Korey Sewell 2006-03-15 16:29:18 -05:00
  • c32b4ecac1 infinitesimal small baby steps toward MIPS actually working Korey Sewell 2006-03-15 16:26:40 -05:00
  • dc75cf121c Don't access init_regs directly. This does not affect newmem; Steve already changed this in newmem. Kevin Lim 2006-03-15 15:38:14 -05:00
  • 0d8cfed042 Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem Korey Sewell 2006-03-14 18:30:09 -05:00
  • 6547e8882b Minor Sconscript edit ... mips decoder changes ... initialize NNPC and output fault name in simple cpu Korey Sewell 2006-03-14 18:28:51 -05:00
  • 7405a3530b Remove unneeded header files. Add some forward declerations. Fix ordering problem of variables in constructor (see sourceforge) Factor out code from header into _impl file to speed building process (keep cache_builder smaller in size) Ron Dreslinski 2006-03-14 18:03:34 -05:00
  • 67a1b7a61b added *.swp Gabe Black 2006-03-14 16:41:38 -05:00
  • 78b9a789d7 Fixed up after a hand merge. Gabe Black 2006-03-14 16:39:59 -05:00
  • fa763d2ecf Merge m5.eecs.umich.edu:/bk/newmem into ewok.(none):/home/gblack/m5/newmem Gabe Black 2006-03-14 16:08:32 -05:00
  • efe46430fa Moved registerfile.hh to regfile.hh Gabe Black 2006-03-14 16:05:44 -05:00
  • 538919445c Added the sparc regfile.hh to bitkeeper Gabe Black 2006-03-14 16:01:21 -05:00
  • bb8b27d5a8 SPARC clean up towards compilability. Gabe Black 2006-03-14 15:59:19 -05:00
  • 160d1374a7 Missed this in the float register changeset. Gabe Black 2006-03-14 15:58:05 -05:00
  • d745f4d664 Moved some full system functions into utility.hh Gabe Black 2006-03-14 15:57:28 -05:00
  • 8e4ec55703 Changed the floating point register file into a class with appropriate accessor functions. The width of the floating point register to access can be specified, and if not, it will be accessed at its "natural" width. That is, the width of each individual register. Also, the functions which access the bit representation of floating point registers can use the blahblahBits functions now instead of blahblahInt. Gabe Black 2006-03-14 15:55:00 -05:00
  • f045b110cf Have a copyRegs function defined in the ISA that copies registers from one ExecContext to another ExecContext. This makes it easier for anything that needs to copy architected registers to do so in an ISA independent fashion. Kevin Lim 2006-03-13 17:04:24 -05:00
  • af975813e5 Add simple eio-based test. Steve Reinhardt 2006-03-12 17:24:02 -05:00
  • f03e1fb5ab Oops, this goes with the previous changeset! Steve Reinhardt 2006-03-12 17:23:18 -05:00
  • e2b329d574 Replace Memory with MemObject; no need for two different levels of hierarchy there. Get rid of addPort(). Change getPort() behavior on PhysicalMemory. Steve Reinhardt 2006-03-12 17:21:59 -05:00
  • 2d9c9dba37 Get rid of "Functional" suffix from (read|write)(Blob|String) functions. Steve Reinhardt 2006-03-12 16:38:16 -05:00
  • 159cee1719 Clean up arch/*/process.hh includes and std namespace issues. Steve Reinhardt 2006-03-12 16:27:52 -05:00
  • e1985e0200 More memory system cleanup: - Get rid of unused ProxyMemory class (replaced by TranslatingPort). - Get rid of remaining unused prot_* functions. Steve Reinhardt 2006-03-12 16:11:41 -05:00
  • 8dc2374b0b Fix bk ignore paths for new build options directory structure. Steve Reinhardt 2006-03-12 16:03:46 -05:00
  • 37c860d334 Get rid of validInstAddr() & validDataAddr(). SE mode can now use page tables to determine which addresses are valid. Steve Reinhardt 2006-03-12 16:01:41 -05:00
  • 84a6044f31 Add "using namespace TheISA" to syscall emulation functions so they pick up the right definitions of htog/gtoh etc. Steve Reinhardt 2006-03-12 15:51:48 -05:00
  • 71c2c962db Clean up "using" declarations. Steve Reinhardt 2006-03-12 15:14:07 -05:00
  • 57d53f8a9d Merge zizzer:/bk/newmem into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem Korey Sewell 2006-03-12 05:58:28 -05:00
  • 4d19bbeeeb MIPS is back to compiling and building now! Korey Sewell 2006-03-12 05:57:34 -05:00