syscall: i am so stupid it physically hurts

This commit is contained in:
anna 2021-08-01 22:54:59 +02:00
parent 8422ab0d56
commit 930cbc26e1
Signed by: fef
GPG key ID: EC22E476DC2D3D84

View file

@ -25,12 +25,12 @@ func_begin irq_svc
* like in irq_pend_sv, we save everything on the stack to make early * like in irq_pend_sv, we save everything on the stack to make early
* process switching possible in case the syscall is blocking. * process switching possible in case the syscall is blocking.
*/ */
push {r3-r11,lr} /* r4-r7 */ push {r4-r11,lr}
mov r0, sp mov r0, sp
bl arch_enter /* arch_enter(sp); */ bl arch_enter /* arch_enter(sp); */
pop {r3-r11,lr} pop {r4-r11,lr}
bx lr bx lr