Configure LAPIC timer speed to 5ms
This commit is contained in:
@@ -62,7 +62,7 @@ void bootmain (void) {
|
||||
|
||||
bsp_cpu->kproc = kproc_create ();
|
||||
|
||||
lapic_init (1000);
|
||||
lapic_init (5000);
|
||||
|
||||
__asm__ volatile ("sti");
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ static void smp_bootstrap (struct limine_mp_info* mp_info) {
|
||||
syscall_init ();
|
||||
sse_enable ();
|
||||
|
||||
lapic_init (1000);
|
||||
lapic_init (5000);
|
||||
|
||||
DEBUG ("CPU %u is online!\n", thiscpu->id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user