X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/f1036cb8c8899f38e97e45d345a0c28585d9a000..b91be0033265b5b6bd716bd39cb0971da41906c4:/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 deleted file mode 100644 index 10fa393..0000000 --- a/lunaix-os/kernel/asm/x86/interrupt.S +++ /dev/null @@ -1,29 +0,0 @@ -.macro isr_template vector, no_error_code=1 - .global _asm_isr\vector - .type _asm_isr\vector, @function - _asm_isr\vector: - .if \no_error_code - pushl $0x0 - .endif - pushl $\vector - jmp interrupt_wrapper -.endm - -.section .text - isr_template 0 - isr_template 13, no_error_code=0 - isr_template 14, no_error_code=0 - - interrupt_wrapper: - - movl %esp, %eax - andl $0xfffffff0, %esp - subl $16, %esp - movl %eax, (%esp) - - call interrupt_handler - pop %eax - movl %eax, %esp - addl $8, %esp - - iret \ No newline at end of file