EFI: constify EFI_LOADED_IMAGE * function parameters
authorJan Beulich <jbeulich@suse.com>
Fri, 10 Dec 2021 13:02:59 +0000 (14:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Dec 2021 13:02:59 +0000 (14:02 +0100)
commitc6cec7af287aa31123e259b90247b20ef3a7e1a7
tree7090e0c365e07c8cdd19ad295d7a0758631da335
parent29e31aaf5d81e57679c2abfe8ffd3851a87042b5
EFI: constify EFI_LOADED_IMAGE * function parameters

Instead of altering Arm's forward declarations, drop them. Like
elsewhere we should limit such to cases where the first use lives ahead
of the definition.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/efi/efi-boot.h
xen/arch/x86/efi/efi-boot.h
xen/common/efi/boot.c