mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-16 13:34:45 -06:00
Set the kernel_alignment and min_alignment fields in the Linux setup header.
This shouldn't be needed because we don't set the relocatable_kernel flag, but the GRUB linuxefi command pays no attention to that. Currently the linuxefi command also ignores the alignment values, but set them now in case that changes in the future.
This commit is contained in:
parent
722b1b2899
commit
f98ceb1613
@ -68,11 +68,11 @@ cmd_line_ptr:
|
||||
initrd_addr_max:
|
||||
.long 0xffffffff
|
||||
kernel_alignment:
|
||||
.long 0
|
||||
.long 4096
|
||||
relocatable_kernel:
|
||||
.byte 0
|
||||
min_alignment:
|
||||
.byte 0
|
||||
.byte 12
|
||||
xload_flags:
|
||||
#ifdef __x86_64__
|
||||
.word 0x9 # XLF_KERNEL_64,XLF_EFI_HANDOVER_64
|
||||
|
Loading…
Reference in New Issue
Block a user