thermosphere: unfuck sw breakpoint logic

This commit is contained in:
TuxSH
2020-01-21 01:27:47 +00:00
parent c64ccd86ee
commit 3e8bd764d5
4 changed files with 65 additions and 48 deletions

View File

@@ -42,6 +42,7 @@ void executeFunctionOnAllCoresButSelf(ExecutedFunction fun, void *args, bool syn
void executeFunctionInterruptHandler(u32 srcCore)
{
CoreCtx *ctx = &g_coreCtxs[srcCore];
currentCoreCtx->executedFunctionSrcCore = srcCore;
ctx->executedFunction(ctx->executedFunctionArgs);
if (ctx->executedFunctionSync) {
barrierWait(&ctx->executedFunctionBarrier);