diff --git a/stand/kboot/Makefile b/stand/kboot/Makefile --- a/stand/kboot/Makefile +++ b/stand/kboot/Makefile @@ -20,6 +20,7 @@ # Architecture-specific loader code SRCS= \ + bootinfo.c \ conf.c \ crt1.c \ gfx_fb_stub.c \ diff --git a/stand/kboot/bootinfo.c b/stand/kboot/bootinfo.c --- a/stand/kboot/bootinfo.c +++ b/stand/kboot/bootinfo.c @@ -43,6 +43,8 @@ #ifdef EFI #include #include +#else +#include "kboot.h" #endif #include "bootstrap.h" @@ -67,9 +69,6 @@ int bi_load(char *args, vm_offset_t *modulep, vm_offset_t *kernendp, bool exit_bs); -#ifndef EFI -void bi_loadsmap(struct preloaded_file *kfp); -#endif static int bi_getboothowto(char *kargs)