diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-21 11:27:53 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-21 11:27:53 -0500 |
commit | 8a753f6ae23d9f2c00be2230344d81e031b62b4c (patch) | |
tree | 6b534d0ace3f32b8bcb65cd13d821cde01bc11cf /cpu/simple/cpu.hh | |
parent | 00be4e8510f587603cf358d615d19d8bbf8ec57e (diff) | |
download | gem5-8a753f6ae23d9f2c00be2230344d81e031b62b4c.tar.xz |
Move read/writeBlob functions to Port class;
clean up implementation a little.
SConscript:
Add mem/port.cc
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
Move read/writeBlob functions to base Port class.
mem/port.hh:
Implement read/writeBlob functions.
No need for them to be virtual since the proxy
object (now called TranslatingPort) is not a
subclass of Port.
mem/port.cc:
Implement read/writeBlob functions.
--HG--
extra : convert_revision : a3660eaa43a7c286aca962f17fa32fbd42bf1fa6
Diffstat (limited to 'cpu/simple/cpu.hh')
-rw-r--r-- | cpu/simple/cpu.hh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpu/simple/cpu.hh b/cpu/simple/cpu.hh index 94f6f190a..6df553fe2 100644 --- a/cpu/simple/cpu.hh +++ b/cpu/simple/cpu.hh @@ -88,10 +88,6 @@ 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; |