Changeset View
Changeset View
Standalone View
Standalone View
head/sys/boot/i386/loader/main.c
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
struct geli_boot_args *gargs; | struct geli_boot_args *gargs; | ||||
#endif | #endif | ||||
#ifdef LOADER_ZFS_SUPPORT | #ifdef LOADER_ZFS_SUPPORT | ||||
struct zfs_boot_args *zargs; | struct zfs_boot_args *zargs; | ||||
static void i386_zfs_probe(void); | static void i386_zfs_probe(void); | ||||
#endif | #endif | ||||
/* from vers.c */ | /* from vers.c */ | ||||
extern char bootprog_name[], bootprog_rev[], bootprog_date[], bootprog_maker[]; | extern char bootprog_info[]; | ||||
/* XXX debugging */ | /* XXX debugging */ | ||||
extern char end[]; | extern char end[]; | ||||
static void *heap_top; | static void *heap_top; | ||||
static void *heap_bottom; | static void *heap_bottom; | ||||
int | int | ||||
▲ Show 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | initial_bootinfo->bi_extmem = bios_extmem / 1024; | ||||
biosacpi_detect(); | biosacpi_detect(); | ||||
/* detect SMBIOS for future reference */ | /* detect SMBIOS for future reference */ | ||||
smbios_detect(NULL); | smbios_detect(NULL); | ||||
/* detect PCI BIOS for future reference */ | /* detect PCI BIOS for future reference */ | ||||
biospci_detect(); | biospci_detect(); | ||||
printf("\n"); | printf("\n%s", bootprog_info); | ||||
printf("%s, Revision %s\n", bootprog_name, bootprog_rev); | |||||
printf("(%s, %s)\n", bootprog_maker, bootprog_date); | |||||
extract_currdev(); /* set $currdev and $loaddev */ | extract_currdev(); /* set $currdev and $loaddev */ | ||||
setenv("LINES", "24", 1); /* optional */ | setenv("LINES", "24", 1); /* optional */ | ||||
bios_getsmap(); | bios_getsmap(); | ||||
interact(NULL); | interact(NULL); | ||||
▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines |