Home | History | Annotate | Download | only in zboot

Lines Matching refs:bootcfg_info

58 	else if (*input >= 'A' && *input < bootcfg_info.nummenu + 'A')
60 else if (*input >= 'a' && *input < bootcfg_info.nummenu + 'a')
64 if (choice < 0 || choice >= bootcfg_info.nummenu)
78 if (bootcfg_info.menuformat == MENUFORMAT_LETTER) {
79 for (choice = 0; choice < bootcfg_info.nummenu; choice++)
81 bootcfg_info.desc[choice]);
84 for (choice = 0; choice < bootcfg_info.nummenu; choice++)
88 bootcfg_info.desc[choice]);
94 if (bootcfg_info.timeout < 0) {
95 if (bootcfg_info.menuformat == MENUFORMAT_LETTER)
97 bootcfg_info.def + 'A');
100 bootcfg_info.def + 1);
103 choice = getchoicefrominput(input, bootcfg_info.def);
104 } else if (bootcfg_info.timeout == 0)
105 choice = bootcfg_info.def;
109 if (bootcfg_info.menuformat == MENUFORMAT_LETTER)
111 bootcfg_info.def + 'A');
114 bootcfg_info.def + 1);
115 input[0] = awaitkey(bootcfg_info.timeout, 1);
117 choice = getchoicefrominput(input, bootcfg_info.def);
120 bootcfg_info.timeout = -1;
124 if (!strcmp(bootcfg_info.command[choice], "prompt")) {
128 ic = bootcfg_info.command[choice];