summaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index ae5036a..f8b6571 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -142,15 +142,13 @@ void kernel_main(uint32_t initial_stack, int mp)
// init spinlocks
init_spinlocks();
- //
- //vesa_init_doublebuff();
//
// Start the other Processors (also before paging !)
//
smp_log_procdata(&procdata);
- smp_start_aps(&procdata,0x80000); // starts at 0x90000
+// smp_start_aps(&procdata,0x80000); // starts at 0x90000
// but it will be copied over mbr
@@ -194,14 +192,22 @@ void kernel_main(uint32_t initial_stack, int mp)
// For now this starts three "tasks" which are scheduled
// round robin style.
//
- task_init();
+ //task_init();
//
// Just hang around here, if its reached.
// we do our tasks anyway. on the next clock tick.
//
- while(1)asm("hlt");
+ //
+ //vesa_init_doublebuff();
+ while(1)
+ {
+
+ // lock_spin(0);
+// log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"x: %d y:%d",mouse_get_x(), mouse_get_y());
+ // lock_release(0);
+ }
}