diff options
Diffstat (limited to 'stand/i386/libi386/bootinfo.c')
-rw-r--r-- | stand/i386/libi386/bootinfo.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/stand/i386/libi386/bootinfo.c b/stand/i386/libi386/bootinfo.c index 41901e5f928f..71e07cfb9702 100644 --- a/stand/i386/libi386/bootinfo.c +++ b/stand/i386/libi386/bootinfo.c @@ -32,10 +32,21 @@ __FBSDID("$FreeBSD$"); #include <sys/reboot.h> #include <sys/boot.h> #include <sys/linker.h> +#include <gfx_fb.h> #include "bootstrap.h" #include "libi386.h" +#include "vbe.h" #include "btxv86.h" +void +bi_load_vbe_data(struct preloaded_file *kfp) +{ + if (vbe_available()) { + file_addmetadata(kfp, MODINFOMD_VBE_FB, + sizeof(gfx_state.tg_fb), &gfx_state.tg_fb); + } +} + int bi_getboothowto(char *kargs) { |