gem5/arch/alpha
Ron Dreslinski 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).

There is also a isCpuReq() function to determine if this is a cpu_request.  It should be called before accesing a cpu_request only variable.

SConscript:
    Add compilation support for request.cc
arch/alpha/tlb.cc:
arch/alpha/tlb.hh:
cpu/cpu_exec_context.hh:
cpu/exec_context.hh:
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
dev/io_device.cc:
mem/page_table.cc:
mem/page_table.hh:
mem/port.cc:
    Update for unified request object and accessor functions.
mem/request.hh:
    Remove CpuRequest, make it a unified object.  Make variables private with accessor functions.

    May want to move things from .cc file into header (usually a assert() and either returning a value, or writting two).

--HG--
extra : convert_revision : f1e45cc490dadc7a418634539b03c3e72684a6e3
2006-04-07 15:54:48 -04:00
..
freebsd fixes for new memory system 2006-04-06 00:51:46 -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
linux fixes for new memory system 2006-04-06 00:51:46 -04:00
tru64 fixes for new memory system 2006-04-06 00:51:46 -04:00
aout_machdep.h Many files: 2005-06-05 05:16:00 -04:00
arguments.cc fixes for new memory system 2006-04-06 00:51:46 -04:00
arguments.hh fixes for new memory system 2006-04-06 00:51:46 -04:00
ecoff_machdep.h Many files: 2005-06-05 04:21:22 -04:00
ev5.cc Fixes for full system compiling. 2006-03-30 10:42:55 -05:00
ev5.hh Changes to untemplate StaticInst and StaticInstPtr, change the isa to a namespace instead of a class, an improvement to the architecture specific header file selection system, and fixed up a few include paths. 2006-02-19 02:34:37 -05:00
faults.cc fixes for new memory system 2006-04-06 00:51:46 -04:00
faults.hh fixes for newmem 2006-04-06 14:57:51 -04:00
isa_traits.hh Enable register windows. 2006-04-06 14:47:03 -04:00
osfpal.cc Many files: 2005-06-05 05:16:00 -04:00
osfpal.hh Many files: 2005-06-05 05:16:00 -04:00
process.cc add translations for new sections that are mmapped or when the brk 2006-03-15 17:04:50 -05:00
process.hh add translations for new sections that are mmapped or when the brk 2006-03-15 17:04:50 -05:00
regfile.hh Fixed for full system. 2006-04-06 15:21:52 -04:00
SConscript no more common syscall emulation, now common for everyone 2006-03-09 15:42:09 -05:00
stacktrace.cc fixes for new memory system 2006-04-06 00:51:46 -04:00
stacktrace.hh Made Addr a global type 2006-02-21 03:38:21 -05:00
system.cc fixes for new memory system 2006-04-06 00:51:46 -04:00
system.hh First cut at moving alpha specefic stuff out of /sim/system* into 2006-03-03 14:24:15 -05:00
tlb.cc Move to a model with a unified request object. 2006-04-07 15:54:48 -04:00
tlb.hh Move to a model with a unified request object. 2006-04-07 15:54:48 -04:00
types.hh Fixups towards compiling. 2006-03-16 13:58:50 -05:00
utility.hh Fixed up after a hand merge. 2006-03-14 16:39:59 -05:00
vtophys.cc fixes for new memory system 2006-04-06 00:51:46 -04:00
vtophys.hh fixes for new memory system 2006-04-06 00:51:46 -04:00