- In *cache_unit.cc* builDataPacket function has the following piece of code

  // Check for LL/SC and if so change command


    if (cache_req->memReq->isLLSC() && cache_req->pktCmd == MemCmd::ReadReq) {

         cache_req->pktCmd = MemCmd::LoadLockedReq;

       }


cache_req->memReq-> isLLSC() in turns checks if flag is set (in the
file request.hh)


Request.hh has the following code

bool isLLSC() const { return _flags.isSet(LLSC); }


I am not to find the place where this LLSC flag is actually set. (I
wasn't able to find any code that used SetFlags(LLSC)). Am I missing
something here?


Any help would be really appreciated.


~ Anusha
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to