diff options
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/simple/cpu.cc | 17 | ||||
-rw-r--r-- | cpu/simple/cpu.hh | 4 |
2 files changed, 20 insertions, 1 deletions
diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index 4937e5deb..02673119a 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -127,8 +127,23 @@ SimpleCPU::CpuPort::recvRetry() return cpu->processRetry(); } +void +SimpleCPU::CpuPort::writeBlobFunctional(Addr addr, uint8_t *p, int size) +{ + int blksize = sendBlockSizeQuery(); + //Use Stever's break it inot block size chunk code + //then send functional + blksize |= blksize; +} - +void +SimpleCPU::CpuPort::readBlobFunctional(Addr addr, uint8_t *p, int size) +{ + int blksize = sendBlockSizeQuery(); + //Use Stever's break it inot block size chunk code + //then send functional + blksize |= blksize; +} SimpleCPU::SimpleCPU(Params *p) : BaseCPU(p), icachePort(this), 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; |