Intermediate register for LIDT so that it compiles with the new memory model.
parent
b19b999489
commit
b7f0c48873
|
@ -13,7 +13,7 @@ struct {
|
|||
|
||||
void interrupts_lidt(void)
|
||||
{
|
||||
__asm__ __volatile__("lidt (%0)" : : "p"(&g_Interrupts.IDTPointer));
|
||||
__asm__ __volatile__("movq %0, %%rax; lidt (%%rax)" : : "p"(&g_Interrupts.IDTPointer));
|
||||
}
|
||||
|
||||
u8 interrupts_init_idt(void)
|
||||
|
|
Loading…
Reference in New Issue