Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/loader/main.c
Show First 20 Lines • Show All 158 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(); | ||||
/* Set up currdev variable to have hooks in place. */ | |||||
env_setenv("currdev", EV_VOLATILE | EV_NOHOOK, "", | |||||
i386_setcurrdev, env_nounset); | |||||
/* | /* | ||||
* Initialise the block cache. Set the upper limit. | * Initialise the block cache. Set the upper limit. | ||||
*/ | */ | ||||
bcache_init(32768, 512); | bcache_init(32768, 512); | ||||
/* | /* | ||||
* Special handling for PXE and CD booting. | * Special handling for PXE and CD booting. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines |