diff options
author | Christian Cunningham <cc@localhost> | 2022-03-17 08:26:08 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-17 08:26:08 -0700 |
commit | 36413cc8227d25f3b6d3c3c6f0311403adf7428f (patch) | |
tree | 0c594184e7a3b7217fc0b7a67e365f5a8978216d /src/exceptions | |
parent | a9f63b8cdb930d079cc69d492fe44dc8224c1e03 (diff) |
Fixed Mutex Block Return Address
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/svc.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exceptions/svc.S b/src/exceptions/svc.S index 7c8a9cc..88716db 100644 --- a/src/exceptions/svc.S +++ b/src/exceptions/svc.S @@ -64,6 +64,7 @@ svc_000004_delay_mutex: // Wait-queue the current thread // r0 = struct Lock* m bl sched_mutex_yield ldmfd sp!, {r0-r12,lr} + sub lr, #4 b schedule svc_000005: // Release Lock ldr r0, [sp, #0] // struct Lock* m |