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:
parent
2059157753
commit
40b132c562
3 changed files with 4 additions and 6 deletions
|
@ -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.
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue