[2412] 2009-07-15 Pavel Roskin <[email protected]>

Pavel Roskin <[email protected]> Wed, 15 Jul 2009 15:06:12 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2412
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2412
Author:   proski
Date:     2009-07-15 15:06:12 +0000 (Wed, 15 Jul 2009)
Log Message:
-----------
2009-07-15  Pavel Roskin  <[email protected]>

	* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END):
	Increase to 0x5a to accommodate FAT32.  Adjust other offsets
	accordingly.
	Original patch by Yves Blusseau <[email protected]>

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/include/grub/i386/pc/boot.h

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-07-15 15:00:26 UTC (rev 2411)
+++ trunk/grub2/ChangeLog	2009-07-15 15:06:12 UTC (rev 2412)
@@ -1,5 +1,10 @@
 2009-07-15  Pavel Roskin  <[email protected]>
 
+	* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END):
+	Increase to 0x5a to accommodate FAT32.  Adjust other offsets
+	accordingly.
+	Original patch by Yves Blusseau <[email protected]>
+
 	* boot/i386/pc/boot.S (general_error_string): Add DOS newline at
 	the end of "Error" to make the message more readable.
 

Modified: trunk/grub2/include/grub/i386/pc/boot.h
===================================================================
--- trunk/grub2/include/grub/i386/pc/boot.h	2009-07-15 15:00:26 UTC (rev 2411)
+++ trunk/grub2/include/grub/i386/pc/boot.h	2009-07-15 15:06:12 UTC (rev 2412)
@@ -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	0x5c
 
 /* The offset of BOOT_DRIVE.  */
-#define GRUB_BOOT_MACHINE_BOOT_DRIVE	0x4c
+#define GRUB_BOOT_MACHINE_BOOT_DRIVE	0x64
 
 /* The offset of BOOT_DRIVE_CHECK.  */
-#define GRUB_BOOT_MACHINE_DRIVE_CHECK	0x4e
+#define GRUB_BOOT_MACHINE_DRIVE_CHECK	0x66
 
 /* The offset of a magic number used by Windows NT.  */
 #define GRUB_BOOT_MACHINE_WINDOWS_NT_MAGIC	0x1b8