summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/hal/idt_entries.s
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/hal/idt_entries.s')
-rw-r--r--arch/x86_64/hal/idt_entries.s9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/x86_64/hal/idt_entries.s b/arch/x86_64/hal/idt_entries.s
index 204fa93..0bed23d 100644
--- a/arch/x86_64/hal/idt_entries.s
+++ b/arch/x86_64/hal/idt_entries.s
@@ -42,18 +42,15 @@
1:
.endm
-.extern __int_handles
+.extern __int_handle_body
.type __isr_header @function
__isr_header:
push_state
cld
movq %rsp, %rdi
-
-isr_break:
- movq 0x78(%rdi), %rax
- movq __int_handles(,%rax,8), %rbx
- call %rbx
+ call __int_handle_body
+ movq %rax, %rsp
pop_state
addq $16, %rsp