efi/libstub: Introduce symbolic constants for the stub major/minor version
authorArd Biesheuvel <ardb@kernel.org>
Thu, 20 Feb 2020 10:06:00 +0000 (11:06 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit148d3f716c208738d2c7ff8c80be18d89ec8a06e
tree000c8afd669710d74722802fd61af9400bac6583
parenta3326a0d878c433d69981c504f8c8ade60cd2b51
efi/libstub: Introduce symbolic constants for the stub major/minor version

Now that we have added new ways to load the initrd or the mixed mode
kernel, we will also need a way to tell the loader about this. Add
symbolic constants for the PE/COFF major/minor version numbers (which
fortunately have always been 0x0 for all architectures), so that we
can bump them later to document the capabilities of the stub.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/boot/compressed/efi-header.S
arch/arm64/kernel/efi-header.S
arch/x86/boot/header.S
include/linux/pe.h