stand/efi: Better include order for sharing

Have a better include order so this can more easily be shared between
EFI and kboot. Fewer ifdefs and the same (enough) include order as
before.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-12-03 17:23:22 -07:00
parent 3df86732af
commit 3f2c1eb5b8

View File

@ -45,12 +45,12 @@ __FBSDID("$FreeBSD$");
#include "bootstrap.h"
#include "modinfo.h"
#include "loader_efi.h"
#if defined(__amd64__)
#include <machine/specialreg.h>
#endif
#include "loader_efi.h"
#include "gfx_fb.h"
#if defined(LOADER_FDT_SUPPORT)