X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/37fb1e9cee287c9ae8c065ff517c508eb5f9d7dd..05b7549a0f980efa33265a091a5174a78851ce05:/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..11fe3fd 100644 --- a/lunaix-os/kernel/asm/x86/interrupt.S +++ b/lunaix-os/kernel/asm/x86/interrupt.S @@ -19,6 +19,12 @@ 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 + interrupt_wrapper: pushl %esp pushl %esi @@ -34,9 +40,8 @@ subl $16, %esp movl %eax, (%esp) - call interrupt_handler - popl %eax - movl %eax, %esp + call intr_handler + popl %esp popl %eax popl %ebx