summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-10-17 01:00:27 +0200
committerMichal Idziorek <m.i@gmx.at>2014-10-17 01:00:27 +0200
commit3983a157056f10651f120cf39c5d3637aa956903 (patch)
tree5d956c9dfb4c625d975a2bc035fd32aa1950b84b /kernel/kernel.c
parent1580f8b4401b5f7e6ead12c94cafd42bb045ec6b (diff)
added simple syscall interface
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c6
1 files changed, 1 insertions, 5 deletions
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
//