getting there...

This commit is contained in:
2026-07-04 00:26:20 -05:00
parent ab5a1ecb6b
commit 0b98ac0273
6 changed files with 49 additions and 61 deletions

View File

@@ -45,28 +45,12 @@ ISR_ERRCODE 14 # Page Fault (Has Error Code!)
isr32:
cli
pushal
xorl %eax, %eax
movw %ds, %ax
pushl %eax
movw $0x10, %ax # Load Kernel Data Segment descriptor
movw %ax, %ds
movw %ax, %es
movw %ax, %fs
movw %ax, %gs
call send_eoi_master
pushl %esp
call switch_context
movl %eax, %esp
popl %eax
movw %ax, %ds
movw %ax, %es
movw %ax, %fs
movw %ax, %gs
call send_eoi_master
popal
sti