summaryrefslogtreecommitdiff
path: root/cpu/simple/cpu.hh
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-02-21 02:15:02 -0500
committerRon Dreslinski <rdreslin@umich.edu>2006-02-21 02:15:02 -0500
commit562efe214c35c0d40c810a11e94cc6e08c32dda5 (patch)
treed4789b3ca1b0d24842185fba381c5373e8d7f704 /cpu/simple/cpu.hh
parent75152fcaf709135d5f9668875234aed51d6334c4 (diff)
downloadgem5-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 'cpu/simple/cpu.hh')
-rw-r--r--cpu/simple/cpu.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/simple/cpu.hh b/cpu/simple/cpu.hh
index 6df553fe2..94f6f190a 100644
--- a/cpu/simple/cpu.hh
+++ b/cpu/simple/cpu.hh
@@ -88,6 +88,10 @@ class SimpleCPU : public BaseCPU
virtual void recvStatusChange(Status status);
virtual Packet *recvRetry();
+
+ virtual void readBlobFunctional(Addr addr, uint8_t *p, int size);
+
+ virtual void writeBlobFunctional(Addr addr, uint8_t *p, int size);
};
CpuPort icachePort;