hw_x86_64: Jump to actual kernel entry on interrupt

This commit is contained in:
Adrian-Ken Rueegsegger 2015-02-21 01:10:37 +01:00 committed by Christian Helmuth
parent 9f825ffb17
commit 58e5f9b2fe
1 changed files with 2 additions and 7 deletions

View File

@ -14,21 +14,16 @@ _isr_array:
.macro _exception_with_code vector
_isr_entry
push $\vector
jmp _dispatch_interrupt
jmp _mt_kernel_entry_pic
.endm
.macro _exception vector
_isr_entry
push $0
push $\vector
jmp _dispatch_interrupt
jmp _mt_kernel_entry_pic
.endm
/* interrupt dispatcher */
_dispatch_interrupt:
hlt
jmp _dispatch_interrupt
_exception 0
_exception 1
_exception 2