From 10bc1d024e41c545ddd2a820e6da656e4f4b0f4b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 21 Jan 2010 21:36:07 -0800 Subject: [PATCH] core/diskstart: we don't have 64-bit partition offset just yet... We don't actually have a way to receive a 64-bit partition offset yet, so don't pretend to (on FAT, this field contains other information.) Signed-off-by: H. Peter Anvin --- core/diskstart.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/diskstart.inc b/core/diskstart.inc index 8bb4f78..dfc7f8c 100644 --- a/core/diskstart.inc +++ b/core/diskstart.inc @@ -725,7 +725,9 @@ expand_super: movzx dx,byte [DriveNumber] ; DH = 0: we are boot from disk not CDROM mov ecx,[bsHidden] - mov ebx,[bsHidden+4] + ; Reserved for upper 32 bits of partition offset... + ; mov ebx,[bsHidden+4] + xor ebx,ebx mov si,[bsHeads] mov di,[bsSecPerTrack] pm_call fs_init -- 2.7.4