/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | gfxmenu.c | 1 /* gfxmenu.c - Graphical menu interface controller. */ 34 #include <grub/menu.h> 49 /* FIXME: Previously 't' changed to text menu is it necessary? */ 51 grub_gfxmenu_try (int entry, grub_menu_t menu, int nested) argument 93 view->menu = menu;
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | gfxmenu_view.h | 25 #include <grub/menu.h> 108 grub_menu_t menu; member in struct:grub_gfxmenu_view
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | menuentry.c | 65 /* Add a menu entry to the current menu context (as given by the environment 66 variable data slot `menu'). As the configuration file is read, the script 67 parser calls this when a menu entry is to be created. */ 81 grub_menu_t menu; local 84 menu = grub_env_get_menu (); 85 if (! menu) 86 return grub_error (GRUB_ERR_MENU, "no menu context"); 88 last = &menu->entry_list; 157 /* Add the menu entr [all...] |
H A D | legacycfg.c | 43 grub_menu_t menu; local 61 menu = grub_env_get_menu (); 62 if (! menu) 64 menu = grub_zalloc (sizeof (*menu)); 65 if (! menu) 68 grub_env_set_menu (menu); 215 grub_menu_t menu; local 216 menu = grub_env_get_menu (); 217 if (menu [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | context.c | 30 grub_menu_t menu; member in struct:menu_pointer 40 current_menu->menu = NULL; 46 return current_menu->menu; 52 current_menu->menu = nmenu; 60 struct menu_pointer *menu; local 65 menu = grub_zalloc (sizeof (*menu)); 66 if (! menu) 72 menu->prev = current_menu; 73 current_menu = menu; 116 struct menu_pointer *menu; local 151 grub_menu_t menu = NULL; local [all...] |
H A D | main.c | 131 grub_normal_free_menu (grub_menu_t menu) argument 133 grub_menu_entry_t entry = menu->entry_list; 144 grub_free (menu); 269 /* Read the config file CONFIG and execute the menu interface or 274 grub_menu_t menu = 0; local 286 menu = read_config_file (config); 294 if (menu && menu->size) 296 grub_show_menu (menu, nested, 0); 298 grub_normal_free_menu (menu); [all...] |
H A D | menu_text.c | 1 /* menu_text.c - Basic text menu implementation. */ 39 grub_menu_t menu; member in struct:menu_viewer_data 153 command-line or ESC to discard edits and return to the GRUB menu."), 181 "or \'c\' for a command-line. ESC to return previous menu.\n"), 293 print_entries (grub_menu_t menu, const struct menu_viewer_data *data) argument 307 e = grub_menu_get_entry (menu, data->first); 330 /* Initialize the screen. If NESTED is non-zero, assume that this menu 331 is run from another menu or a command-line. If EDIT is non-zero, show 332 a message for the menu entry editor. */ 345 /* By default, use the same colors for the menu 449 grub_menu_try_text(struct grub_term_output *term, int entry, grub_menu_t menu, int nested) argument [all...] |
H A D | menu.c | 0 /* menu.c - General supporting functionality for menus. */ 40 grub_err_t (*grub_gfxmenu_try_hook) (int entry, grub_menu_t menu, 65 /* Get a menu entry by its index in the entry list. */ 67 grub_menu_get_entry (grub_menu_t menu, int no) argument 71 for (e = menu->entry_list; e && no > 0; e = e->next, no--) 158 /* Run a menu entry. */ 164 grub_menu_t menu = NULL; local 187 menu = grub_zalloc (sizeof (*menu)); 188 if (! menu) 286 grub_menu_execute_with_fallback(grub_menu_t menu, grub_menu_entry_t entry, int autobooted, grub_menu_execute_callback_t callback, void *callback_data) argument 350 menu_init(int entry, grub_menu_t menu, int nested) argument 441 get_entry_number(grub_menu_t menu, const char *name) argument 496 run_menu(grub_menu_t menu, int nested, int *auto_boot) argument 719 show_menu(grub_menu_t menu, int nested, int autobooted) argument 750 grub_show_menu(grub_menu_t menu, int nested, int autoboot) argument [all...] |
H A D | menu_entry.c | 1169 grub_menu_t menu = NULL; local 1207 menu = grub_zalloc (sizeof (*menu)); 1208 if (! menu) 1210 grub_env_set_menu (menu); 1229 if (menu && menu->size) 1231 grub_show_menu (menu, 1, 0); 1232 grub_normal_free_menu (menu); 1247 /* Edit a menu entr [all...] |