gem5/mem
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
..
bus.hh Rename Port address range functions... like the block size 2006-02-21 12:32:45 -05:00
mem_object.hh Many changes that make the new mem system compile. Now to convert the rest of the tree to use the new mem system. 2006-02-15 14:21:09 -05:00
packet.hh SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
page_table.cc SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
page_table.hh SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
physical.cc SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
physical.hh More progress... run a few instructions now, but die on the second 2006-03-02 01:01:03 -05:00
port.cc Fix memory allocation error in Port::memsetBlobFunctional. 2006-03-02 11:30:25 -05:00
port.hh Work towards factoring isa_traits.hh into smaller, more specialized files. 2006-03-10 19:11:27 -05:00
request.hh SimpleCPU compiles with merge. 2006-03-09 19:21:35 -05:00
translating_port.cc Fix TranslatingPort access functions to: 2006-03-12 00:40:29 -05:00
translating_port.hh Fix TranslatingPort access functions to: 2006-03-12 00:40:29 -05:00