mem-cache: Add match functions to QueueEntry
[gem5.git] / src / mem / dram_ctrl.cc
index e89a47a724df9b7cb9fef134c3d8a318f03cd5f5..429e9ef5e9952bb527a23a04dca03ca79c7e342f 100644 (file)
@@ -303,8 +303,8 @@ DRAMCtrl::writeQueueFull(unsigned int neededEntries) const
 }
 
 DRAMCtrl::DRAMPacket*
-DRAMCtrl::decodeAddr(PacketPtr pkt, Addr dramPktAddr, unsigned size,
-                       bool isRead)
+DRAMCtrl::decodeAddr(const PacketPtr pkt, Addr dramPktAddr, unsigned size,
+                     bool isRead) const
 {
     // decode the address based on the address mapping scheme, with
     // Ro, Ra, Co, Ba and Ch denoting row, rank, column, bank and