efi_loader: use predefined constants in crt0_*_efi.S
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Jul 2019 04:39:32 +0000 (06:39 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Jul 2019 22:17:14 +0000 (22:17 +0000)
commita35c33c0dc9ef9d2ab44cf677ac17a359c79b019
tree57f3de7da7c34beeca79b0e87d3a278e77da5494
parent38671d4f1cd44c22e5485606034ed5f3be9f1211
efi_loader: use predefined constants in crt0_*_efi.S

We should use predefined constants instead of magic numbers.

Move some constant definitions from include/pe.h to
include/asm-generic/pe.h.

Use these constants in crt0_*_efi.S.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/lib/crt0_aarch64_efi.S
arch/arm/lib/crt0_arm_efi.S
arch/riscv/lib/crt0_riscv_efi.S
include/asm-generic/pe.h
include/pe.h