From e0942a769925bae81c2355e9a98f577cc6763930 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Mon, 21 Mar 2022 14:24:03 -0700 Subject: Semaphore Schedule on Special Case --- src/exceptions/svc.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exceptions') diff --git a/src/exceptions/svc.S b/src/exceptions/svc.S index d14344b..86f61c0 100644 --- a/src/exceptions/svc.S +++ b/src/exceptions/svc.S @@ -98,6 +98,8 @@ svc_000007: // Semaphore increase teq r2, #0 bne 1b dmb + cmp r1, #1 + bne svc_exit bl sched_semaphore_resurrect ldmfd sp!, {r0-r12,lr} b schedule -- cgit v1.2.1