Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 1996 17:47:26 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org, jmz@cabri.obs-besancon.fr
Subject:   Re: COMCONSOLE: a patch and a problem
Message-ID:  <199603110647.RAA07820@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I played with the boot blocks and I noticed that I was unable to boot
>from a serial console (keyboard unplugged). The patch below fixes a
>bug in boot.c/probe_keyboard.c (well, at least on my machine:-).

I don't think I broke this :-).  I wonder when it last worked.

>The problem now: when booting from a serial console, there is no
>timeout at the 'Boot:' prompt. Further investigations showed that the
>bios_tick function always returns the same value! Is this related to
>the fact that the keyboard is not plugged in? 

I broke this.  It's because there are no BIOS calls which have the
side affect of allowing clock interrupts.  Add some dummy BIOS calls.
Putting them in the bios_tick macro would take too much space, so
arrange to always call ischar() and throw away the result in the
RB_SERIAL case.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603110647.RAA07820>