From 6bed6e0352a68723ea55017b3e09a8c279af11ec Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Fri, 24 Jan 2014 15:29:30 -0600 Subject: cpu: Add CPU support for generatig wake up events when LLSC adresses are snooped. This patch add support for generating wake-up events in the CPU when an address that is currently in the exclusive state is hit by a snoop. This mechanism is required for ARMv8 multi-processor support. --- src/arch/alpha/locked_mem.hh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/arch/alpha') diff --git a/src/arch/alpha/locked_mem.hh b/src/arch/alpha/locked_mem.hh index e62ed1654..253b94be4 100644 --- a/src/arch/alpha/locked_mem.hh +++ b/src/arch/alpha/locked_mem.hh @@ -93,10 +93,15 @@ handleLockedRead(XC *xc, Request *req) xc->setMiscReg(MISCREG_LOCKFLAG, true); } +template +inline void +handleLockedSnoopHit(XC *xc) +{ +} template inline bool -handleLockedWrite(XC *xc, Request *req) +handleLockedWrite(XC *xc, Request *req, Addr cacheBlockMask) { if (req->isUncacheable()) { // Funky Turbolaser mailbox access...don't update -- cgit v1.2.3