mbr/*.S: if Ctrl is pressed, force the drive number to 0x80
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 31 Mar 2009 00:38:44 +0000 (17:38 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 31 Mar 2009 00:38:44 +0000 (17:38 -0700)
commit4f964b57c29db85515b68a3f59a791804aae8aae
treedfd4ad63a74d7b11be71328b7f5fc4b2b80ca472
parent1cb06f94c9c1525975254ed41942098d7a741840
mbr/*.S: if Ctrl is pressed, force the drive number to 0x80

Impact: BIOS bug workaround, possible unexpected consequences?

Escape hatch for BIOSes which pass in garbage in DL: if the Ctrl key
is pressed during boot, force the drive number to 0x80.

Based on a patch by "TJ <ubuntu@tjworld.net>".

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
mbr/gptmbr.S
mbr/isohdpfx.S
mbr/mbr.S