Home | History | Annotate | Download | only in lib

Lines Matching refs:bootcfg_info

92 	} else if (*input >= 'A' && *input < bootcfg_info.nummenu + 'A')
94 else if (*input >= 'a' && *input < bootcfg_info.nummenu + 'a')
98 if (choice < 0 || choice >= bootcfg_info.nummenu)
102 if (bootcfg_info.menuformat != MENUFORMAT_LETTER &&
114 ic = bootcfg_info.command[choice];
147 if ((bootcfg_info.nummenu > 0 &&
148 bootcfg_info.desc[0] != bootcfg_info.command[0] &&
149 bootcfg_info.desc[0][0] != 0) || bootcfg_info.timeout > 0) {
153 if (bootcfg_info.menuformat == MENUFORMAT_LETTER) {
154 for (choice = 0; choice < bootcfg_info.nummenu;
157 bootcfg_info.desc[choice]);
160 for (choice = 0; choice < bootcfg_info.nummenu;
165 bootcfg_info.desc[choice]);
172 if (bootcfg_info.timeout < 0) {
173 if (bootcfg_info.menuformat == MENUFORMAT_LETTER)
175 bootcfg_info.def + 'A');
178 bootcfg_info.def + 1);
181 choice = getchoicefrominput(input, bootcfg_info.def);
182 } else if (bootcfg_info.timeout == 0)
183 choice = bootcfg_info.def;
187 if (bootcfg_info.menuformat == MENUFORMAT_LETTER)
189 bootcfg_info.def + 'A');
192 bootcfg_info.def + 1);
193 input[0] = awaitkey(bootcfg_info.timeout, 1);
195 choice = getchoicefrominput(input, bootcfg_info.def);
198 bootcfg_info.timeout = -1;
202 if (!strcmp(bootcfg_info.command[choice], "prompt") &&