From 3983a157056f10651f120cf39c5d3637aa956903 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Fri, 17 Oct 2014 01:00:27 +0200 Subject: added simple syscall interface --- kernel/kernel.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'kernel/kernel.c') diff --git a/kernel/kernel.c b/kernel/kernel.c index 04eaa50..811f4c1 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -30,7 +30,7 @@ void kernel_ap() cpu_counter[p]++; lock_spin(0); - if(cpu_counter[p]%1000000==0)log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"cpu[%d] %d",p,cpu_counter[p]); + if(cpu_counter[p]%1000000==0)log(FOOLOS_MODULE_NAME,FOOLOS_LOG_DEBUG,"cpu[%d] %d",p,cpu_counter[p]); lock_release(0); } } @@ -116,7 +116,6 @@ void kernel_main(uint32_t initial_stack, int mp) // mouse driver init (before interrupts) mouse_init(); - // // Setup Interrupts (code segment: 0x08) // @@ -128,7 +127,6 @@ void kernel_main(uint32_t initial_stack, int mp) // smp_processors procdata; - // try to find acpi tables if(!acpi_find(&procdata)) if(!mp_find(&procdata)) panic(FOOLOS_MODULE_NAME,"ACPI and MP search failed! I do not want to continue!"); @@ -148,7 +146,6 @@ void kernel_main(uint32_t initial_stack, int mp) // init spinlocks init_spinlocks(); - // // Start the other Processors (also before paging for some reason!) // @@ -189,7 +186,6 @@ void kernel_main(uint32_t initial_stack, int mp) // shell_init(); - // // Initialize Multitasking // -- cgit v1.2.3