From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MQsri-0002n8-Eb for mharc-grub-devel@gnu.org; Tue, 14 Jul 2009 21:00:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQsrg-0002kc-43 for grub-devel@gnu.org; Tue, 14 Jul 2009 21:00:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQsrb-0002g4-Ou for grub-devel@gnu.org; Tue, 14 Jul 2009 21:00:55 -0400 Received: from [199.232.76.173] (port=50018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQsrb-0002fr-9n for grub-devel@gnu.org; Tue, 14 Jul 2009 21:00:51 -0400 Received: from c60.cesmail.net ([216.154.195.49]:34853) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MQsra-0004xv-Mm for grub-devel@gnu.org; Tue, 14 Jul 2009 21:00:50 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 14 Jul 2009 21:00:50 -0400 Received: from mj.roinet.com (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id B3D9E34C6D for ; Tue, 14 Jul 2009 21:10:15 -0400 (EDT) To: grub-devel@gnu.org From: Pavel Roskin Date: Tue, 14 Jul 2009 21:00:49 -0400 Message-ID: <20090715010049.17865.30805.stgit@mj.roinet.com> In-Reply-To: <20090715010017.17865.58915.stgit@mj.roinet.com> References: <20090715010017.17865.58915.stgit@mj.roinet.com> User-Agent: StGit/0.15-rc1-4-g4ce8 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [PATCH 6/7] Increase BPB size to accommodate FAT32. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 01:00:56 -0000 ChangeLog: * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END): Increase to 0x5a. Adjust other offsets accordingly. Original patch by Yves Blusseau --- include/grub/i386/pc/boot.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/grub/i386/pc/boot.h b/include/grub/i386/pc/boot.h index a91f55a..cf73c3a 100644 --- a/include/grub/i386/pc/boot.h +++ b/include/grub/i386/pc/boot.h @@ -26,16 +26,16 @@ #define GRUB_BOOT_MACHINE_BPB_START 0x3 /* The offset of the end of BPB (BIOS Parameter Block). */ -#define GRUB_BOOT_MACHINE_BPB_END 0x3e +#define GRUB_BOOT_MACHINE_BPB_END 0x5a /* The offset of KERNEL_SECTOR. */ -#define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x44 +#define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x5a /* The offset of BOOT_DRIVE. */ -#define GRUB_BOOT_MACHINE_BOOT_DRIVE 0x4c +#define GRUB_BOOT_MACHINE_BOOT_DRIVE 0x62 /* The offset of BOOT_DRIVE_CHECK. */ -#define GRUB_BOOT_MACHINE_DRIVE_CHECK 0x4e +#define GRUB_BOOT_MACHINE_DRIVE_CHECK 0x64 /* The offset of a magic number used by Windows NT. */ #define GRUB_BOOT_MACHINE_WINDOWS_NT_MAGIC 0x1b8