Disabled debug in binary loader and added sleeping message
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 03:12:51 +0000 (11:12 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 03:12:51 +0000 (11:12 +0800)
Kernel/binary.c
Kernel/threads.c

index d6960e3..04dfed2 100644 (file)
@@ -2,7 +2,7 @@
  * Acess2\r
  * Common Binary Loader\r
  */\r
-#define DEBUG  1\r
+#define DEBUG  0\r
 #include <common.h>\r
 #include <binary.h>\r
 \r
index c89be3f..714b2b0 100644 (file)
@@ -352,7 +352,7 @@ void Threads_Sleep()
        tThread *cur = Proc_GetCurThread();
        tThread *thread;
        
-       //Log("Proc_Sleep: %i going to sleep", gCurrentThread->TID);
+       Log("Proc_Sleep: %i going to sleep", cur->TID);
        
        // Acquire Spinlock
        LOCK( &giThreadListLock );

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