summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-02-21 12:20:02 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-02-21 12:20:02 -0500
commit00264ff1b87dc649fbe0fb857f38b9b057437bb4 (patch)
tree5b6880689b5bfba9be8c796ee2001a466c72a0be /dev
parent8a753f6ae23d9f2c00be2230344d81e031b62b4c (diff)
downloadgem5-00264ff1b87dc649fbe0fb857f38b9b057437bb4.tar.xz
Rename port methods:
sendBlockSizeQuery() -> peerBlockSize() recvBlockSizeQuery() -> deviceBlockSize() After seeing how this gets used in practice, the send/recv*Query names just don't make a lot of sense. dev/io_device.cc: mem/port.cc: sendBlockSizeQuery() -> peerBlockSize() mem/port.hh: sendBlockSizeQuery() -> peerBlockSize() recvBlockSizeQuery() -> deviceBlockSize() --HG-- extra : convert_revision : e96349fb443979b85899a5248bd7cd8665e23ef0
Diffstat (limited to 'dev')
-rw-r--r--dev/io_device.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/io_device.cc b/dev/io_device.cc
index 1ed2a060a..b580c2805 100644
--- a/dev/io_device.cc
+++ b/dev/io_device.cc
@@ -98,7 +98,8 @@ DmaPort::dmaAction(Memory::Command cmd, DmaPort port, Addr addr, int size,
completionEvent = event;
- for (ChunkGenerator gen(addr, size, sendBlockSizeQuery()); !gen.done(); gen.next()) {
+ for (ChunkGenerator gen(addr, size, peerBlockSize());
+ !gen.done(); gen.next()) {
Packet *pkt = new Packet(basePkt);
Request *req = new Request(baseReq);
pkt->addr = gen.addr();