Changeset View
Changeset View
Standalone View
Standalone View
head/sys/boot/pc98/loader/main.c
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | else | ||||
setenv("console", "vidconsole comconsole", 1); | setenv("console", "vidconsole comconsole", 1); | ||||
} else if (initial_howto & RB_SERIAL) | } else if (initial_howto & RB_SERIAL) | ||||
setenv("console", "comconsole", 1); | setenv("console", "comconsole", 1); | ||||
else if (initial_howto & RB_MUTE) | else if (initial_howto & RB_MUTE) | ||||
setenv("console", "nullconsole", 1); | setenv("console", "nullconsole", 1); | ||||
cons_probe(); | cons_probe(); | ||||
/* | /* | ||||
* Initialise the block cache | * Initialise the block cache. Set the upper limit. | ||||
*/ | */ | ||||
bcache_init(32, 512); /* 16k cache XXX tune this */ | bcache_init(32768, 512); | ||||
/* | /* | ||||
* Special handling for PXE and CD booting. | * Special handling for PXE and CD booting. | ||||
*/ | */ | ||||
if (kargs->bootinfo == 0) { | if (kargs->bootinfo == 0) { | ||||
/* | /* | ||||
* We only want the PXE disk to try to init itself in the below | * We only want the PXE disk to try to init itself in the below | ||||
* walk through devsw if we actually booted off of PXE. | * walk through devsw if we actually booted off of PXE. | ||||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |