diff options
Diffstat (limited to 'mem/port.cc')
-rw-r--r-- | mem/port.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mem/port.cc b/mem/port.cc index 8ce1831db..640b72a0e 100644 --- a/mem/port.cc +++ b/mem/port.cc @@ -41,8 +41,8 @@ Port::blobHelper(Addr addr, uint8_t *p, int size, Command cmd) pkt.req = &rqst; pkt.cmd = cmd; - for (ChunkGenerator gen(addr, size, sendBlockSizeQuery()); !gen.done(); gen.next()) - { + for (ChunkGenerator gen(addr, size, peerBlockSize()); + !gen.done(); gen.next()) { pkt.addr = rqst.paddr = gen.addr(); pkt.size = rqst.size = gen.size(); pkt.data = p; |