[syslinux:pathbased] gptmbr: fix offset for MSW of partition end
syslinux-bot for H. Peter Anvin
hpa at linux.intel.com
Fri Jun 11 17:24:21 PDT 2010
Commit-ID: 5bc3c2cf4bc0edd52af33737b15416d021822d51
Gitweb: http://syslinux.zytor.com/commit/5bc3c2cf4bc0edd52af33737b15416d021822d51
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Fri, 11 Jun 2010 17:19:52 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Fri, 11 Jun 2010 17:19:52 -0700
gptmbr: fix offset for MSW of partition end
Fix the offset for the MSW of the partition endpoint.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
mbr/gptmbr.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index 20741ac..42887db 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------
*
* Copyright 2007-2009 H. Peter Anvin - All Rights Reserved
- * Copyright 2009 Intel Corporation; author: H. Peter Anvin
+ * Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@@ -190,7 +190,7 @@ found_part:
call saturate_stosl /* Partition start */
movl 40(%si),%eax
- movl 48(%si),%edx
+ movl 44(%si),%edx
subl 32(%si),%eax
sbbl 36(%si),%edx
call inc64
More information about the Syslinux-commits
mailing list