From 7c4a6604b95109f44bb5777a06df4091702cf77b Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Tue, 8 Dec 2015 14:30:31 -0600 Subject: ext: fix SST connector Writeback no longer a MemCmd. --- ext/sst/ExtSlave.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/sst/ExtSlave.cc b/ext/sst/ExtSlave.cc index b98ff2db1..7575e46a6 100644 --- a/ext/sst/ExtSlave.cc +++ b/ext/sst/ExtSlave.cc @@ -92,7 +92,7 @@ ExtSlave::recvFunctional(PacketPtr pkt) initPackets = new std::list; } ::MemCmd::Command pktCmd = (::MemCmd::Command)pkt->cmd.toInt(); - assert(pktCmd == ::MemCmd::WriteReq || pktCmd == ::MemCmd::Writeback); + assert(pktCmd == ::MemCmd::WriteReq); Addr a = pkt->getAddr(); MemEvent* ev = new MemEvent(comp, a, a, GetX); ev->setPayload(pkt->getSize(), pkt->getPtr()); @@ -126,7 +126,7 @@ ExtSlave::recvTimingReq(PacketPtr pkt) else if ((::MemCmd::Command)pkt->cmd.toInt() == ::MemCmd::StoreCondReq) ev->setStoreConditional(); - if (pkt->req->isLockedRMW()) 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 -- cgit v1.2.3