1. 07 Jun, 2013 2 commits
  2. 15 May, 2013 1 commit
  3. 03 Mar, 2013 1 commit
  4. 21 Jan, 2013 1 commit
  5. 20 Jan, 2013 1 commit
    • Colin Watson's avatar
      Remove nested functions from device iterators. · 25239370
      Colin Watson authored
      * include/grub/arc/arc.h (grub_arc_iterate_devs_hook_t): New type.
      (grub_arc_iterate_devs): Add hook_data argument.
      * include/grub/ata.h (grub_ata_dev_iterate_hook_t): New type.
      (struct grub_ata_dev.iterate): Add hook_data argument.
      * include/grub/device.h (grub_device_iterate_hook_t): New type.
      (grub_device_iterate): Add hook_data argument.
      * include/grub/disk.h (grub_disk_dev_iterate_hook_t): New type.
      (struct grub_disk_dev.iterate): Add hook_data argument.
      (grub_disk_dev_iterate): Likewise.
      * include/grub/gpt_partition.h (grub_gpt_partition_map_iterate):
      Likewise.
      * include/grub/msdos_partition.h (grub_partition_msdos_iterate):
      Likewise.
      * include/grub/partition.h (grub_partition_iterate_hook_t): New
      type.
      (struct grub_partition_map.iterate): Add hook_data argument.
      (grub_partition_iterate): Likewise.
      * include/grub/scsi.h (grub_scsi_dev_iterate_hook_t): New type.
      (struct grub_scsi_dev.iterate): Add hook_data argument.
      
      Update all callers.
      25239370
  6. 31 Dec, 2012 1 commit
    • Colin Watson's avatar
      Remove several trivially-unnecessary uses of nested functions. · 5c67ea6c
      Colin Watson authored
      * grub-core/commands/i386/pc/sendkey.c
      (grub_cmd_sendkey: find_key_code, find_ascii_code): Make static
      instead of nested.
      * grub-core/commands/legacycfg.c (legacy_file: getline): Likewise.
      Rename to ...
      (legacy_file_getline): ... this.
      * grub-core/commands/loadenv.c (grub_cmd_load_env: set_var):
      Likewise.
      * grub-core/kern/corecmd.c (grub_core_cmd_set: print_env): Likewise.
      * grub-core/kern/fs.c (grub_fs_probe: dummy_func): Likewise.  Rename
      to ...
      (probe_dummy_iter): ... this.
      * grub-core/kern/i386/coreboot/mmap.c
      (grub_linuxbios_table_iterate: check_signature): Likewise.
      * grub-core/kern/parser.c (grub_parser_split_cmdline:
      check_varstate): Likewise.  Mark inline.
      * grub-core/lib/arg.c (find_short: fnd_short): Likewise.  Pass
      an additional parameter.
      (find_long: fnd_long): Likewise.  Pass two additional parameters.
      * grub-core/lib/crc.c (init_crc32c_table: reflect): Likewise.
      * grub-core/lib/crc64.c (init_crc64_table: reflect): Likewise.
      * grub-core/lib/ieee1275/cmos.c (grub_cmos_find_port: hook):
      Likewise.  Rename to ...
      (grub_cmos_find_port_iter): ... this.
      * grub-core/lib/ieee1275/datetime.c (find_rtc: hook): Likewise.
      Rename to ...
      (find_rtc_iter): ... this.
      
      * grub-core/normal/menu_entry.c (run): Fold nested editor_getsource
      function directly into the function body, since it is only called
      once.
      5c67ea6c
  7. 24 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/font/font.c (grub_font_load): Add support for default · 274416e8
      Vladimir 'phcoder' Serbinenko authored
      	path for fonts ($prefix/fonts).
      	* grub-core/kern/corecmd.c (grub_core_cmd_insmod): Unify condition
      	for checking if string is a path.
      	* grub-core/normal/main.c (features): Add feature_default_font_path.
      	* util/grub-mkconfig.in: Skip mangling of GRUB_FONT into GRUB_FONT_PATH.
      	* util/grub.d/00_header.in: Use default directory if possible.
      	* util/grub-install.in: Install unicode.pf2.
      274416e8
  8. 22 Feb, 2012 1 commit
  9. 12 Feb, 2012 2 commits
  10. 21 Sep, 2010 1 commit
  11. 17 Sep, 2010 1 commit
  12. 06 May, 2010 1 commit
  13. 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
  14. 15 Mar, 2010 1 commit
  15. 26 Dec, 2009 2 commits
    • carles's avatar
      2009-12-27 Carles Pina i Estany <carles@pina.cat> · 864ba2bb
      carles authored
      	* efiemu/main.c (GRUB_MOD_INIT): Fix capitalizations and/or full
      	stops.
      	* kern/corecmd.c (grub_register_core_commands): Likewise.
      	* loader/efi/chainloader.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/bsd.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/efi/linux.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/linux.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/pc/chainloader.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise.
      	* loader/multiboot_loader.c (GRUB_MOD_INIT): Likewise.
      	* loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
      	* loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise.
      	* loader/xnu.c (GRUB_MOD_INIT): Likewise.
      	* mmap/mmap.c (GRUB_MOD_INIT): Likewise.
      	* normal/handler.c (insert_handler): Likewise.
      	* normal/main.c (GRUB_MOD_INIT): Likewise.
      	* term/gfxterm.c (GRUB_MOD_INIT): Likewise.
      864ba2bb
    • carles's avatar
      2009-12-26 Carles Pina i Estany <carles@pina.cat> · fdcdbb66
      carles authored
      	* commands/help.c (grub_cmd_help): Print the command name before the
      	summary.
      	(GRUB_MOD_INIT): Remove command name from the summary.
      	* kern/command.c (GRUB_MOD_INIT): If summary is null assign an empty
      	strig as summary.
      	* lib/arg.c (find_long): Print the command name before the summary.
      	* commands/acpi.c (GRUB_MOD_INIT): Remove command name from the
      	summary.
      	* commands/blocklist.c (GRUB_MOD_INIT): Likewise.
      	* commands/cat.c (GRUB_MOD_INIT): Likewise.
      	* commands/cmp.c (GRUB_MOD_INIT): Likewise.
      	* commands/configfile.c (GRUB_MOD_INIT): Likewise.
      	* commands/crc.c (GRUB_MOD_INIT): Likewise.
      	* commands/date.c (GRUB_MOD_INIT): Likewise.
      	* commands/echo.c (GRUB_MOD_INIT): Likewise.
      	* commands/efi/loadbios.c (GRUB_MOD_INIT): Likewise.
      	* commands/gptsync.c (GRUB_MOD_INIT): Likewise.
      	* commands/handler.c (GRUB_MOD_INIT): Likewise.
      	* commands/hdparm.c (GRUB_MOD_INIT): Likewise.
      	* commands/hexdump.c (GRUB_MOD_INIT): Likewise.
      	* commands/i386/cpuid.c (GRUB_MOD_INIT): Likewise.
      	* commands/i386/pc/halt.c (GRUB_MOD_INIT): Likewise.
      	* commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
      	* commands/i386/pc/pxecmd.c (GRUB_MOD_INIT): Likewise.
      	* commands/keystatus.c (GRUB_MOD_INIT): Likewise.
      	* commands/loadenv.c (GRUB_MOD_INIT): Likewise.
      	* commands/ls.c (GRUB_MOD_INIT): Likewise.
      	* commands/lspci.c (GRUB_MOD_INIT): Likewise.
      	* commands/memrw.c (GRUB_MOD_INIT): Likewise.
      	* commands/minicmd.c (GRUB_MOD_INIT): Likewise.
      	* commands/parttool.c (GRUB_MOD_INIT): Likewise.
      	* commands/password.c (GRUB_MOD_INIT): Likewise.
      	* commands/probe.c (GRUB_MOD_INIT): Likewise.
      	* commands/read.c (GRUB_MOD_INIT): Likewise.
      	* commands/search.c (GRUB_MOD_INIT): Likewise.
      	* commands/sleep.c (GRUB_MOD_INIT): Likewise.
      	* commands/test.c (GRUB_MOD_INIT): Likewise.
      	* commands/xnu_uuid.c (GRUB_MOD_INIT): Likewise.
      	* efiemu/main.c (GRUB_MOD_INIT): Likewise.
      	* font/font_cmd.c (GRUB_MOD_INIT): Likewise.
      	* gettext/gettext.c (GRUB_MOD_INIT): Likewise.
      	* kern/corecmd.c (GRUB_MOD_INIT): Likewise.
      	* lib/arg.c (GRUB_MOD_INIT): Likewise.
      	* loader/efi/appleloader.c (GRUB_MOD_INIT): Likewise.
      	* loader/i386/bsd.c (GRUB_MOD_INIT): Likewise.
      	* loader/xnu.c (GRUB_MOD_INIT): Likewise.
      	* mmap/mmap.c (GRUB_MOD_INIT): Likewise.
      	* term/terminfo.c (GRUB_MOD_INIT): Likewise.
      	* video/readers/jpeg.c (GRUB_MOD_INIT): Likewise.
      	* video/readers/png.c (GRUB_MOD_INIT): Likewise.
      	* video/readers/tga.c (GRUB_MOD_INIT): Likewise.
      fdcdbb66
  16. 20 Dec, 2009 1 commit
  17. 11 Jun, 2009 1 commit
  18. 06 Apr, 2009 1 commit
    • phcoder's avatar
      2009-04-05 Vladimir Serbinenko <phcoder@gmail.com> · 05aaebfb
      phcoder authored
      	Support for mtime and further expandability of dir command
      
      	* include/grub/lib/datetime.h: moved to ...
      	* include/grub/datetime.h: ... moved here and added 
      	declaration of grub_unixtime2datetime. All users updated
      	* include/grub/fs.h: new syntax for dir and mtime functionin 
      	struct grub_fs 
      	* include/grub/fshelp.h: new declarations of GRUB_FSHELP_TYPE_MASK
      	and GRUB_FSHELP_FLAGS_MASK
      	* commands/ls.c (grub_ls_list_files): Write mtime in long format
      	* fs/ext2.c (grub_ext2_dir): use new dir syntax and supply mtime
      	(grub_ext2_mtime): new function
      	* fs/hfsplus.c (grub_hfsplus_dir): use new dir syntax and supply mtime
      	(grub_hfsplus_mtime): new function
      	* fs/ufs.c (GRUB_UFS_ATTR_TYPE): new definition
      	(GRUB_UFS_ATTR_FILE): likewise
      	(GRUB_UFS_ATTR_LNK): likewise
      	(struct grub_ufs_sblock): new fields mtime
      	(grub_ufs_read_inode): new parameter to read inode to a separate buffer
      	all users updated
      	(grub_ufs_dir): mtime support
      	(grub_ufs_mtime): new function
      	* fs/affs.c (grub_affs_dir): use new dir syntax
      	* fs/afs.c (grub_afs_dir): likewise
      	* fs/cpio.c (grub_cpio_dir): likewise
      	* fs/fat.c (grub_fat_find_dir): likewise
      	* fs/hfs.c (grub_hfs_dir): likewise
      	* fs/iso9660.c (grub_iso9660_dir): likewise
      	* fs/jfs.c (grub_jfs_dir): likewise
      	* fs/minix.c (grub_minix_dir): likewise
      	* fs/ntfs.c (grub_ntfs_dir): likewise
      	* fs/reiserfs.c (grub_reiserfs_dir): likewise
      	* fs/sfs.c (grub_sfs_dir): likewise
      	* fs/xfs.c (grub_xfs_dir): likewise
      	* util/hostfs.c (grub_hostfs_dir): likewise
      	* lib/datetime.c: moved to ...
      	* normal/datetime.c: ... moved here
      	(grub_unixtime2datetime): new function
      	* kern/rescue.c (grub_rescue_print_files): use new dir syntax
      	* normal/completition.c (iterate_dir): use new dir syntax
      	* normal/misc.c (grub_normal_print_device_info): tell the 
      	last modification time of a volume
      	* kern/fs.c (grub_fs_probe): updated dummy function to use new syntax 
      	* conf/common.rmk: added lib/datetime.c to ls.mod
      	* conf/i386-coreboot.rmk (grub_emu_SOURCES): add normal/datetime.c  
      	(normal_mod_SOURCES): likewise
      	(datetime_mod_SOURCES): Removed lib/datetime.c
      	* conf/i386-efi.rmk: likewise
      	* conf/i386-ieee1275.rmk: likewise	
      	* conf/i386-pc.rmk: likewise
      	* conf/powerpc-ieee1275.rmk: likewise
      	* conf/sparc64-ieee1275.rmk: likewise	
      	* conf/x86_64-efi.rmk: likewise	
      05aaebfb
  19. 21 Mar, 2009 1 commit
    • bean's avatar
      2009-03-21 Bean <bean123ch@gmail.com> · b1b797cb
      bean authored
      	* commands/blocklist.c: Add include file <grub/command.h>, remove
      	<grub/normal.h> and <grub/arg.h>.
      	(grub_cmd_blocklist): Use the new command interface.
      	(GRUB_MOD_INIT): Likewise.
      	(GRUB_MOD_FINI): Likewise.
      	* commands/boot.c: Likewise.
      	* commands/cat.c: Likewise.
      	* commands/cmp.c: Likewise.
      	* commands/configfile.c: Likewise.
      	* commands/crc.c: Likewise.
      	* commands/echo.c: Likewise.
      	* commands/halt.c: Likewise.
      	* commands/handler.c: Likewise.
      	* commands/hdparm.c: Likewise.
      	* commands/help.c: Likewise.
      	* commands/hexdump.c: Likewise.
      	* commands/loadenv.c: Likewise.
      	* commands/ls.c: Likewise.
      	* commands/lsmmap.c: Likewise.
      	* commands/lspci.c: Likewise.
      	* commands/loadenv.c: Likewise.
      	* commands/read.c: Likewise.
      	* commands/reboot.c: Likewise.
      	* commands/search.c: Likewise.
      	* commands/sleep.c: Likewise.
      	* commands/test.c: Likewise.
      	* commands/usbtest.c: Likewise.
      	* commands/videotest.c: Likewise.
      	* commands/i386/cpuid.c: Likewise.
      	* commands/i386/pc/halt.c: Likewise.
      	* commands/i386/pc/play.c: Likewise.
      	* commands/i386/pc/pxecmd.c: Likewise.
      	* commands/i386/pc/vbeinfo.c: Likewise.
      	* commands/i386/pc/vbetest.c: Likewise.
      	* commands/ieee1275/suspend.c: Likewise.
      	* disk/loopback.c: Likewise.
      	* font/font_cmd.c: Likewise.
      	* hello/hello.c: Likewise.
      	* loader/efi/appleloader.c: Likewise.
      	* loader/efi/chainloader.c: Likewise.
      	* loader/i386/bsd.c: Likewise.
      	* loader/i386/efi/linux.c: Likewise.
      	* loader/i386/ieee1275/linux.c: Likewise.
      	* loader/i386/linux.c: Likewise.
      	* loader/i386/pc/chainloader.c: Likewise.
      	* loader/i386/pc/linux.c: Likewise.
      	* loader/powerpc/ieee1275/linux.c: Likewise.
      	* loader/multiboot_loader.c: Likewise.
      	* term/gfxterm.c: Likewise.
      	* term/i386/pc/serial.c: Likewise.
      	* term/terminfo.c: Likewise.
      
      	* term/i386/pc/vesafb.c: Removed <grub/arg.h>.
      	* term/i386/pc/vga.c: Likewise.
      	* video/readers/jpeg.c: Likewise.
      	* video/readers/png.c: Likewise.
      	* video/readers/tga.c: Likewise.
      
      	* util/grub-fstest (cmd_loopback): Removed.
      	(cmd_blocklist): Likewise.
      	(cmd_ls): Likewise.
      	(grub_register_command): Likewise.
      	(grub_unregister_command): Likewise.
      	(execute_command): Use grub_command_find to locate command and execute
      	it.
      
      	* include/grub/efi/chainloader.h: Removed.
      	* loader/efi/chainloader_normal.c: Likewise.
      	* loader/i386/bsd_normal.c: Likewise.
      	* loader/i386/pc/chainloader_normal.c: Likewise.
      	* loader/i386/pc/multiboot_normal.c: Likewise.
      	* loader/linux_normal.c: Likewise.
      	* loader/multiboot_loader_normal.c: Likewise.
      	* loader/powerpc/ieee1275/linux_normal.c: Likewise.
      
      	* gencmdlist.sh: Scan new registration command grub_register_extcmd
      	and grub_register_command_p1.
      
      	* conf/common.rmk (grub_fstest_SOURCES): Add kern/list.c,
      	kern/command.c, lib/arg.c and commands/extcmd.c.
      	(pkglib_MODULES): Remove boot.mod, and minicmd.mod and extcmd.mod.
      	(minicmd_mod_SOURCES): New variable.
      	(minicmd_mod_CFLAGS): Likewise.
      	(minicmd_mod_LDFLAGS): Likewise.
      	(extcmd_mod_SOURCES): Likewise.
      	(extcmd_mod_CFLAGS): Likewise.
      	(extcmd_mod_LDFLAGS): Likewise.
      	(boot_mod_SOURCES): Removed.
      	(boot_mod_CFLAGS): Likewise.
      	(boot_mod_LDFLAGS): Likewise.
      
      	* conf/i386-pc.rmk (kernel_img_SOURCES): Add kern/command.c and
      	kern/corecmd.c.
      	(kernel_img_HEADERS): Add command.h.
      	(grub_emu_SOURCES): Remove commands/boot.c and normal/arg.c, add
      	commands/minicmd.c, kern/command.c, kern/corecmd.c, commands/extcmd.c
      	and lib/arg.c.
      	(pkglib_MODULES): Change _linux.mod, _chain.mod, _bsd.mod and
      	_multiboot.mod as linux.mod, chain.mod, bsd.mod and multiboot.mod,
      	remove the corresponding normal mode command.
      	(normal_mod_SOURCES): Remove normal/arg.c.
      	* conf/i386-coreboot.rmk: Likewise.
      	* conf/i386-efi.rmk: Likewise.
      	* conf/i386-ieee1275.rmk: Likewise.
      	* conf/powerpc-ieee1275.rmk: Likewise.
      	* conf/x86_64-efi.rmk: Likewise.
      
      	* include/grub/arg.h: Move from here ...
      	* include/grub/lib/arg.h: ... to here.
      
      	* normal/arg.c: Move from here ...
      	* lib/arg.c: ... to here.
      
      	* commands/extcmd.c: New file.
      	* commands/minicmd.c: Likewise.
      	* include/grub/command.h: Likewise.
      	* include/grub/extcmd.h: Likewise.
      	* kern/command.c: Likewise.
      	* kern/corecmd.c: Likewise.
      
      	* kern/list.c (grub_list_iterate): Return int instead of void.
      	(grub_list_insert): New function.
      	(grub_prio_list_insert): Likewise.
      
      	* kern/rescue.c (grub_rescue_command): Removed.
      	(grub_rescue_command_list): Likewise.
      	(grub_rescue_register_command): Likewise.
      	(grub_rescue_unregister_command): Likewise.
      	(grub_rescue_cmd_boot): Move to minicmd.c
      	(grub_rescue_cmd_help): Likewise.
      	(grub_rescue_cmd_info): Likewise.
      	(grub_rescue_cmd_boot): Likewise.
      	(grub_rescue_cmd_testload): Likewise.
      	(grub_rescue_cmd_dump): Likewise.
      	(grub_rescue_cmd_rmmod): Likewise.
      	(grub_rescue_cmd_lsmod): Likewise.
      	(grub_rescue_cmd_exit): Likewise.
      	(grub_rescue_print_devices): Moved to corecmd.c.
      	(grub_rescue_print_files): Likewise.
      	(grub_rescue_cmd_ls): Likewise.
      	(grub_rescue_cmd_insmod): Likewise.
      	(grub_rescue_cmd_set): Likewise.
      	(grub_rescue_cmd_unset): Likewise.
      	(attemp_normal_mode): Use grub_command_find to get normal module.
      	(grub_enter_rescue_mode): Use grub_register_core_commands to register
      	commands, remove grub_rescue_regiter_command calls.
      
      	* normal/command.c (grub_regiser_command): Removed.
      	(grub_unregister_command): Likewise.
      	(grub_command_find): Likewise.
      	(grub_iterate_commands): Likewise.
      	(rescue_command): Likewise.
      	(export_command): Moved to corecmd.c.
      	(set_command): Removed.
      	(unset_command): Likewise.
      	(insmod_command): Likewise.
      	(rmmod_command): Likewise.
      	(lsmod_command): Likewise.
      	(grub_command_init): Likewise.
      
      	* normal/completion.c (iterate_command): Use cmd->prio to check for
      	active command.
      	(complete_arguments): Use grub_extcmd_t structure to find options.
      	(grub_normal_do_completion): Change function grub_iterate_commands to
      	grub_command_iterate.
      
      	* normal/execute.c (grub_script_execute_cmd): No need to parse
      	argument here.
      
      	* normal/main.c (grub_dyncmd_dispatcher): New function.
      	(read_command_list): Register unload commands as dyncmd.
      	(grub_cmd_normal): Use new command interface, register rescue,
      	unregister normal at entry, register normal, unregister rescue at exit.
      
      	* include/grub/list.h (grub_list_test_t): New type.
      	(grub_list_iterate): Return int instead of void.
      	(grub_list_insert): New function.
      	(GRUB_AS_NAMED_LIST_P): New macro.
      	(GRUB_AS_PRIO_LIST): Likewise.
      	(GRUB_AS_PRIO_LIST_P): Likewise.
      	(GRUB_PRIO_LIST_PRIO_MASK): New constant.
      	(GRUB_PRIO_LIST_FLAG_ACTIVE): Likewise.
      	(grub_prio_list): New structure.
      	(grub_prio_list_insert): New function.
      	(grub_prio_list_remove): New inline function.
      
      	* include/grub/normal.h: Remove <grub/arg.h>, add <grub/command.h>.
      	(GRUB_COMMAND_FLAG_CMDLINE): Moved to command.h.
      	(GRUB_COMMAND_FLAG_MENU): Likewise.
      	(GRUB_COMMAND_FLAG_BOTH): Likewise.
      	(GRUB_COMMAND_FLAG_TITLE): Likewise.
      	(GRUB_COMMAND_FLAG_NO_ECHO): Likewise.
      	(GRUB_COMMAND_FLAG_NO_ARG_PARSE): Removed.
      	(GRUB_COMMAND_FLAG_NOT_LOADED): Likewise.
      	(grub_command): Likewise.
      	(grub_register_command): Likewise.
      	(grub_command_find): Likewise.
      	(grub_iterate_commands): Likewise.
      	(grub_command_init): Likewise.
      	(grub_arg_parse): Likewise.
      	(grub_arg_show_help): Likewise.
      
      	* include/grub/rescue.h (grub_rescue_register_command): Removed.
      	(grub_rescue_unregister_command): Likewise.
      
      	* include/grub/i386/bsd.h: Remove grub_rescue_cmd_freebsd,
      	grub_rescue_cmd_openbsd, grub_rescue_cmd_netbsd,
      	grub_rescue_cmd_freebsd_loadenv and grub_rescue_cmd_freebsd_module.
      
      	* include/grub/i386/efi/loader.h: Remove grub_rescue_cmd_linux and
      	grub_rescue_cmd_initrd.
      	* include/grub/i386/loader.h: Likewise.
      	* include/grub/x86_64/loader.h: Likewise.
      
      	* include/grub/i386/pc/chainloader.h: Remove grub_chainloader_cmd.
      b1b797cb