Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 1994 21:39:33 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@freebsd.org, hosokawa@mt.cs.keio.ac.jp
Subject:   Re: DX4/100 BUG
Message-ID:  <199412241039.VAA02440@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I heard Linux checks DX4/100 bug on bootstrap and is getting along
>with this bug.  It does not use HLT instruction on such machines.  I
>read swtch.s and locore.s of 2.0R, but I couldn't find any measures
>against this bug.  I don't know whether this bug is easily compensated
>since I have no Linux machines.  Is it easy?

It's easy to ifdef the HLT instruction or to overwrite it with a NOP
in the kernel binary.  Linux tests if HLT works and runs essentially

	if (hlt_works_ok)
		__asm("hlt");

in the idle loop.

Bruce



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