hw_x86_64: Jump to actual kernel entry on interrupt
This commit is contained in:
parent
9f825ffb17
commit
58e5f9b2fe
|
@ -14,21 +14,16 @@ _isr_array:
|
||||||
.macro _exception_with_code vector
|
.macro _exception_with_code vector
|
||||||
_isr_entry
|
_isr_entry
|
||||||
push $\vector
|
push $\vector
|
||||||
jmp _dispatch_interrupt
|
jmp _mt_kernel_entry_pic
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro _exception vector
|
.macro _exception vector
|
||||||
_isr_entry
|
_isr_entry
|
||||||
push $0
|
push $0
|
||||||
push $\vector
|
push $\vector
|
||||||
jmp _dispatch_interrupt
|
jmp _mt_kernel_entry_pic
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
/* interrupt dispatcher */
|
|
||||||
_dispatch_interrupt:
|
|
||||||
hlt
|
|
||||||
jmp _dispatch_interrupt
|
|
||||||
|
|
||||||
_exception 0
|
_exception 0
|
||||||
_exception 1
|
_exception 1
|
||||||
_exception 2
|
_exception 2
|
||||||
|
|
Loading…
Reference in New Issue