12 lines
170 B
ArmAsm
12 lines
170 B
ArmAsm
|
|
.code32
|
||
|
|
.extern schedule_next_task
|
||
|
|
.global yield
|
||
|
|
yield:
|
||
|
|
cli
|
||
|
|
pushal
|
||
|
|
push %esp
|
||
|
|
call schedule_next_task
|
||
|
|
movl %eax, %esp
|
||
|
|
popal
|
||
|
|
sti
|
||
|
|
ret
|