mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
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
|
||||
_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
|
||||
|
Loading…
Reference in New Issue
Block a user