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 committed 2009-07-15 14:55:24 +00:00
1 parent 2059157753
commit 40b132c562
3 files changed
+4 -6

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
2009-07-15 Pavel Roskin <proski@gnu.org> 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. * include/grub/i386/pc/boot.h: Sort all offsets.
(GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused. (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused.
(GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise. (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise.
-3
View File
@@ -92,9 +92,6 @@ cylinder_start:
* End of BIOS parameter block. * End of BIOS parameter block.
*/ */
. = _start + GRUB_BOOT_MACHINE_VER_MAJ
boot_version:
.byte GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR
kernel_address: kernel_address:
.word GRUB_BOOT_MACHINE_KERNEL_ADDR .word GRUB_BOOT_MACHINE_KERNEL_ADDR
kernel_segment: kernel_segment:
-3
View File
@@ -28,9 +28,6 @@
/* The offset of the end of BPB (BIOS Parameter Block). */ /* The offset of the end of BPB (BIOS Parameter Block). */
#define GRUB_BOOT_MACHINE_BPB_END 0x3e #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. */ /* The offset of KERNEL_SECTOR. */
#define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x44 #define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x44