Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Oct 1998 13:20:25 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Stefan Eggers <seggers@semyam.dinoco.de>
Cc:        Mike Smith <mike@smith.net.au>, freebsd-current@FreeBSD.ORG
Subject:   Re: Boot loader's autoload bug fix (was: Re: Two /boot/loader anomalies ) 
Message-ID:  <199810062020.NAA01019@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 06 Oct 1998 22:01:39 %2B0200." <199810062001.WAA00640@semyam.dinoco.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > You'll get this if the timer isn't working properly.  I've seen a 
> 
> The timer works perfectly!  While looking for timer anomalies I
> figured out what really happens: It's our vidconsole.c's iskey which
> gets its return code reversed.
> 
> The result is that the boot code's autoboot function asks the BIOS for
> a keypress. There is none, yet despite iskey's claim to the contra-
> ry. *boom* It hangs until the user presses a key and can't update the
> time count.  And of course it never can time out for the same reason.
> 
> This will make it work:

Actually, that's not quite right either.  You should check the Z flag, 
ie.

	return(!(vm86.efl & PSL_Z));

and include <machine/psl.h>

Can you check this for me?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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