asm -> asm volatile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2022-12-17 14:32:24 +01:00
parent acb0ab1cd7
commit 59c9d8f119
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -288,7 +288,7 @@ static void setup_idt()
static IDTR idtr; static IDTR idtr;
idtr.limit = 0x0FFF; idtr.limit = 0x0FFF;
idtr.offset = (u64)idt; idtr.offset = (u64)idt;
asm("lidt %0" : : "m"(idtr)); asm volatile("lidt %0" : : "m"(idtr));
} }
// Interrupt handling // Interrupt handling