getting there...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user