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/translating_port.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/translating_port.hh')
-rw-r--r-- | mem/translating_port.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mem/translating_port.hh b/mem/translating_port.hh index 20140d26a..c8764bf41 100644 --- a/mem/translating_port.hh +++ b/mem/translating_port.hh @@ -49,7 +49,7 @@ class TranslatingPort public: Fault readBlobFunctional(Addr addr, uint8_t *p, int size); - Fault writeBlobFunctional(Addr addr, const uint8_t *p, int size); + Fault writeBlobFunctional(Addr addr, uint8_t *p, int size); Fault memsetBlobFunctional(Addr addr, uint8_t val, int size); Fault writeStringFunctional(Addr addr, const char *str); Fault readStringFunctional(std::string &str, Addr addr); |