From 94bc849574b1d7cf0689d882c65a2349913f7933 Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Mon, 23 Apr 2007 13:56:27 +0000 Subject: [PATCH] Poll serial line for debug output requests when do_serial_debug is true. --- kernel/clock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; } - - -- 2.44.0