[syslinux:fsc] core/diskstart: we don't have 64-bit partition offset just yet...

syslinux-bot for H. Peter Anvin hpa at zytor.com
Thu Jan 21 21:42:04 PST 2010


Commit-ID:  10bc1d024e41c545ddd2a820e6da656e4f4b0f4b
Gitweb:     http://syslinux.zytor.com/commit/10bc1d024e41c545ddd2a820e6da656e4f4b0f4b
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Thu, 21 Jan 2010 21:36:07 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Thu, 21 Jan 2010 21:36:07 -0800

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 <hpa at zytor.com>


---
 core/diskstart.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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



More information about the Syslinux-commits mailing list