diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-21 12:20:02 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-02-21 12:20:02 -0500 |
commit | 00264ff1b87dc649fbe0fb857f38b9b057437bb4 (patch) | |
tree | 5b6880689b5bfba9be8c796ee2001a466c72a0be /mem/port.cc | |
parent | 8a753f6ae23d9f2c00be2230344d81e031b62b4c (diff) | |
download | gem5-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 '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; |