diff -r f348cf78072c src/arch/mips/locked_mem.hh --- a/src/arch/mips/locked_mem.hh Thu Jan 12 10:15:00 2012 -0500 +++ b/src/arch/mips/locked_mem.hh Fri Jan 13 03:22:43 2012 +0800 @@ -50,8 +50,8 @@ inline void handleLockedRead(XC *xc, Request *req) { - xc->setMiscReg(MISCREG_LLADDR, req->getPaddr() & ~0xf); - xc->setMiscReg(MISCREG_LLFLAG, true); + xc->setMiscRegNoEffect(MISCREG_LLADDR, req->getPaddr() & ~0xf); + xc->setMiscRegNoEffect(MISCREG_LLFLAG, true); DPRINTF(LLSC, "[tid:%i]: Load-Link Flag Set & Load-Link" " Address set to %x.\n", req->threadId(), req->getPaddr() & ~0xf); @@ -74,7 +74,7 @@ // Lock flag not set or addr mismatch in CPU; // don't even bother sending to memory system req->setExtraData(0); - xc->setMiscReg(MISCREG_LLFLAG, false); + xc->setMiscRegNoEffect(MISCREG_LLFLAG, false); // the rest of this code is not architectural; // it's just a debugging aid to help detect