From: John Hodge Date: Mon, 13 Feb 2012 10:21:41 +0000 (+0800) Subject: Kernel - Reenabled locking on debug output X-Git-Tag: rel0.15~777 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=06de0dedbeeaec2be19b73a4500523efa3ab1852;p=tpg%2Facess2.git Kernel - Reenabled locking on debug output - Also initialised work queue for timers (didn't matter, but it's a neatness thing) --- diff --git a/KernelLand/Kernel/debug.c b/KernelLand/Kernel/debug.c index 25ffda19..355624d5 100644 --- a/KernelLand/Kernel/debug.c +++ b/KernelLand/Kernel/debug.c @@ -9,7 +9,7 @@ #define DEBUG_MAX_LINE_LEN 256 -#define LOCK_DEBUG_OUTPUT 0 +#define LOCK_DEBUG_OUTPUT 1 #define TRACE_TO_KTERM 0 diff --git a/KernelLand/Kernel/time.c b/KernelLand/Kernel/time.c index cf3370aa..d4fd5ec5 100644 --- a/KernelLand/Kernel/time.c +++ b/KernelLand/Kernel/time.c @@ -49,6 +49,7 @@ tShortSpinlock gTimers_ListLock; void Timer_CallbackThread(void *Unused) { Threads_SetName("Timer Callback Thread"); + Workqueue_Init(&gTimers_CallbackQueue, "Timer Callbacks", offsetof(tTimer, Next)); for(;;) {