Lines Matching refs:bootcfg_info
91 } else if (*input >= 'A' && *input < bootcfg_info.nummenu + 'A')
93 else if (*input >= 'a' && *input < bootcfg_info.nummenu + 'a')
97 if (choice < 0 || choice >= bootcfg_info.nummenu)
101 if (bootcfg_info.menuformat != MENUFORMAT_LETTER &&
113 ic = bootcfg_info.command[choice];
144 if (bootcfg_info.menuformat == MENUFORMAT_LETTER) {
145 for (choice = 0; choice < bootcfg_info.nummenu; choice++)
147 bootcfg_info.desc[choice]);
150 for (choice = 0; choice < bootcfg_info.nummenu; choice++)
154 bootcfg_info.desc[choice]);
160 if (bootcfg_info.timeout < 0) {
161 if (bootcfg_info.menuformat == MENUFORMAT_LETTER)
163 bootcfg_info.def + 'A');
166 bootcfg_info.def + 1);
169 choice = getchoicefrominput(input, bootcfg_info.def);
170 } else if (bootcfg_info.timeout == 0)
171 choice = bootcfg_info.def;
175 if (bootcfg_info.menuformat == MENUFORMAT_LETTER)
177 bootcfg_info.def + 'A');
180 bootcfg_info.def + 1);
181 input[0] = awaitkey(bootcfg_info.timeout, 1);
183 choice = getchoicefrominput(input, bootcfg_info.def);
186 bootcfg_info.timeout = -1;
190 if (!strcmp(bootcfg_info.command[choice], "prompt")) {