]> xenbits.xensource.com Git - xen.git/commit
EFI: move efi-boot.h inclusion point
authorJan Beulich <jbeulich@suse.com>
Mon, 6 Dec 2021 13:15:54 +0000 (14:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 6 Dec 2021 13:15:54 +0000 (14:15 +0100)
commit1f9540cd8eb63cce7702d6791093b871198a9afe
tree16454edfbc3add099e56bacc0fbfbfa02e068be8
parent311297f4216a4387bdae6df6cfbb1f5edb06618a
EFI: move efi-boot.h inclusion point

When it was introduced, it was imo placed way too high up, making it
necessary to forward-declare way too many static functions. Move it down
together with
- the efi_check_dt_boot() stub, which afaict was deliberately placed
  immediately ahead of the #include,
- blexit(), because of its use of the efi_arch_blexit() hook.
Move up get_value() and set_color() to before the inclusion so their
forward declarations can also be zapped.

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