1. 21 Jun, 2015 1 commit
  2. 04 May, 2013 1 commit
  3. 12 Feb, 2012 1 commit
  4. 01 Feb, 2012 1 commit
  5. 23 Mar, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/bus/usb/usb.c (attach_hooks): Make static. · 7d4e39d6
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/bus/usb/usbhub.c (hubs): Likewise.
      	* grub-core/commands/hashsum.c (aliases): Likewise.
      	* grub-core/commands/setpci.c (pci_registers): Likewise.
      	* grub-core/disk/usbms.c (attach_hook): Likewise.
      	* grub-core/fs/zfs/zfs.c (decomp_table): Likewise.
      	(zio_checksum_table): Likewise.
      	* grub-core/gettext/gettext.c (grub_gettext_msg_list): Likewise.
      	* grub-core/gfxmenu/gfxmenu.c (cached_view): Likewise.
      	* grub-core/lib/legacy_parse.c (legacy_commands): Likewise.
      	* grub-core/lib/relocator.c (leftovers): Likewise.
      	(extra_blocks): Likewise.
      	* grub-core/loader/i386/bsd.c (relocator): Likewise.
      	* grub-core/loader/i386/multiboot_mbi.c (modules): Likewise.
      	(modules_last): Likewise.
      	* grub-core/loader/i386/xnu.c (table_aliases): Likewise.
      	(devices): Likewise.
      	* grub-core/loader/multiboot_mbi2.c (modules): Likewise.
      	(modules_last): Likewise.
      	* grub-core/normal/auth.c (users): Likewise.
      	* grub-core/normal/context.c (initial_menu): Likewise.
      	(current_menu): Likewise.
      	* grub-core/normal/crypto.c (crypto_specs): Likewise.
      	* grub-core/term/serial.c (grub_serial_ports): Likewise.
      	(grub_serial_terminfo_input_template): Likewise.
      	(grub_serial_terminfo_output_template): Likewise.
      	(grub_serial_terminfo_input): Likewise.
      	(grub_serial_terminfo_output): Likewise.
      	(registered): Likewise.
      	* grub-core/term/usb_keyboard.c (attach_hook): Likewise.
      7d4e39d6
  6. 12 Jan, 2011 1 commit
  7. 11 Jan, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable. · 4531a206
      Vladimir 'phcoder' Serbinenko authored
      	(set_env_limn_ro): Likewise.
      	(GRUB_MOD_INIT): Likewise.
      	* grub-core/hook/datehook.c (GRUB_MOD_INIT): Likewise. Change to
      	ARRAY_SIZE while on it.
      	(GRUB_MOD_FINI): Change to ARRAY_SIZE.
      	* grub-core/normal/context.c (grub_env_export): Move from here ...
      	* grub-core/kern/env.c (grub_env_export): ... here.
      	* grub-core/normal/context.c (grub_cmd_export): Skip exporting root and
      	prefix.
      	* grub-core/kern/main.c (grub_main): Export root and prefix.
      	* include/grub/env.h (grub_env_export): Export.
      	Reported by: Seth Goldberg.
      4531a206
  8. 21 Sep, 2010 1 commit
  9. 17 Sep, 2010 1 commit
  10. 25 Aug, 2010 1 commit
  11. 06 May, 2010 1 commit
  12. 01 May, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * commands/hashsum.c (GRUB_MOD_INIT): Remove duplication of command · d8b5cd40
      Vladimir 'phcoder' Serbinenko authored
      	name and add N_.
      	* commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Likewise.
      	* commands/iorw.c (GRUB_MOD_INIT): Likewise.
      	* commands/password_pbkdf2.c (GRUB_MOD_INIT): Likewise.
      	* commands/regexp.c (GRUB_MOD_INIT): Likewise.
      	* commands/setpci.c (GRUB_MOD_INIT): Likewise.
      	* commands/terminal.c (GRUB_MOD_INIT): Likewise.
      	* efiemu/main.c (GRUB_MOD_INIT): Likewise.
      	* font/font_cmd.c (GRUB_MOD_INIT): Likewise.
      	* kern/corecmd.c (GRUB_MOD_INIT): Likewise.
      	* mmap/mmap.c (GRUB_MOD_INIT): Likewise.
      	* normal/context.c (GRUB_MOD_INIT): Likewise.
      	* normal/main.c (GRUB_MOD_INIT): Likewise.
      	* term/gfxterm.c (GRUB_MOD_INIT): Likewise.
      	* term/serial.c (GRUB_MOD_INIT): Likewise.
      	* term/terminfo.c (GRUB_MOD_INIT): Likewise.
      d8b5cd40
  13. 29 Dec, 2009 1 commit
  14. 20 Dec, 2009 1 commit
  15. 07 May, 2006 1 commit
    • okuji's avatar
      2006-05-07 Yoshinori K. Okuji <okuji@enbug.org> · 4e93851c
      okuji authored
              Use the environment context in the menu. Remove the commands
              "default" and "timeout", and use variables instead.
      
              * normal/menu.c: Include grub/env.h.
              (print_entry): Cast TITLE to silence gcc.
              (get_timeout): New function.
              (set_timeout): Likewise.
              (get_entry_number): Likewise.
              (run_menu): Use a default entry, a fallback entry and a timeout
              in the environment variables "default", "fallback" and
              "timeout". Also, tweak the default entry if it is not within the
              current menu entries.
              (grub_menu_run): Use a fallback entry in the environment variable
              "fallback".
      
              * normal/main.c (read_config_file): Do not initialize
              NEWMENU->DEFAULT_ENTRY, NEWMENU->FALLBACK_ENTRY or
              NEWMENU->TIMEOUT.
              (grub_normal_execute): Use a data slot to store the menu.
      
              * include/grub/normal.h (struct grub_menu): Removed default_entry,
              fallback_entry and timeout.
              (struct grub_menu_list): Removed.
              (grub_menu_list_t): Likewise.
              (struct grub_context): Likewise.
              (grub_context_t): Likewise.
              (grub_context_get): Likewise.
              (grub_context_get_current_menu): Likewise.
              (grub_context_push_menu): Likewise.
              (grub_context_pop_menu): Likewise.
              (grub_default_init): Likewise.
              (grub_default_fini): Likewise.
              (grub_timeout_init): Likewise.
              (grub_timeout_fini): Likewise.
      
              * conf/sparc64-ieee1275.rmk (pkgdata_MODULES): Removed default.mod
              and timeout.mod.
              (normal_mod_SOURCES): Removed normal/context.c.
      
              * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Removed
              commands/default.c, commands/timeout.c and normal/context.c.
              (normal_mod_SOURCES): Removed normal/context.c.
      
              * conf/i386-pc.rmk (grub_emu_SOURCES): Removed commands/default.c,
              commands/timeout.c and normal/context.c.
              (normal_mod_SOURCES): Removed normal/context.c.
      
              * conf/i386-efi.rmk (grub_emu_SOURCES): Removed
              commands/default.c, commands/timeout.c and normal/context.c.
              (normal_mod_SOURCES): Removed normal/context.c.
      
              * conf/common.rmk (pkgdata_MODULES): Removed default.mod and
              timeout.mod.
              (default_mod_SOURCES): Removed.
              (default_mod_CFLAGS): Likewise.
              (default_mod_LDFLAGS): Likewise.
              (timeout_mod_SOURCES): Removed.
              (timeout_mod_CFLAGS): Likewise.
              (timeout_mod_LDFLAGS): Likewise.
      
              * DISTLIST: Removed commands/default.c, commands/timeout.c and
              normal/context.c.
      
              * commands/default.c: Removed.
              * commands/timeout.c: Likewise.
              * normal/context.c: Likewise.
      4e93851c
  16. 28 Feb, 2005 1 commit
    • okuji's avatar
      2005-02-27 Yoshinori K. Okuji <okuji@enbug.org> · 93f3a1d8
      okuji authored
        * commands/default.h: New file.
        * commands/timeout.h: Likewise.
        * normal/context.c: Likewise.
      
        * util/misc.c: Do not include sys/times.h.
        Include sys/time.h and grub/machine/time.h.
        (grub_get_rtc): Rewritten with gettimeofday.
      
        * util/grub-emu.c (main): Call grub_default_init and
        grub_timeout_init before grub_normal_init, and call
        grub_timeout_fini and grub_default_fini after grub_main.
      
        * util/console.c (grub_ncurses_checkkey): Return the read
        character or -1.
      
        * normal/menu.c (run_menu): Set MENU->TIMEOUT to -1 once it
        timeouts.
      
        * normal/main.c (read_config_file): Push MENU. If this fails,
        print an error and wait for a user input.
        Print an error only if GRUB_ERRNO is not GRUB_ERR_NONE.
        If a menu is empty or an error occurs, pop MENU.
        (grub_normal_execute): Pop and free MENU after grub_menu_run
        returns.
      
        * kern/loader.c (grub_loader_boot): Call grub_machine_fini.
      
        * include/grub/powerpc/ieee1275/time.h [GRUB_UTIL]: Do not
        include time.h.
        [GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as
        without GRUB_UTIL.
        * include/grub/i386/pc/time.h [GRUB_UTIL]: Do not include
        time.h.
        [GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as
        without GRUB_UTIL.
      
        * include/grub/normal.h (struct grub_menu_list): New struct.
        (grub_menu_list_t): New type.
        (struct grub_context): New struct.
        (grub_context_t): New type.
        (grub_register_command): Got rid of EXPORT_FUNC.
        (grub_unregister_command): Likewise.
        (grub_context_get): New prototype.
        (grub_context_get_current_menu): Likewise.
        (grub_context_push_menu): Likewise.
        (grub_context_pop_menu): Likewise.
        [GRUB_UTIL] (grub_default_init): Likewise.
        [GRUB_UTIL] (grub_default_fini): Likewise.
        [GRUB_UTIL] (grub_timeout_init): Likewise.
        [GRUB_UTIL] (grub_timeout_fini): Likewise.
      
        * conf/i386-pc.rmk (grub_emu_SOURCES): Added commands/default.c,
        commands/timeout.c and normal/context.c.
        (pkgdata_MODULES): Added default.mod and timeout.mod.
        (normal_mod_SOURCES): Added normal/context.c.
        (default_mod_SOURCES): New variable.
        (default_mod_CFLAGS): Likewise.
        (timeout_mod_SOURCES): Likewise.
        (timeout_mod_CFLAGS): Likewise.
        * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Copied from
        conf/i386-pc.rmk.
        (pkgdata_MODULES): Added default.mod and timeout.mod.
        (normal_mod_SOURCES): Added normal/context.c.
        (default_mod_SOURCES): New variable.
        (default_mod_CFLAGS): Likewise.
        (timeout_mod_SOURCES): Likewise.
        (timeout_mod_CFLAGS): Likewise.
      
        * Makefile.in (all-local): Added $(MKFILES).
      93f3a1d8