core: look for invalid MBR handover information address
commit5b1f5189081f677e4a578e2a6d52c60a7c082e1d
authorH. Peter Anvin <hpa@zytor.com>
Wed, 11 Aug 2010 17:42:51 +0000 (11 10:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 11 Aug 2010 17:42:51 +0000 (11 10:42 -0700)
treeacf19d265b290c8b07268700cef25e6a0113367e
parent17cdc1e604dbed3c7a5aefc37a3fb303c539225e
core: look for invalid MBR handover information address

The Win7 MBR doesn't provide proper handover information.  Instead, it
leaves DS:SI = 0:0x7e00, so reject that information as invalid on
grounds that it is pointed into the bootloader area.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/diskstart.inc