core/diskboot.inc: fix handover area's sanity checks
commit7a9ea9d8d8ee7b36012e3eb822a010bdca13a9d8
authorMichal Soltys <soltys@ziu.info>
Tue, 22 Feb 2011 23:18:00 +0000 (23 00:18 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 2 Mar 2011 23:46:21 +0000 (2 15:46 -0800)
tree42a3725f391f074e2a2f4d00afbbc3c72c196fe9
parent74ee14e31e28373f1fe93469d8d386cf9aac8014
core/diskboot.inc: fix handover area's sanity checks

As the code operates with paragraph granularity, make sure that
false positives are not possible, though some false negatives
might happen with insanely placed handover area.

Bump low address check to 50h:0, to also avoid bios data area and
remove si == 0 check.

Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/diskboot.inc