9cacaa174c
Use grub_abort instead of grub_stop, and grub_exit must be define in each architecture now. Also, this change adds support for EFI disks. * util/i386/pc/grub-probefs.c: Include grub/term.h. (grub_getkey): New function. (grub_term_get_current): Likewise. * util/i386/pc/grub-setup.c: Include grub/term.h. (grub_getkey): New function. (grub_term_get_current): Likewise. * util/misc.c (grub_stop): Renamed to ... (grub_exit): ... this. * kern/powerpc/ieee1275/init.c (abort): Renamed to ... (grub_exit): ... this. (grub_machine_init): Use grub_abort instead of abort. (grub_stop): Removed. * kern/powerpc/ieee1275/cmain.c (cmain): Use grub_abort instead of abort. * kern/i386/pc/startup.S (grub_exit): New function. (cold_reboot): New label. * kern/efi/init.c: Include grub/efi/disk.h and grub/env.h. (grub_efi_init): Call grub_efidisk_init. (grub_efi_fini): Call grub_efidisk_fini. * kern/efi/efi.c: Include grub/mm.h. (grub_efi_console_control_guid): Renamed to ... (console_control_guid): ... this. (grub_efi_loaded_image_guid): Renamed to ... (loaded_image_guid): ... this. (grub_efi_locate_handle): New function. (grub_efi_open_protocol): Likewise. (grub_efi_set_text_mode): Use CONSOLE_CONTROL_GUID instead of GRUB_EFI_CONSOLE_CONTROL_GUID. (grub_efi_exit): Removed. (grub_stop): Likewise. (grub_efi_get_loaded_image): Use grub_efi_open_protocol. (grub_exit): New function. (grub_print_device_path): Likewise. * kern/rescue.c (grub_rescue_cmd_exit): New function. (grub_enter_rescue_mode): Register "exit". * kern/misc.c (grub_real_dprintf): A cosmetic change. (grub_abort): New function. * kern/err.c (grub_fatal): Use grub_abort instead of grub_stop. * include/grub/sparc64/ieee1275/kernel.h (abort): Removed. * include/grub/powerpc/ieee1275/kernel.h (abort): Removed. * include/grub/efi/efi.h (grub_efi_exit): Removed. (grub_print_device_path): New prototype. (grub_efi_locate_handle): Likewise. (grub_efi_open_protocol): Likewise. * include/grub/efi/disk.h (grub_efidisk_fini): New file. * disk/efi/efidisk.c: Likewise. * DISTLIST: Added disk/efi/efidisk.c and include/grub/efi/disk.h. * include/grub/efi/console_control.h (GRUB_EFI_CONSOLE_CONTROL_GUID): Use an array for the last 8 bytes. * include/grub/efi/api.h (GRUB_EFI_LOADED_IMAGE_GUID): Specify the last 8 bytes as an array. (GRUB_EFI_DISK_IO_GUID): New macro. (GRUB_EFI_BLOCK_IO_GUID): Likewise. (GRUB_EFI_DEVICE_PATH_GUID): Likewise. (grub_efi_ipv6_address_t): Change the type to grub_uint16_t from grub_uint8_t. (struct grub_efi_guid): Use an array to specify the last 8 bytes. (struct grub_efi_device_path): Rename the member "sub_type" to "subtype". (GRUB_EFI_DEVICE_PATH_TYPE): New macro. (GRUB_EFI_DEVICE_PATH_SUBTYPE): Likewise. (GRUB_EFI_DEVICE_PATH_LENGTH): Likewise. (GRUB_EFI_END_DEVICE_PATH_TYPE): Likewise. (GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE): Likewise. (GRUB_EFI_END_THIS_DEVICE_PATH_SUBTYPE): Likewise. (GRUB_EFI_END_ENTIRE_DEVICE_PATH): Likewise. (GRUB_EFI_NEXT_DEVICE_PATH): Likewise. (GRUB_EFI_HARDWARE_DEVICE_PATH_TYPE): Likewise. (GRUB_EFI_PCI_DEVICE_PATH_SUBTYPE): Likewise. (struct grub_efi_pci_device_path): New structure. (grub_efi_pci_device_path_t): New type. (GRUB_EFI_PCCARD_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_pccard_device_path): New structure. (grub_efi_pccard_device_path_t): New type. (GRUB_EFI_MEMORY_MAPPED_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_memory_mapped_device_path): New structure. (grub_efi_memory_mapped_device_path_t): New type. (GRUB_EFI_VENDOR_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_vendor_device_path): New structure. (grub_efi_vendor_device_path_t): New type. (GRUB_EFI_CONTROLLER_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_controller_device_path): New structure. (grub_efi_controller_device_path_t): New type. (GRUB_EFI_ACPI_DEVICE_PATH_TYPE): New macro. (GRUB_EFI_ACPI_DEVICE_PATH_SUBTYPE): Likewise. (struct grub_efi_acpi_device_path): New structure. (grub_efi_acpi_device_path_t): New type. (GRUB_EFI_EXPANDED_ACPI_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_expanded_acpi_device_path): New structure. (grub_efi_expanded_acpi_device_path_t): New type. (GRUB_EFI_EXPANDED_ACPI_HIDSTR): New macro. (GRUB_EFI_EXPANDED_ACPI_UIDSTR): Likewise. (GRUB_EFI_EXPANDED_ACPI_CIDSTR): Likewise. (GRUB_EFI_MESSAGING_DEVICE_PATH_TYPE): Likewise. (GRUB_EFI_ATAPI_DEVICE_PATH_SUBTYPE): Likewise. (struct grub_efi_atapi_device_path): New structure. (grub_efi_atapi_device_path_t): New type. (GRUB_EFI_FIBRE_CHANNEL_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_fibre_channel_device_path): New structure. (grub_efi_fibre_channel_device_path_t): New type. (GRUB_EFI_1394_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_1394_device_path): New structure. (grub_efi_1394_device_path_t): New type. (GRUB_EFI_USB_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_usb_device_path): New structure. (grub_efi_usb_device_path_t): New type. (GRUB_EFI_USB_CLASS_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_usb_class_device_path): New structure. (grub_efi_usb_class_device_path_t): New type. (GRUB_EFI_I2O_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_i2o_device_path): New structure. (grub_efi_i2o_device_path_t): New type. (GRUB_EFI_MAC_ADDRESS_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_mac_address_device_path): New structure. (grub_efi_mac_address_device_path_t): New type. (GRUB_EFI_IPV4_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_ipv4_device_path): New structure. (grub_efi_ipv4_device_path_t): New type. (GRUB_EFI_IPV6_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_ipv6_device_path): New structure. (grub_efi_ipv6_device_path_t): New type. (GRUB_EFI_INFINIBAND_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_infiniband_device_path): New structure. (grub_efi_infiniband_device_path_t): New type. (GRUB_EFI_UART_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_uart_device_path): New structure. (grub_efi_uart_device_path_t): New type. (GRUB_EFI_VENDOR_MESSAGING_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_vendor_messaging_device_path): New structure. (grub_efi_vendor_messaging_device_path_t): New type. (GRUB_EFI_MEDIA_DEVICE_PATH_TYPE): New macro. (GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE): Likewise. (struct grub_efi_hard_drive_device_path): New structure. (grub_efi_hard_drive_device_path_t): New type. (GRUB_EFI_CDROM_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_cdrom_device_path): New structure. (grub_efi_cdrom_device_path_t): New type. (GRUB_EFI_VENDOR_MEDIA_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_vendor_media_device_path): New structure. (grub_efi_vendor_media_device_path_t): New type. (GRUB_EFI_FILE_PATH_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_file_path_device_path): New structure. (grub_efi_file_path_device_path_t): New type. (GRUB_EFI_PROTOCOL_DEVICE_PATH_SUBTYPE): New macro. (struct grub_efi_protocol_device_path): New structure. (grub_efi_protocol_device_path_t): New type. (GRUB_EFI_BIOS_DEVICE_PATH_TYPE): New macro. (GRUB_EFI_BIOS_DEVICE_PATH_SUBTYPE): Likewise. (struct grub_efi_bios_device_path): New structure. (grub_efi_bios_device_path_t): New type. (struct grub_efi_disk_io): New structure. (grub_efi_disk_io_t): New type. (struct grub_efi_block_io_media): New structure. (grub_efi_block_io_media_t): New type. (struct grub_efi_block_io): New structure. (grub_efi_block_io_t): New type. * include/grub/misc.h (grub_stop): Removed. (grub_exit): New prototype. (grub_abort): Likewise. * include/grub/disk.h (enum grub_disk_dev_id): Added GRUB_DISK_DEVICE_EFIDISK_ID. * conf/i386-efi.rmk (kernel_mod_SOURCES): Added disk/efi/efidisk.c. (kernel_syms.lst): Remove the target if an error occurs.
261 lines
5.4 KiB
Text
261 lines
5.4 KiB
Text
AUTHORS
|
|
COPYING
|
|
ChangeLog
|
|
DISTLIST
|
|
INSTALL
|
|
NEWS
|
|
README
|
|
THANKS
|
|
TODO
|
|
Makefile.in
|
|
aclocal.m4
|
|
autogen.sh
|
|
config.guess
|
|
config.h.in
|
|
config.sub
|
|
configure
|
|
configure.ac
|
|
gencmdlist.sh
|
|
gendistlist.sh
|
|
genfslist.sh
|
|
geninitheader.sh
|
|
geninit.sh
|
|
genkernsyms.sh
|
|
genmk.rb
|
|
genmodsrc.sh
|
|
gensymlist.sh
|
|
install-sh
|
|
mkinstalldirs
|
|
stamp-h.in
|
|
boot/i386/pc/boot.S
|
|
boot/i386/pc/diskboot.S
|
|
boot/i386/pc/pxeboot.S
|
|
commands/boot.c
|
|
commands/cat.c
|
|
commands/cmp.c
|
|
commands/configfile.c
|
|
commands/default.c
|
|
commands/help.c
|
|
commands/ls.c
|
|
commands/search.c
|
|
commands/terminal.c
|
|
commands/test.c
|
|
commands/timeout.c
|
|
commands/videotest.c
|
|
commands/i386/pc/halt.c
|
|
commands/i386/pc/play.c
|
|
commands/i386/pc/reboot.c
|
|
commands/i386/pc/vbeinfo.c
|
|
commands/i386/pc/vbetest.c
|
|
commands/ieee1275/halt.c
|
|
commands/ieee1275/reboot.c
|
|
commands/ieee1275/suspend.c
|
|
conf/common.mk
|
|
conf/common.rmk
|
|
conf/i386-efi.mk
|
|
conf/i386-efi.rmk
|
|
conf/i386-pc.mk
|
|
conf/i386-pc.rmk
|
|
conf/powerpc-ieee1275.mk
|
|
conf/powerpc-ieee1275.rmk
|
|
conf/sparc64-ieee1275.mk
|
|
conf/sparc64-ieee1275.rmk
|
|
disk/loopback.c
|
|
disk/efi/efidisk.c
|
|
disk/i386/pc/biosdisk.c
|
|
disk/ieee1275/ofdisk.c
|
|
font/manager.c
|
|
fs/affs.c
|
|
fs/ext2.c
|
|
fs/fat.c
|
|
fs/fshelp.c
|
|
fs/hfs.c
|
|
fs/iso9660.c
|
|
fs/jfs.c
|
|
fs/minix.c
|
|
fs/ufs.c
|
|
fs/sfs.c
|
|
fs/xfs.c
|
|
fs/hfsplus.c
|
|
hello/hello.c
|
|
include/grub/acorn_filecore.h
|
|
include/grub/arg.h
|
|
include/grub/boot.h
|
|
include/grub/cache.h
|
|
include/grub/device.h
|
|
include/grub/disk.h
|
|
include/grub/dl.h
|
|
include/grub/elf.h
|
|
include/grub/env.h
|
|
include/grub/err.h
|
|
include/grub/file.h
|
|
include/grub/font.h
|
|
include/grub/fs.h
|
|
include/grub/fshelp.h
|
|
include/grub/gzio.h
|
|
include/grub/hfs.h
|
|
include/grub/kernel.h
|
|
include/grub/loader.h
|
|
include/grub/misc.h
|
|
include/grub/mm.h
|
|
include/grub/net.h
|
|
include/grub/normal.h
|
|
include/grub/parser.h
|
|
include/grub/partition.h
|
|
include/grub/pc_partition.h
|
|
include/grub/rescue.h
|
|
include/grub/script.h
|
|
include/grub/setjmp.h
|
|
include/grub/symbol.h
|
|
include/grub/term.h
|
|
include/grub/terminfo.h
|
|
include/grub/tparm.h
|
|
include/grub/types.h
|
|
include/grub/video.h
|
|
include/grub/efi/api.h
|
|
include/grub/efi/console.h
|
|
include/grub/efi/console_control.h
|
|
include/grub/efi/disk.h
|
|
include/grub/efi/efi.h
|
|
include/grub/efi/pe32.h
|
|
include/grub/efi/time.h
|
|
include/grub/i386/setjmp.h
|
|
include/grub/i386/types.h
|
|
include/grub/i386/efi/kernel.h
|
|
include/grub/i386/efi/time.h
|
|
include/grub/i386/pc/biosdisk.h
|
|
include/grub/i386/pc/boot.h
|
|
include/grub/i386/pc/chainloader.h
|
|
include/grub/i386/pc/console.h
|
|
include/grub/i386/pc/init.h
|
|
include/grub/i386/pc/kernel.h
|
|
include/grub/i386/pc/linux.h
|
|
include/grub/i386/pc/loader.h
|
|
include/grub/i386/pc/memory.h
|
|
include/grub/i386/pc/multiboot.h
|
|
include/grub/i386/pc/serial.h
|
|
include/grub/i386/pc/time.h
|
|
include/grub/i386/pc/vbe.h
|
|
include/grub/i386/pc/vbeblit.h
|
|
include/grub/i386/pc/vbefill.h
|
|
include/grub/i386/pc/vga.h
|
|
include/grub/i386/pc/util/biosdisk.h
|
|
include/grub/ieee1275/ieee1275.h
|
|
include/grub/ieee1275/ofdisk.h
|
|
include/grub/powerpc/libgcc.h
|
|
include/grub/powerpc/setjmp.h
|
|
include/grub/powerpc/types.h
|
|
include/grub/powerpc/ieee1275/biosdisk.h
|
|
include/grub/powerpc/ieee1275/console.h
|
|
include/grub/powerpc/ieee1275/ieee1275.h
|
|
include/grub/powerpc/ieee1275/kernel.h
|
|
include/grub/powerpc/ieee1275/loader.h
|
|
include/grub/powerpc/ieee1275/multiboot.h
|
|
include/grub/powerpc/ieee1275/time.h
|
|
include/grub/powerpc/ieee1275/util/biosdisk.h
|
|
include/grub/sparc64/setjmp.h
|
|
include/grub/sparc64/types.h
|
|
include/grub/sparc64/ieee1275/console.h
|
|
include/grub/sparc64/ieee1275/ieee1275.h
|
|
include/grub/sparc64/ieee1275/kernel.h
|
|
include/grub/sparc64/ieee1275/time.h
|
|
include/grub/util/getroot.h
|
|
include/grub/util/misc.h
|
|
include/grub/util/resolve.h
|
|
io/gzio.c
|
|
kern/device.c
|
|
kern/disk.c
|
|
kern/dl.c
|
|
kern/env.c
|
|
kern/err.c
|
|
kern/file.c
|
|
kern/fs.c
|
|
kern/loader.c
|
|
kern/main.c
|
|
kern/misc.c
|
|
kern/mm.c
|
|
kern/parser.c
|
|
kern/partition.c
|
|
kern/rescue.c
|
|
kern/term.c
|
|
kern/efi/init.c
|
|
kern/efi/efi.c
|
|
kern/efi/mm.c
|
|
kern/i386/dl.c
|
|
kern/i386/efi/init.c
|
|
kern/i386/efi/startup.S
|
|
kern/i386/pc/init.c
|
|
kern/i386/pc/lzo1x.S
|
|
kern/i386/pc/startup.S
|
|
kern/ieee1275/ieee1275.c
|
|
kern/powerpc/cache.S
|
|
kern/powerpc/dl.c
|
|
kern/powerpc/ieee1275/cmain.c
|
|
kern/powerpc/ieee1275/crt0.S
|
|
kern/powerpc/ieee1275/init.c
|
|
kern/powerpc/ieee1275/openfw.c
|
|
kern/sparc64/cache.S
|
|
kern/sparc64/dl.c
|
|
kern/sparc64/ieee1275/init.c
|
|
kern/sparc64/ieee1275/openfw.c
|
|
loader/i386/pc/chainloader.c
|
|
loader/i386/pc/chainloader_normal.c
|
|
loader/i386/pc/linux.c
|
|
loader/i386/pc/linux_normal.c
|
|
loader/i386/pc/multiboot.c
|
|
loader/i386/pc/multiboot_normal.c
|
|
loader/powerpc/ieee1275/linux.c
|
|
loader/powerpc/ieee1275/linux_normal.c
|
|
normal/arg.c
|
|
normal/cmdline.c
|
|
normal/command.c
|
|
normal/completion.c
|
|
normal/context.c
|
|
normal/execute.c
|
|
normal/function.c
|
|
normal/lexer.c
|
|
normal/main.c
|
|
normal/menu.c
|
|
normal/menu_entry.c
|
|
normal/misc.c
|
|
normal/parser.y
|
|
normal/script.c
|
|
normal/i386/setjmp.S
|
|
normal/powerpc/setjmp.S
|
|
partmap/acorn.c
|
|
partmap/amiga.c
|
|
partmap/apple.c
|
|
partmap/gpt.c
|
|
partmap/pc.c
|
|
partmap/sun.c
|
|
term/terminfo.c
|
|
term/tparm.c
|
|
term/gfxterm.c
|
|
term/efi/console.c
|
|
term/i386/pc/console.c
|
|
term/i386/pc/serial.c
|
|
term/i386/pc/vesafb.c
|
|
term/i386/pc/vga.c
|
|
term/ieee1275/ofconsole.c
|
|
util/console.c
|
|
util/genmoddep.c
|
|
util/grub-emu.c
|
|
util/misc.c
|
|
util/resolve.c
|
|
util/unifont2pff.rb
|
|
util/i386/efi/grub-mkimage.c
|
|
util/i386/pc/biosdisk.c
|
|
util/i386/pc/getroot.c
|
|
util/i386/pc/grub-install.in
|
|
util/i386/pc/grub-mkdevicemap.c
|
|
util/i386/pc/grub-mkimage.c
|
|
util/i386/pc/grub-probefs.c
|
|
util/i386/pc/grub-setup.c
|
|
util/i386/pc/misc.c
|
|
util/powerpc/ieee1275/grub-install.in
|
|
util/powerpc/ieee1275/grub-mkimage.c
|
|
util/powerpc/ieee1275/misc.c
|
|
video/video.c
|
|
video/i386/pc/vbe.c
|
|
video/i386/pc/vbeblit.c
|
|
video/i386/pc/vbefill.c
|