1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

MFi386: Set bi_basemem and bi_extmem variables.

Respect RB_MULTIPLE flag.
This commit is contained in:
Yoshihiro Takahashi 2004-10-24 12:15:07 +00:00
parent 8c3c8ed197
commit 3ad0b93804
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136891

View File

@ -102,6 +102,8 @@ main(void)
setenv("console", "comconsole", 1);
if (initial_howto & RB_MUTE)
setenv("console", "nullconsole", 1);
if (initial_howto & RB_MULTIPLE)
setenv("boot_multicons", "YES", 1);
cons_probe();
/*
@ -130,6 +132,10 @@ main(void)
if (devsw[i]->dv_init != NULL)
(devsw[i]->dv_init)();
printf("BIOS %dkB/%dkB available memory\n", bios_basemem / 1024, bios_extmem / 1024);
if (initial_bootinfo != NULL) {
initial_bootinfo->bi_basemem = bios_basemem / 1024;
initial_bootinfo->bi_extmem = bios_extmem / 1024;
}
#ifndef PC98
/* detect ACPI for future reference */