diff --git a/hermit/arch/x86/kernel/entry.asm b/hermit/arch/x86/kernel/entry.asm index d3ced9bf9..46a000ea0 100644 --- a/hermit/arch/x86/kernel/entry.asm +++ b/hermit/arch/x86/kernel/entry.asm @@ -361,6 +361,20 @@ isrstub_pseudo_error 9 %assign i i+1 %endrep +global wakeup +align 64 +wakeup: + push byte 0 ; pseudo error code + push byte 121 + jmp common_stub + +global mmnif_irq +align 64 +mmnif_irq: + push byte 0 ; pseudo error code + push byte 122 + jmp common_stub + global apic_timer align 64 apic_timer: @@ -396,20 +410,6 @@ apic_svr: push byte 127 jmp common_stub -global wakeup -align 64 -wakeup: - push byte 0 ; pseudo error code - push byte 121 - jmp common_stub - -global mmnif_irq -align 64 -mmnif_irq: - push byte 0 ; pseudo error code - push byte 122 - jmp common_stub - extern irq_handler extern get_current_stack extern finish_task_switch