did some restructuring, got multitasking almost working
This commit is contained in:
12
kernel/scheduler.S
Normal file
12
kernel/scheduler.S
Normal file
@@ -0,0 +1,12 @@
|
||||
.code32
|
||||
.extern schedule_next_task
|
||||
.global yield
|
||||
yield:
|
||||
cli
|
||||
pushal
|
||||
push %esp
|
||||
call schedule_next_task
|
||||
movl %eax, %esp
|
||||
popal
|
||||
sti
|
||||
ret
|
||||
Reference in New Issue
Block a user