summaryrefslogtreecommitdiff
path: root/mem/port.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mem/port.cc')
-rw-r--r--mem/port.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/mem/port.cc b/mem/port.cc
index 640b72a0e..8c4b3810c 100644
--- a/mem/port.cc
+++ b/mem/port.cc
@@ -36,15 +36,15 @@
void
Port::blobHelper(Addr addr, uint8_t *p, int size, Command cmd)
{
- Request rqst;
+ Request req;
Packet pkt;
- pkt.req = &rqst;
+ pkt.req = &req;
pkt.cmd = cmd;
for (ChunkGenerator gen(addr, size, peerBlockSize());
!gen.done(); gen.next()) {
- pkt.addr = rqst.paddr = gen.addr();
- pkt.size = rqst.size = gen.size();
+ pkt.addr = req.paddr = gen.addr();
+ pkt.size = req.size = gen.size();
pkt.data = p;
sendFunctional(pkt);
p += gen.size();