Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/libi386/bootinfo.c
Show All 26 Lines | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include <stand.h> | #include <stand.h> | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/reboot.h> | #include <sys/reboot.h> | ||||
#include <sys/boot.h> | #include <sys/boot.h> | ||||
#include <sys/linker.h> | #include <sys/linker.h> | ||||
#include <gfx_fb.h> | |||||
#include "bootstrap.h" | #include "bootstrap.h" | ||||
#include "libi386.h" | #include "libi386.h" | ||||
#include "vbe.h" | |||||
#include "btxv86.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 | int | ||||
bi_getboothowto(char *kargs) | bi_getboothowto(char *kargs) | ||||
{ | { | ||||
char *curpos, *next, *string; | char *curpos, *next, *string; | ||||
int howto; | int howto; | ||||
int vidconsole; | int vidconsole; | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |