ptos/amd64: cpu: Add Local APIC timer ISR stub
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -143,3 +143,12 @@ TrapPageFault:
|
||||
1: cli
|
||||
hlt
|
||||
jmp 1b
|
||||
|
||||
.globl LapicTmrIsr
|
||||
LapicTmrIsr:
|
||||
INTR_ENTRY($0x81)
|
||||
mov %rsp, %rdi
|
||||
call HalContextSwitch
|
||||
1: cli
|
||||
hlt
|
||||
jmp 1b
|
||||
|
||||
Reference in New Issue
Block a user