109 * Menu related
110 * menu_cmd_t and menu_cmds must be kept in sync
111 *
112 * The *_DOLLAR_CMD values must be 1 greater than the
113 * respective [KERNEL|MODULE]_CMD values.
114 */
115 typedef enum {
116 DEFAULT_CMD = 0,
117 TIMEOUT_CMD,
118 TITLE_CMD,
119 ROOT_CMD,
120 KERNEL_CMD,
121 KERNEL_DOLLAR_CMD, /* Must be KERNEL_CMD + 1 */
122 MODULE_CMD,
123 MODULE_DOLLAR_CMD, /* Must be MODULE_CMD + 1 */
124 SEP_CMD,
125 COMMENT_CMD,
126 CHAINLOADER_CMD,
127 ARGS_CMD,
128 FINDROOT_CMD,
129 BOOTFS_CMD
130 } menu_cmd_t;
131
132 extern char *menu_cmds[];
133
134 /* For multi- or direct-boot */
135 typedef enum {
136 BAM_DIRECT_NOT_SET,
137 BAM_DIRECT_MULTIBOOT,
138 BAM_DIRECT_DBOOT
139 } direct_or_multi_t;
140
141 /* Is there a hypervisor present? */
142 typedef enum {
143 BAM_HV_UNKNOWN,
144 BAM_HV_NO,
145 BAM_HV_PRESENT
146 } hv_t;
147
148 /* Is there findroot capability present ? */
149 typedef enum {
|
109 * Menu related
110 * menu_cmd_t and menu_cmds must be kept in sync
111 *
112 * The *_DOLLAR_CMD values must be 1 greater than the
113 * respective [KERNEL|MODULE]_CMD values.
114 */
115 typedef enum {
116 DEFAULT_CMD = 0,
117 TIMEOUT_CMD,
118 TITLE_CMD,
119 ROOT_CMD,
120 KERNEL_CMD,
121 KERNEL_DOLLAR_CMD, /* Must be KERNEL_CMD + 1 */
122 MODULE_CMD,
123 MODULE_DOLLAR_CMD, /* Must be MODULE_CMD + 1 */
124 SEP_CMD,
125 COMMENT_CMD,
126 CHAINLOADER_CMD,
127 ARGS_CMD,
128 FINDROOT_CMD,
129 BOOTFS_CMD,
130 KERNEL_OPTIONS_CMD,
131 } menu_cmd_t;
132
133 extern char *menu_cmds[];
134
135 /* For multi- or direct-boot */
136 typedef enum {
137 BAM_DIRECT_NOT_SET,
138 BAM_DIRECT_MULTIBOOT,
139 BAM_DIRECT_DBOOT
140 } direct_or_multi_t;
141
142 /* Is there a hypervisor present? */
143 typedef enum {
144 BAM_HV_UNKNOWN,
145 BAM_HV_NO,
146 BAM_HV_PRESENT
147 } hv_t;
148
149 /* Is there findroot capability present ? */
150 typedef enum {
|