ptos/amd64: cpu: Implement context switch groundwork

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
2026-07-14 22:14:57 +00:00
parent 134a214bde
commit fd056425ae
2 changed files with 51 additions and 4 deletions
+2 -3
View File
@@ -149,6 +149,5 @@ LapicTmrIsr:
INTR_ENTRY($0x81)
mov %rsp, %rdi
call HalContextSwitch
1: cli
hlt
jmp 1b
call MdLapicSendEoi
INTR_EXIT()