gem5/dev
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
..
alpha_access.h Get rid of the xc from the alphaAccess/alphaConsole backdoor device. 2006-02-23 14:50:16 -05:00
alpha_console.cc added unimp faults 2006-04-06 18:04:49 -04:00
alpha_console.hh fixes for newmem 2006-04-06 14:57:51 -04:00
baddev.cc Changed Fault * to Fault, which is a typedef to FaultBase *, which is the old Fault class renamed. 2006-02-21 20:10:40 -05:00
baddev.hh Needs forward declaration of MemoryController. 2006-03-07 22:56:12 -05:00
disk_image.cc byte_swap.hh was removed from arch/alpha/, and replaced by sim/byteswap.hh. The new file uses LittleEndianGuest and BigEndianGuest namespaces to allow selecting the appropriate functions. 2006-02-03 00:16:44 -05:00
disk_image.hh Many files: 2005-06-05 05:16:00 -04:00
etherbus.cc Many files: 2005-06-05 05:16:00 -04:00
etherbus.hh Many files: 2005-06-05 05:16:00 -04:00
etherdump.cc Fix the EtherDump parameters 2005-09-17 10:47:16 -04:00
etherdump.hh Many files: 2005-06-05 05:16:00 -04:00
etherint.cc Many files: 2005-06-05 05:16:00 -04:00
etherint.hh Many files: 2005-06-05 05:16:00 -04:00
etherlink.cc Update random come to always have explict min/max 2005-11-11 18:41:45 -05:00
etherlink.hh Add ability to slightly perturb latency of ethernet/memory 2005-11-02 14:47:37 -05:00
etherpkt.cc Add the capability to iterate through the packets in a pktfifo, 2005-11-25 11:22:41 -05:00
etherpkt.hh Add the capability to iterate through the packets in a pktfifo, 2005-11-25 11:22:41 -05:00
ethertap.cc Lots of fixes to serialization and naming of various device 2005-08-23 11:45:52 -04:00
ethertap.hh fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
ide_atareg.h Fixes for cygwin compile. 2005-06-30 00:42:27 -04:00
ide_ctrl.cc Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh 2006-03-10 17:56:41 -05:00
ide_ctrl.hh Changed Fault * to Fault, which is a typedef to FaultBase *, which is the old Fault class renamed. 2006-02-21 20:10:40 -05:00
ide_disk.cc 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
ide_disk.hh Made Addr a global type 2006-02-21 03:38:21 -05:00
ide_wdcreg.h Fix doxgyen comments 2005-06-04 23:56:53 -04:00
io_device.cc Move to a model with a unified request object. 2006-04-07 15:54:48 -04:00
io_device.hh added unimp faults 2006-04-06 18:04:49 -04:00
isa_fake.cc Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh 2006-03-10 17:56:41 -05:00
isa_fake.hh Needs forward declaration of MemoryController. 2006-03-07 22:56:12 -05:00
ns_gige.cc Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh 2006-03-10 17:56:41 -05:00
ns_gige.hh Ethernet devices have an RSS option to tell the driver to 2006-03-03 14:17:48 -05:00
ns_gige_reg.h Ethernet devices have an RSS option to tell the driver to 2006-03-03 14:17:48 -05:00
pciconfigall.cc Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh 2006-03-10 17:56:41 -05:00
pciconfigall.hh Changed Fault * to Fault, which is a typedef to FaultBase *, which is the old Fault class renamed. 2006-02-21 20:10:40 -05:00
pcidev.cc Changed Fault * to Fault, which is a typedef to FaultBase *, which is the old Fault class renamed. 2006-02-21 20:10:40 -05:00
pcidev.hh MachineCheckFaults and AlignmentFaults are now generated by the ISA, rather than being created directly. 2006-02-27 03:57:15 -05:00
pcireg.h Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
pitreg.h Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
pktfifo.cc add some support for random access of data in packet fifos 2006-02-26 20:31:08 -05:00
pktfifo.hh add some support for random access of data in packet fifos 2006-02-26 20:31:08 -05:00
platform.cc 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
platform.hh Hand merge. Stuff probably doesn't compile. 2006-03-09 18:35:28 -05:00
rtcreg.h Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
simconsole.cc fixes for newmem 2006-04-06 14:57:51 -04:00
simconsole.hh Many files: 2005-06-05 05:16:00 -04:00
simple_disk.cc fixes for newmem 2006-04-06 14:57:51 -04:00
simple_disk.hh fixes for newmem 2006-04-06 14:57:51 -04:00
sinic.cc Ethernet devices have an RSS option to tell the driver to 2006-03-03 14:17:48 -05:00
sinic.hh Ethernet devices have an RSS option to tell the driver to 2006-03-03 14:17:48 -05:00
sinicreg.hh Ethernet devices have an RSS option to tell the driver to 2006-03-03 14:17:48 -05:00
tsunami.cc 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
tsunami.hh Made Addr a global type 2006-02-21 03:38:21 -05:00
tsunami_cchip.cc added unimp faults 2006-04-06 18:04:49 -04:00
tsunami_cchip.hh added unimp faults 2006-04-06 18:04:49 -04:00
tsunami_io.cc Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh 2006-03-10 17:56:41 -05:00
tsunami_io.hh Changed Fault * to Fault, which is a typedef to FaultBase *, which is the old Fault class renamed. 2006-02-21 20:10:40 -05:00
tsunami_pchip.cc Added ev5.hh to files which should include it directly, now that it isn't included within isa_traits.hh 2006-03-10 17:56:41 -05:00
tsunami_pchip.hh Changed Fault * to Fault, which is a typedef to FaultBase *, which is the old Fault class renamed. 2006-02-21 20:10:40 -05:00
tsunamireg.h Merge zed.eecs.umich.edu:/.automount/fox/y/mserrano/m5_dir/m5 2005-08-15 17:17:17 -04:00
uart.cc fixes for newmem 2006-04-06 14:57:51 -04:00
uart.hh fixes for newmem 2006-04-06 14:57:51 -04:00
uart8250.cc fixes for newmem 2006-04-06 14:57:51 -04:00
uart8250.hh fixes for newmem 2006-04-06 14:57:51 -04:00