syscalls: start trying to add nanosleep syscall

This commit is contained in:
2025-09-02 00:15:29 +03:00
parent a459751453
commit 5b922ea773
4 changed files with 38 additions and 1 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ void init_apic_timer()
lapic_write(APIC_REGISTER_TIMER_DIV, 0x3);
// Prepare the PIT to sleep for 10ms (10000µs)
init_pit_timer_apic(1000);
init_pit_timer_apic(10000);
__asm__ __volatile__ ("sti");