thermosphere: add proper memory/instruction barriers for breakpoint stuff

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

View File

@@ -56,6 +56,7 @@ static void commitAndBroadcastWatchpointHandler(void *p)
static inline void commitAndBroadcastWatchpoints(void)
{
__dmb_sy();
executeFunctionOnAllCores(commitAndBroadcastWatchpointHandler, NULL, true);
}
@@ -331,4 +332,4 @@ int removeAllWatchpoints(void)
recursiveSpinlockUnlock(&g_watchpointManager.lock);
return 0;
}
}