Date: Mon, 11 Mar 96 22:30:10 +0100 From: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> To: bde@zeta.org.au Cc: current@freebsd.org Subject: Re: COMCONSOLE: a patch and a problem Message-ID: <9603112130.AA11400@cabri.obs-besancon.fr> In-Reply-To: <199603110647.RAA07820@godzilla.zeta.org.au> (message from Bruce Evans on Mon, 11 Mar 1996 17:47:26 %2B1100)
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Bruce Evans writes: >> 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. Thanks for the hint. I just tried it and comconsole now works perfectly. (serial_ischar() -> serial_ischar()|(0 & ischar ())) > Bruce Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr =============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603112130.AA11400>