did some restructuring, got multitasking almost working

This commit is contained in:
2026-06-26 20:05:01 -05:00
parent 57d7d34c6d
commit 43bc0df81a
35 changed files with 481 additions and 307 deletions

12
kernel/scheduler.S Normal file
View 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