This commit is contained in:
parent
acb0ab1cd7
commit
59c9d8f119
@ -288,7 +288,7 @@ static void setup_idt()
|
||||
static IDTR idtr;
|
||||
idtr.limit = 0x0FFF;
|
||||
idtr.offset = (u64)idt;
|
||||
asm("lidt %0" : : "m"(idtr));
|
||||
asm volatile("lidt %0" : : "m"(idtr));
|
||||
}
|
||||
|
||||
// Interrupt handling
|
||||
|
Loading…
Reference in New Issue
Block a user