Extra debug in Idle thread
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 03:05:50 +0000 (11:05 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 03:05:50 +0000 (11:05 +0800)
Kernel/threads.c

index a4b3161..c89be3f 100644 (file)
@@ -94,7 +94,8 @@ void Threads_Init()
                Threads_SetTickets(0);  // Never called randomly
                cur->Quantum = 1;       // 1 slice quantum
                for(;;) {
-                       Log("Idle");
+                       Log("---- Idle");
+                       Threads_Dump();
                        __asm__ __volatile__ ("hlt");   // Just yeilds
                }
        }

UCC git Repository :: git.ucc.asn.au