From 5f6c2bcf0d2f9c416134aba224d90a605f216818 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 28 Sep 2018 11:13:06 +0200 Subject: struggling with scheduler and userprog to view ppm files --- kernel/smp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel/smp.c') diff --git a/kernel/smp.c b/kernel/smp.c index e204b32..f23d15a 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -65,10 +65,9 @@ void run_smp() apic_enable(); klog("Setup the LAPIC Timer on CPU with lapic_id=0x%x ...",apic_id()); - apic_init_timer(2);// freq 2HZ + apic_init_timer(1);// freq x HZ klog("Enable Interrupts on CPU with lapic_id=0x%x ...",apic_id()); - asm_smp_unlock(); smp_set(SMP_APIC_ID,apic_id()); -- cgit v1.2.3