compiled newlib, need to hook up the system calls

This commit is contained in:
2026-06-28 17:58:58 -05:00
parent 43bc0df81a
commit 97357f3170
337 changed files with 47955 additions and 114 deletions

View File

@@ -14,7 +14,7 @@ isr\num:
jmp isr_common_stub
.endm
.extern common_interrupt_handler
.extern common_interrupt_handler # interrupts.c
isr_common_stub:
pushal
@@ -40,18 +40,20 @@ ISR_ERRCODE 14 # Page Fault (Has Error Code!)
// This is a special case so we need to handle it for task switching
.global isr32
.extern switch_context # scheduler.c
.extern send_eoi_master # drivers/pic/pic.c
isr32:
cli
pushal
pushl %esp
call schedule_next_task
call switch_context
movl %eax, %esp
call send_eoi_master
popal
sti
iret