From 0f55ebe90a72401f5567ecb3724c5773cef9e4cb Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 24 May 2005 12:30:51 +0000 Subject: [PATCH] Initialisation required for optional debugging code. --- kernel/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/main.c b/kernel/main.c index 3b29037b8..d96799045 100755 --- a/kernel/main.c +++ b/kernel/main.c @@ -142,6 +142,11 @@ PUBLIC void main() } /* Set ready. The HARDWARE task is never ready. */ + +#if ENABLE_K_DEBUGGING + rp->p_ready = 0; +#endif + if (rp->p_nr != HARDWARE) lock_ready(rp); rp->p_flags = 0; -- 2.44.0