Subject: [wpaul@FreeBSD.ORG: cvs commit: src/sys/i386/boot/biosboot start.S]
To: None <port-i386@NetBSD.ORG>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 07/02/1998 22:00:39
wpaul 1998/07/02 08:36:36 PDT
Modified files:
sys/i386/boot/biosboot start.S
Log:
Add workaround to allow the FreeBSD boot block to work on
Kapok Computer Co. notebook with AMI 'WinBIOS' which seems to insist
on having a short jump and nop as the first instructions in the
boot sector code. The prevailing theory is that the BIOS is doing
some sort of boot sector virus detection and refusing to run any
boot block that doesn't start with the same instruction sequence as
MS-DOG boot sector code. If this is the case, it would be nice if it
actually printed an error message to this effect instead of just
saying 'FAILED.'
This workaround has no effect on the boot sector code other than to
increase its size by three bytes.
Revision Changes Path
1.11 +13 -1 src/sys/i386/boot/biosboot/start.S
-----End of forwarded message-----
--
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
{Net,Free}BSD: 21 ans d'experience feront toujours la difference
--