[int13] Allow drive to be hooked using the natural drive number
authorMichael Brown <mcb30@ipxe.org>
Sun, 20 Mar 2016 09:16:13 +0000 (09:16 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 22 Mar 2016 09:55:09 +0000 (09:55 +0000)
commitab5b3abbbac98eb52109c34058e1999df7dd0b86
treedd5564fe02cc6ac8f69c21ad98142edf75f7c69e
parent311a5732c8baa7ceb4f23db51dcbb5015e2ef965
[int13] Allow drive to be hooked using the natural drive number

Interpret the maximum drive number (0xff for hard disks, 0x7f for
floppy disks) as meaning "use natural drive number".

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/interface/pcbios/int13.c
src/include/ipxe/sanboot.h
src/usr/autoboot.c