changeset 2c263c3426fa in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=2c263c3426fa
description:
        ext: fix SST connector

        Writeback no longer a MemCmd.

diffstat:

 ext/sst/ExtSlave.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r daf9f91b11e9 -r 2c263c3426fa ext/sst/ExtSlave.cc
--- a/ext/sst/ExtSlave.cc       Mon Dec 07 16:42:16 2015 -0600
+++ b/ext/sst/ExtSlave.cc       Tue Dec 08 14:30:31 2015 -0600
@@ -92,7 +92,7 @@
             initPackets = new std::list<MemEvent*>;
         }
         ::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<uint8_t>());
@@ -126,7 +126,7 @@
     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
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to