Changeset View
Changeset View
Standalone View
Standalone View
head/sys/kern/init_main.c
Show First 20 Lines • Show All 769 Lines • ▼ Show 20 Lines | if (boothowto & RB_SINGLE) { | ||||
options++; | options++; | ||||
} | } | ||||
#ifdef notyet | #ifdef notyet | ||||
if (boothowto & RB_FASTBOOT) { | if (boothowto & RB_FASTBOOT) { | ||||
*flagp++ = 'f'; | *flagp++ = 'f'; | ||||
options++; | options++; | ||||
} | } | ||||
#endif | #endif | ||||
#ifdef BOOTCDROM | |||||
*flagp++ = 'C'; | |||||
options++; | |||||
#endif | |||||
if (options == 0) | if (options == 0) | ||||
*flagp++ = '-'; | *flagp++ = '-'; | ||||
*flagp++ = 0; | *flagp++ = 0; | ||||
KASSERT(flagp <= &flags[0] + sizeof(flags), ("Overran flags")); | KASSERT(flagp <= &flags[0] + sizeof(flags), ("Overran flags")); | ||||
error = exec_args_add_arg(&args, flags, UIO_SYSSPACE); | error = exec_args_add_arg(&args, flags, UIO_SYSSPACE); | ||||
if (error != 0) | if (error != 0) | ||||
panic("%s: Can't add argv[0] %d", __func__, error); | panic("%s: Can't add argv[0] %d", __func__, error); | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |