summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/HALKit/AMD64/HalInterruptAPI.asm
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/HALKit/AMD64/HalInterruptAPI.asm')
-rw-r--r--dev/kernel/HALKit/AMD64/HalInterruptAPI.asm15
1 files changed, 2 insertions, 13 deletions
diff --git a/dev/kernel/HALKit/AMD64/HalInterruptAPI.asm b/dev/kernel/HALKit/AMD64/HalInterruptAPI.asm
index 0634b0ea..60a20b77 100644
--- a/dev/kernel/HALKit/AMD64/HalInterruptAPI.asm
+++ b/dev/kernel/HALKit/AMD64/HalInterruptAPI.asm
@@ -232,17 +232,15 @@ IntExp 30
IntNormal 31
[extern idt_handle_scheduler]
+[extern kApicBaseAddress]
__NE_INT_32:
- cld
-
push rax
mov rcx, rsp
call idt_handle_scheduler
pop rax
- mov al, 0x20
- out 0x20, al
+ mov dword [kApicBaseAddress+0xB0], 0
o64 iret
@@ -413,12 +411,3 @@ kInterruptVectorTable:
dq __NE_INT_%+i
%assign i i+1
%endrep
-
-section .text
-
-global sched_jump_to_task
-
-;; Jump to the task from its stack frame.
-sched_jump_to_task:
- mov rsp, rcx
- ret \ No newline at end of file