diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-21 02:15:02 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-21 02:15:02 -0500 |
commit | 562efe214c35c0d40c810a11e94cc6e08c32dda5 (patch) | |
tree | d4789b3ca1b0d24842185fba381c5373e8d7f704 /mem/physical.hh | |
parent | 75152fcaf709135d5f9668875234aed51d6334c4 (diff) | |
download | gem5-562efe214c35c0d40c810a11e94cc6e08c32dda5.tar.xz |
Adding some definitons for read/write blob/string. I need to locate te code stever wrote to break up address ranges into blk/page size chunks.
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
Add read/write blob definitions, still need to break it up into blk size chunks (where was the code stever wrote for that?)
mem/physical.hh:
Remove un-needed function (I think)
mem/port.hh:
Default these virtual functions to panic unimplented
mem/translating_port.cc:
Again handling read/write string properly.
Need the stever code to break things into page size chunks yet
mem/translating_port.hh:
Having trouble with the const declerator. I will need to read how it works, for now it compiles if I remove it.
--HG--
extra : convert_revision : f174e06700daa9967958d18e01798270c90d6dac
Diffstat (limited to 'mem/physical.hh')
-rw-r--r-- | mem/physical.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mem/physical.hh b/mem/physical.hh index a8ed45115..a98c52212 100644 --- a/mem/physical.hh +++ b/mem/physical.hh @@ -78,14 +78,14 @@ class PhysicalMemory : public Memory virtual void unserialize(Checkpoint *cp, const std::string §ion); }; -uint64_t +/*uint64_t PhysicalMemory::phys_read_qword(Addr addr) const { if (addr + sizeof(uint64_t) > pmem_size) return 0; return *(uint64_t *)(pmem_addr + addr); -} +}*/ #endif //__PHYSICAL_MEMORY_HH__ |