thermosphere: add proper memory/instruction barriers for breakpoint stuff

This commit is contained in:
TuxSH
2020-01-09 22:47:22 +00:00
parent 1eb60a2a52
commit a6d191bf4b
6 changed files with 19 additions and 3 deletions

View File

@@ -49,6 +49,7 @@ static void commitAndBroadcastBreakpointHandler(void *p)
static inline void commitAndBroadcastBreakpoints(void)
{
__dmb_sy();
executeFunctionOnAllCores(commitAndBroadcastBreakpointHandler, NULL, true);
}
@@ -157,4 +158,4 @@ int removeAllBreakpoints(void)
recursiveSpinlockUnlock(&g_breakpointManager.lock);
return 0;
}
}