Support cross-disk installs. On non-cross-disk retrieve bootpath from chosen/bootpath
This commit is contained in:
parent
d0faf8a1b3
commit
ee9056d097
3 changed files with 37 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue