]> git.ipfire.org Git - thirdparty/grub.git/commit
efi: Remove arch specific image headers for RISC-V, ARM64 and ARM
authorAtish Patra <atishp@rivosinc.com>
Thu, 9 Mar 2023 23:59:52 +0000 (15:59 -0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 29 Mar 2023 18:31:57 +0000 (20:31 +0200)
commit067bd35cd420034a068f5951947e6470533d1d48
treeb3cd8bc9bd815803e2cb0b55635e0bada864c1fc
parentfbce87cd3965c3b7e113bac48e15a8d787c52e20
efi: Remove arch specific image headers for RISC-V, ARM64 and ARM

The arch specific image header details are not very useful as most of
the GRUB just looks at the PE/COFF spec parameters (PE32 magic and
header offset).

Remove the arch specific images headers and define a generic arch
headers that provide enough PE/COFF fields for the GRUB to parse
kernel images correctly.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/file.c
grub-core/loader/arm/linux.c
grub-core/loader/arm64/xen_boot.c
grub-core/loader/efi/linux.c
include/grub/arm/linux.h
include/grub/arm64/linux.h [deleted file]
include/grub/efi/efi.h
include/grub/riscv32/linux.h [deleted file]
include/grub/riscv64/linux.h [deleted file]