diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-21 03:32:42 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-21 03:32:42 -0500 |
commit | 00be4e8510f587603cf358d615d19d8bbf8ec57e (patch) | |
tree | 6a5b19f1c918e5579651ec831ff9f3022779cf1a /mem/port.cc | |
parent | 562efe214c35c0d40c810a11e94cc6e08c32dda5 (diff) | |
download | gem5-00be4e8510f587603cf358d615d19d8bbf8ec57e.tar.xz |
Thanks to Ali, I was able to add chunk generation code in to handle a few cases. Still have some duplicated code we may want to revisit.
cpu/simple/cpu.cc:
Thanks to Ali I found the chunk generator, although I still seem to be duplicating some code becuase the only difference between readBlob and writeBlob is the command in the packet. Perhaps an access function with the command as a param would help with the duplication (sendBlob that takes a cmd (maybe).
mem/translating_port.cc:
Using the chunck generator to break it up to be in page size chunks
--HG--
extra : convert_revision : cc2e4e60c76098655e469f81c89d2c7438350fdb
Diffstat (limited to 'mem/port.cc')
0 files changed, 0 insertions, 0 deletions