Support cross-disk installs. On non-cross-disk retrieve bootpath from chosen/bootpath

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-18 16:35:08 +02:00
parent d0faf8a1b3
commit ee9056d097
3 changed files with 37 additions and 10 deletions

View file

@ -43,9 +43,9 @@
#define GRUB_BOOT_MACHINE_BOOT_DEVPATH 0x0a
#define GRUB_BOOT_MACHINE_BOOT_DEVPATH_END 0x80
#define GRUB_BOOT_MACHINE_BOOT_DEVPATH_END (0x80 - 40)
#define GRUB_BOOT_MACHINE_KERNEL_SECTOR 0x88
#define GRUB_BOOT_MACHINE_KERNEL_SECTOR (0x80 - 40)
#define GRUB_BOOT_MACHINE_CODE_END \
(0x1fc - GRUB_BOOT_AOUT_HEADER_SIZE)