2009-07-15 Pavel Roskin <proski@gnu.org>
* include/grub/i386/pc/boot.h: Sort all offsets. (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused. (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise. * boot/i386/pc/boot.S: Assert location of every offset listed in include/grub/i386/pc/boot.h.
This commit is contained in:
parent
44b5d87973
commit
2059157753
3 changed files with 17 additions and 9 deletions
|
@ -31,17 +31,11 @@
|
|||
/* The offset of the major version. */
|
||||
#define GRUB_BOOT_MACHINE_VER_MAJ 0x3e
|
||||
|
||||
/* The offset of BOOT_DRIVE. */
|
||||
#define GRUB_BOOT_MACHINE_BOOT_DRIVE 0x4c
|
||||
|
||||
/* The offset of KERNEL_ADDRESS. */
|
||||
#define GRUB_BOOT_MACHINE_KERNEL_ADDRESS 0x40
|
||||
|
||||
/* The offset of KERNEL_SECTOR. */
|
||||
#define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x44
|
||||
|
||||
/* The offset of KERNEL_SEGMENT. */
|
||||
#define GRUB_BOOT_MACHINE_KERNEL_SEGMENT 0x42
|
||||
/* The offset of BOOT_DRIVE. */
|
||||
#define GRUB_BOOT_MACHINE_BOOT_DRIVE 0x4c
|
||||
|
||||
/* The offset of BOOT_DRIVE_CHECK. */
|
||||
#define GRUB_BOOT_MACHINE_DRIVE_CHECK 0x4e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue