X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/7b0dccbab69e806a63c4504c3ddb82e45241985b..80890b99fec2630ef0a1a0805d894c3d86c16506:/lunaix-os/kernel/asm/x86/interrupt.S diff --git a/lunaix-os/kernel/asm/x86/interrupt.S b/lunaix-os/kernel/asm/x86/interrupt.S index 9d39273..f05c3b8 100644 --- a/lunaix-os/kernel/asm/x86/interrupt.S +++ b/lunaix-os/kernel/asm/x86/interrupt.S @@ -19,6 +19,13 @@ isr_template LUNAIX_SYS_PANIC + isr_template APIC_ERROR_IV + isr_template APIC_LINT0_IV + isr_template APIC_TIMER_IV + isr_template APIC_SPIV_IV + isr_template RTC_TIMER_IV + isr_template PC_KBD_IV + interrupt_wrapper: pushl %esp pushl %esi @@ -34,9 +41,8 @@ subl $16, %esp movl %eax, (%esp) - call interrupt_handler - popl %eax - movl %eax, %esp + call intr_handler + popl %esp popl %eax popl %ebx