The register specification for sleeping is now __ so you can build with non-gnu C standards
1 files changed, 1 insertions(+), 1 deletions(-) M kernel/src/apic.c
M kernel/src/apic.c +1 -1
@@ 189,7 189,7 @@ void apic_timer_set_us(uint64_t us) { } void apic_timer_sleep_us(uint64_t us) { - register bool sleeping asm("rax") = true; + register bool sleeping __asm__("rax") = true; idt_set_isr(0xFE, (uint64_t) sleep, 2); apic_timer_init(0xFE, false);