Wrote new ISR for AP entry

This commit is contained in:
2021-04-15 04:51:23 -05:00
parent 8eafcf899b
commit d2617e4488
3 changed files with 16 additions and 2 deletions

View File

@@ -24,6 +24,15 @@ void isr_double_fault(void* frame, unsigned int error)
asm("hlt");
}
__attribute__ ((interrupt, naked))
void isr_ap_start(void* frame)
{
asm(".code16");
//...
asm(".code32");
// do something useful
}
__attribute__ ((interrupt))
void isr_syscall(void* frame)
{