From 83e07c07f941ab496fa9cfef4807719a16b51066 Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Tue, 6 Oct 2015 18:08:28 -0500 Subject: ext: fix SST connector The renamings in changesets 8f5993cf (2015-03-23) "mem: rename Locked/LOCKED to LockedRMW/LOCKED_RMW" and fdd4a895 (2015-07-03) "mem: Split WriteInvalidateReq into write and invalidate" broke the SST connector. This commit repeats those renamings in ext/sst. --- ext/sst/ExtSlave.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/sst/ExtSlave.cc') diff --git a/ext/sst/ExtSlave.cc b/ext/sst/ExtSlave.cc index 57df21d92..b98ff2db1 100644 --- a/ext/sst/ExtSlave.cc +++ b/ext/sst/ExtSlave.cc @@ -126,7 +126,7 @@ ExtSlave::recvTimingReq(PacketPtr pkt) else if ((::MemCmd::Command)pkt->cmd.toInt() == ::MemCmd::StoreCondReq) ev->setStoreConditional(); - if (pkt->req->isLocked()) ev->setFlag(MemEvent::F_LOCKED); + if (pkt->req->isLockedRMW()) ev->setFlag(MemEvent::F_LOCKED); if (pkt->req->isUncacheable()) ev->setFlag(MemEvent::F_NONCACHEABLE); if (pkt->req->hasContextId()) ev->setGroupId(pkt->req->contextId()); // Prefetches not working with SST; it maybe be dropping them, treating them @@ -184,7 +184,7 @@ ExtSlave::handleEvent(Event* ev) // make Req/Pkt for Snoop/no response needed // presently no consideration for masterId, packet type, flags... RequestPtr req = new Request(event->getAddr(), event->getSize(), 0, 0); - auto pkt = new Packet(req, ::MemCmd::InvalidationReq); + auto pkt = new Packet(req, ::MemCmd::InvalidateReq); // Clear out bus delay notifications pkt->headerDelay = pkt->payloadDelay = 0; -- cgit v1.2.3