From: Philip Homburg Date: Mon, 23 Apr 2007 13:56:27 +0000 (+0000) Subject: Poll serial line for debug output requests when do_serial_debug is true. X-Git-Tag: v3.1.4~415 X-Git-Url: http://zhaoyanbai.com/repos/nsupdate.html?a=commitdiff_plain;h=94bc849574b1d7cf0689d882c65a2349913f7933;p=minix.git Poll serial line for debug output requests when do_serial_debug is true. --- diff --git a/kernel/clock.c b/kernel/clock.c index 82ef34905..16866eb72 100755 --- a/kernel/clock.c +++ b/kernel/clock.c @@ -211,6 +211,10 @@ irq_hook_t *hook; prev_ptr = proc_ptr; /* store running process */ lock_notify(HARDWARE, CLOCK); /* send notification */ } + + if (do_serial_debug) + do_ser_debug(); + return(1); /* reenable interrupts */ } @@ -285,5 +289,3 @@ PRIVATE void load_update(void) kloadinfo.last_clock = realtime; } - -