2009-07-15 Pavel Roskin <proski@gnu.org>

* boot/i386/pc/boot.S (boot_version): Remove.
	* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_VER_MAJ):
	Remove.
This commit is contained in:
proski 2009-07-15 14:55:24 +00:00
parent 2059157753
commit 40b132c562
3 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,9 @@
2009-07-15 Pavel Roskin <proski@gnu.org>
* boot/i386/pc/boot.S (boot_version): Remove.
* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_VER_MAJ):
Remove.
* include/grub/i386/pc/boot.h: Sort all offsets.
(GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused.
(GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise.

View File

@ -92,9 +92,6 @@ cylinder_start:
* End of BIOS parameter block.
*/
. = _start + GRUB_BOOT_MACHINE_VER_MAJ
boot_version:
.byte GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR
kernel_address:
.word GRUB_BOOT_MACHINE_KERNEL_ADDR
kernel_segment:

View File

@ -28,9 +28,6 @@
/* The offset of the end of BPB (BIOS Parameter Block). */
#define GRUB_BOOT_MACHINE_BPB_END 0x3e
/* The offset of the major version. */
#define GRUB_BOOT_MACHINE_VER_MAJ 0x3e
/* The offset of KERNEL_SECTOR. */
#define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x44