From: Ben Gras Date: Tue, 24 May 2005 12:30:51 +0000 (+0000) Subject: Initialisation required for optional debugging code. X-Git-Tag: v3.1.0~818 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/status/static/gitweb.js?a=commitdiff_plain;h=0f55ebe90a72401f5567ecb3724c5773cef9e4cb;p=minix.git Initialisation required for optional debugging code. --- 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;