diff options
author | Christian Cunningham <cc@localhost> | 2022-03-18 12:57:53 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-18 12:57:53 -0700 |
commit | 94f2b0b8f48f5715975446c637a078008fb7e941 (patch) | |
tree | 2fb1744748e3bd4c93b2dae65a6033763c17e737 /src/exceptions | |
parent | 7ea4a4e970ae4a72ac7b58e98d232662d580ed47 (diff) |
Generalized Queue
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/svc.S | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/exceptions/svc.S b/src/exceptions/svc.S index ee083ca..8494281 100644 --- a/src/exceptions/svc.S +++ b/src/exceptions/svc.S @@ -27,14 +27,7 @@ svc_000001: // SYS_TIME svc_000002: // Run Schedule ldmfd sp!, {r0-r12,lr} b schedule -svc_000003: // Free Thread in Table - ldr r3, =scheduler - ldr r2, [r3, #0] // struct Thread* rthread - ldr r1, [r2, #0x1c] // thread offset - mov r0, #0 - ldr r2, =thread_table - add r2, r1, r2 - str r0, [r2] +svc_000003: // Unused b svc_exit svc_000004: // Lock Lock (usr_r0 = struct Lock*) ldr r3, =scheduler |