`relocatable` is defined as type grub_uint8_t, this is also
one byte definition in linux boot protocol. by semantic
definition, it is a bool type. It is not appropriate to
treat it as a four bytes, this patch fix this issue.
Signed-off-by: Tianjia Zhang
---
grub-core/loader/i386/linux.c | 2 +-
`preferred_address` has been assigned to GRUB_LINUX_BZIMAGE_ADDR
during initialization in grub_cmd_linux(). The assignment here
is redundant and should be removed.
Signed-off-by: Tianjia Zhang
---
grub-core/loader/i386/linux.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/grub-core/loade
As reported earlier, when booted in UEFI mode, Grub would fail to load a
ramdisk of size larger than "(total_pages >> 2)" with
"error: out of memory"
(https://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/kern/efi/mm.c#n616)
Further investigation into the EFI memory map indicates the cu