diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-21 21:14:22 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-21 21:14:22 +0200 |
| commit | 67ec3995b4fd2c65c3f741d2fc16aa6983b5baa3 (patch) | |
| tree | 01df2b0273464ef798d491863995820134698c95 | |
| parent | d25834310293c8a30b4a31418ff4ffd8fad8ef24 (diff) | |
minor meaningless cosmetic changes
| -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) { |
