1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

kernel/entry.asm: reorder IRQ stubs

This commit is contained in:
daniel-k 2016-08-29 14:22:07 +02:00
parent cd3d953bce
commit 9ee0e10624

View file

@ -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