ptos/amd64: cpu: Implement context switch groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -149,6 +149,5 @@ LapicTmrIsr:
|
||||
INTR_ENTRY($0x81)
|
||||
mov %rsp, %rdi
|
||||
call HalContextSwitch
|
||||
1: cli
|
||||
hlt
|
||||
jmp 1b
|
||||
call MdLapicSendEoi
|
||||
INTR_EXIT()
|
||||
|
||||
Reference in New Issue
Block a user