diff options
author | Christian Cunningham <cc@localhost> | 2022-03-11 13:41:49 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-11 13:41:49 -0800 |
commit | 0b812480a8b81607802cdceb273b69680cd5082c (patch) | |
tree | 4bff9ed959dd91fee4d647c8c1e12f84f78ca777 /src/exceptions | |
parent | ad9e577e8b2f6431d48a6a64fd95aff432e48441 (diff) |
Statically Allocated Scheduling
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/svc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exceptions/svc.S b/src/exceptions/svc.S index 1b0cc1f..3fb534e 100644 --- a/src/exceptions/svc.S +++ b/src/exceptions/svc.S @@ -39,7 +39,7 @@ svc_000003: // Free Thread in Table ldr r1, [r2, #0x1c] // thread offset mov r0, #0 ldr r2, =thread_table - add r2, r1 + add r2, r1, r2 str r0, [r2] b svc_exit svc_000004: // Lock Lock (usr_r0 = struct Lock*) |