From: H. Peter Anvin Date: Sat, 12 Jun 2010 00:19:52 +0000 (-0700) Subject: gptmbr: fix offset for MSW of partition end X-Git-Tag: syslinux-4.00-pre48~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5bc3c2cf4bc0edd52af33737b15416d021822d51;p=platform%2Fupstream%2Fsyslinux.git gptmbr: fix offset for MSW of partition end Fix the offset for the MSW of the partition endpoint. Signed-off-by: H. Peter Anvin --- 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