gem5/sim
Steve Reinhardt 38dd86ce72 Fix TranslatingPort access functions to:
- know nothing about Fault objects (as it should be)
- call fatal() by default on accesses to unmapped addrs
- provide "try" versions for callers that are prepared to handle failure

mem/translating_port.cc:
mem/translating_port.hh:
    Memory system objects should not return Fault objects, just errors.
    Half the time we don't check the return code anyway, so make
    default version of the access functions call fatal().
    Provide "try*" versions that return a bool for places where we
    really are going to check the return code.
sim/syscall_emul.cc:
sim/syscall_emul.hh:
    Need to use new "tryReadString" here since we actually check the return code.

--HG--
extra : convert_revision : 039737398ef183904dc382c05912ab96cd1d4a51
2006-03-12 00:40:29 -05:00
..
async.hh Many files: 2005-06-05 05:16:00 -04:00
builder.cc Many files: 2005-06-05 05:16:00 -04:00
builder.hh Many files: 2005-06-05 05:16:00 -04:00
byteswap.hh endian fixes and compiles on mac os x 2006-02-15 01:23:13 -05:00
debug.cc Many files: 2005-06-05 05:16:00 -04:00
debug.hh Many files: 2005-06-05 05:16:00 -04:00
eventq.cc Many files: 2005-06-05 05:16:00 -04:00
eventq.hh Many files: 2005-06-05 05:16:00 -04:00
faults.cc Work towards factoring isa_traits.hh into smaller, more specialized files. 2006-03-10 19:11:27 -05:00
faults.hh Some clean up work with faults. 2006-03-07 04:31:38 -05:00
host.hh Moved MaxAddr. 2006-03-10 18:26:12 -05:00
main.cc Many files: 2005-06-05 05:16:00 -04:00
param.cc fixes for gcc 4.0 2005-09-12 03:01:43 -04:00
param.hh Fixes to build with gcc 4.0. 2005-09-02 21:30:02 -04:00
process.cc Hand merge. Stuff probably doesn't compile. 2006-03-09 18:35:28 -05:00
process.hh SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
pseudo_inst.cc Updates for the quiesceEvent that was added to the XC. 2006-03-07 19:59:12 -05:00
pseudo_inst.hh Add quiesceNs, quiesceTime, quiesceCycles, and m5panic pseudo ops. 2006-02-28 18:41:04 -05:00
root.cc Convert type of max_time and progress_interval parameters 2005-09-01 11:32:58 -04:00
serialize.cc fix the MAX_CHECKPOINTS stuff 2005-09-18 21:20:24 -04:00
serialize.hh Many files: 2005-06-05 05:16:00 -04:00
sim_events.cc Move max_time and progress_interval parameters to the Root 2005-06-22 09:59:13 -04:00
sim_events.hh Move max_time and progress_interval parameters to the Root 2005-06-22 09:59:13 -04:00
sim_exit.hh Many files: 2005-06-05 05:16:00 -04:00
sim_object.cc Many files: 2005-06-05 05:16:00 -04:00
sim_object.hh Many files: 2005-06-05 05:16:00 -04:00
startup.cc Many files: 2005-06-05 05:16:00 -04:00
startup.hh Many files: 2005-06-05 05:16:00 -04:00
stat_control.cc Fix bug where simulation terminates same cycle as last stat dump causing a duplicate row in db 2005-11-02 14:45:35 -05:00
stat_control.hh Many files: 2005-06-05 05:16:00 -04:00
stats.hh Many files: 2005-06-05 05:16:00 -04:00
syscall_emul.cc Fix TranslatingPort access functions to: 2006-03-12 00:40:29 -05:00
syscall_emul.hh Fix TranslatingPort access functions to: 2006-03-12 00:40:29 -05:00
system.cc Compiles now (with CPU_MODELS=SimpleCPU), but hangs 2006-03-10 10:01:29 -05:00
system.hh Work towards factoring isa_traits.hh into smaller, more specialized files. 2006-03-10 19:11:27 -05:00
vptr.hh Changed targetarch to just arch. 2006-02-27 05:35:43 -05:00