Moved interrupt handling to subdir
This commit is contained in:
21
src/interrupts/x86/idt.S
Normal file
21
src/interrupts/x86/idt.S
Normal file
@@ -0,0 +1,21 @@
|
||||
.section .bss
|
||||
|
||||
.align 8
|
||||
.global idt
|
||||
idt:
|
||||
.skip 8 * 256
|
||||
idt_end:
|
||||
|
||||
.section .rodata
|
||||
|
||||
.idt_info:
|
||||
.short idt_end - idt - 1
|
||||
.long idt
|
||||
|
||||
.section .text
|
||||
|
||||
.global _lidt
|
||||
.type _lidt, @function
|
||||
_lidt:
|
||||
|
||||
ret
|
||||
Reference in New Issue
Block a user