summaryrefslogtreecommitdiff
path: root/src/mem/dram_ctrl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/dram_ctrl.hh')
-rw-r--r--src/mem/dram_ctrl.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/dram_ctrl.hh b/src/mem/dram_ctrl.hh
index d09223b4b..54826e0a8 100644
--- a/src/mem/dram_ctrl.hh
+++ b/src/mem/dram_ctrl.hh
@@ -839,8 +839,8 @@ class DRAMCtrl : public QoS::MemCtrl
* @param isRead Is the request for a read or a write to DRAM
* @return A DRAMPacket pointer with the decoded information
*/
- DRAMPacket* decodeAddr(PacketPtr pkt, Addr dramPktAddr, unsigned int size,
- bool isRead);
+ DRAMPacket* decodeAddr(const PacketPtr pkt, Addr dramPktAddr,
+ unsigned int size, bool isRead) const;
/**
* The memory schduler/arbiter - picks which request needs to