gem5/arch/mips
Gabe Black a4b31e8f6b Enable register windows.
arch/alpha/isa_traits.hh:
arch/mips/isa_traits.cc:
    Turned the integer register file into a class instead of a typedef to an array.
arch/alpha/regfile.hh:
    Changed the integer register file into a class instead of a typedef to an array. Also put the parts of the register file, ie the int, float, and misc register files, pc, npc, and nnpc, behind accessor functions. Added a changeContext function, and ContextParam and ContextVal types, so that things like the register window can be changed through call backs.
arch/mips/isa_traits.hh:
    Turned the integer register file into a class instead of a typedef to an array. Also moved a "using namespace" into the namespace definition.
arch/sparc/isa_traits.hh:
    Turned the integer register file into a class instead of a typedef to an array. Also "fixed" the max number of src and dest regs. They may need to be even larger.
arch/sparc/regfile.hh:
    Changed the integer register file into a class instead of a typedef to an array. Also put the parts of the register file, ie the int, float, and misc register files, pc, npc, and nnpc, behind accessor functions. Added a changeContext function, and ContextParam and ContextVal types, so that things like the register window can be changed through call backs. Created setCWP and setAltGlobals functions for the IntRegFile.
cpu/cpu_exec_context.hh:
    Used the accessor functions for the register file, and added a changeRegFileContext function to call back into the RegFile. Used the RegFile clear function rather than memsetting it to 0.
cpu/exec_context.hh:
    Added the changeRegFileContext function.
cpu/exetrace.cc:
    Use the TheISA::NumIntRegs constant, and use readReg now that the integer register file is a class instead of an array.
cpu/exetrace.hh:
    Get the address of the regs object, now that it isn't an array.

--HG--
extra : convert_revision : ea2dd81be1c2e66b3c684af319eb58f8a77fd49c
2006-04-06 14:47:03 -04:00
..
isa Use op_decl instead of op_src_decl + op_dest_decl in .isa templates. 2006-03-28 22:32:08 -05:00
faults.cc Found and fixed 3 decoder.isa bugs!!! Now the hello_world program runs for a while 2006-03-16 18:39:54 -05:00
faults.hh MIPS is back to compiling and building now! 2006-03-12 05:57:34 -05:00
isa_traits.cc Enable register windows. 2006-04-06 14:47:03 -04:00
isa_traits.hh Enable register windows. 2006-04-06 14:47:03 -04:00
linux_process.cc support for unaligned memory access 2006-03-19 13:40:03 -05:00
linux_process.hh fix to LiveProcess (this change got deleted somehow) 2006-03-16 19:01:09 -05:00
process.cc Merge zizzer:/bk/newmem 2006-03-15 23:38:55 -05:00
process.hh add translations for new sections that are mmapped or when the brk 2006-03-15 17:04:50 -05:00
SConscript MIPS is back to compiling and building now! 2006-03-12 05:57:34 -05:00
stacktrace.hh updated MIPS ISA files .... all files should be able to compile/build with MIPS option except isa_traits.* 2006-03-08 02:05:38 -05:00
utility.hh MIPS is back to compiling and building now! 2006-03-12 05:57:34 -05:00