core: When checking for DS:SI validity, we're using paragraph unitssyslinux-4.04-pre8
commit102b58a9960667208a2f37ca6058b9badad67111
authorH. Peter Anvin <hpa@zytor.com>
Mon, 21 Feb 2011 00:27:18 +0000 (20 16:27 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 21 Feb 2011 00:27:18 +0000 (20 16:27 -0800)
tree6c732715b5be7c23ec7cbd313d1c741a6d489e0b
parent5c9308928dad6d68a3a46deab01cfe2177278d60
core: When checking for DS:SI validity, we're using paragraph units

We are comparing DS:SI for a sane range, but we're operating in
paragraph units, so the comparison needs to be done that way, too.

Reported-by: Keshav P.R. <skodabenz@gmail.com>
Debugged-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/diskboot.inc