diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/kernel.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index dd5cc15..1500919 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -33,6 +33,7 @@ void kernel_ap() } +// mouse coords testing, move away volatile int16_t mouse_x; volatile int16_t mouse_y; @@ -47,8 +48,8 @@ void kernel_main(uint32_t initial_stack, int mp) - /// TODO -/////// SYMMETRIC MULTIPROCESSING, APS get caought here, move it away /// + /// TODO + /////// SYMMETRIC MULTIPROCESSING, APS get caought here, move it away /// // catch the APs (Application Processors) if(mp==1) { @@ -62,7 +63,7 @@ void kernel_main(uint32_t initial_stack, int mp) proc=c1=c2=c3=0; for(int i=0;i<SMP_MAX_PROC;i++)cpu_counter[i]=0; -/////////////////// BULLSHIT ABOVE THIS LINE: TODO: CLEANUP + /////////////////// BULLSHIT ABOVE THIS LINE: TODO: CLEANUP // // system time @@ -148,7 +149,6 @@ void kernel_main(uint32_t initial_stack, int mp) // init spinlocks init_spinlocks(); - // ringbuffer for stdin! ringbuffer_init(); @@ -200,11 +200,6 @@ void kernel_main(uint32_t initial_stack, int mp) // //task_init(); - - // - // Just hang around here, if its reached. - // we do our tasks anyway. on the next clock tick. - // // //vesa_init_doublebuff(); @@ -212,6 +207,8 @@ void kernel_main(uint32_t initial_stack, int mp) asm("push $0x80800"); asm("ret"); + // Just hang around here, if its reached. + // we do our tasks anyway. on the next clock tick. while(1) { |
