Commit graph

  • eac49cffc8 Add loongson tests. Vladimir 'phcoder' Serbinenko 2012-06-15 19:42:25 +02:00
  • 0321415e86 * grub-core/lib/mips/loongson/reboot.c (grub_reboot): Use 32-bit sized ports since unlike on real hardware qemu supports only 32-bit regs. Vladimir 'phcoder' Serbinenko 2012-06-15 19:36:10 +02:00
  • 3f2bdd8f55 * Makefile.util.def (grub-mkrescue): Enable on loongson. * util/grub-mkrescue.in: Handle loongson. Vladimir 'phcoder' Serbinenko 2012-06-15 18:35:11 +02:00
  • 29a049c98a * util/getroot.c (convert_system_partition_to_system_disk) [__APPLE__]: Set is_part appropriately. (grub_util_biosdisk_get_grub_dev): Use is_part rather than comparing names. Canonicalize partition without full disk. Vladimir 'phcoder' Serbinenko 2012-06-14 19:16:30 +02:00
  • 4abde34671 Revert usb-quiesce since it's wrong. Vladimir 'phcoder' Serbinenko 2012-06-13 22:44:45 +02:00
  • 61f1d93b09 * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Apply PowerMac workaround to Xserves as well. Information supplied by: Benjamin Herrenschmidt. Vladimir 'phcoder' Serbinenko 2012-06-13 01:38:40 +02:00
  • a09eb54103 Don't assume that beginning address is also the entry point on ppc. Vladimir 'phcoder' Serbinenko 2012-06-13 01:15:15 +02:00
  • 505b3c9b74 * util/grub-install.in: Fix cross-disk check on non-PreP machines. Vladimir 'phcoder' Serbinenko 2012-06-13 01:09:36 +02:00
  • cbe0b4efdb * grub-core/term/ieee1275/console.c (grub_console_fini): Don't needlessly lose the console. Vladimir 'phcoder' Serbinenko 2012-06-13 01:06:35 +02:00
  • 3006e9810f * grub-core/normal/dyncmd.c (read_command_list): Don't access freed space. Vladimir 'phcoder' Serbinenko 2012-06-13 01:04:14 +02:00
  • 7da036bbcb Remove non-functional EFI grub_get_rtc. Put a better fatal message than current grub_get_rtc() not implemented when booted with coreboot without TSC. Vladimir 'phcoder' Serbinenko 2012-06-11 20:44:38 +02:00
  • 4e5a96b02e Remove dor on i and j when combining with above diacritics. Vladimir 'phcoder' Serbinenko 2012-06-11 00:20:55 +02:00
  • 5561c22d59 * tests/grub_script_expansion.in: Explicitly tell grep that we handle text and not binary. Vladimir 'phcoder' Serbinenko 2012-06-09 19:58:38 +02:00
  • 96f7e60eae Stop polling as soon as we have the packet we were waiting for. Vladimir 'phcoder' Serbinenko 2012-06-09 11:06:55 +02:00
  • 3e74723951 Keep TX and RX buffers on EFI rather than always allocate new ones. Vladimir 'phcoder' Serbinenko 2012-06-09 11:00:18 +02:00
  • f695e99a75 * grub-core/term/ieee1275/serial.c (do_real_config): Fix cast to fix compilation error on sparc64. Vladimir 'phcoder' Serbinenko 2012-06-09 10:55:02 +02:00
  • 9e5e66d15e Use ITC on IA64 rather than broken routine based on daytime. Vladimir 'phcoder' Serbinenko 2012-06-09 10:52:39 +02:00
  • a176740446 * grub-core/disk/efi/efidisk.c (find_parent_device): Return the parent even if it's used. (name_devices): Replace #if 0 with #ifdef DEBUG_NAMES. Skip if parent is unused. Vladimir 'phcoder' Serbinenko 2012-06-09 10:43:24 +02:00
  • 34b2bced3f * tests/partmap_test.in: Skip on ppc due to serious firmware bug. Vladimir 'phcoder' Serbinenko 2012-06-08 23:02:37 +02:00
  • 5e619f408d Fix wildcard escaping. Vladimir 'phcoder' Serbinenko 2012-06-08 22:54:21 +02:00
  • c8ca585593 * grub-core/bus/usb/serial/ftdi.c (real_config): Handle 1.5 stop bits. (ftdi_hw_configure): Likewise. * grub-core/bus/usb/serial/pl2303.c (GRUB_PL2303_STOP_BITS_1_5): New define. (real_config): Handle 1.5 stop bits. (pl2303_hw_configure): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-08 20:40:40 +02:00
  • 7183452c00 * Makefile.am: Add ppc linux bootcheck. * grub-core/tests/boot/linux-ppc.cfg: New file. * grub-core/tests/boot/linux.init-ppc.S: Likewise. Vladimir 'phcoder' Serbinenko 2012-06-08 20:35:54 +02:00
  • f57c84cd60 * tests/grub_script_expansion.in: Skip network protocols. Vladimir 'phcoder' Serbinenko 2012-06-08 20:31:05 +02:00
  • ecfc6207d6 * tests/util/grub-shell.in: Use escc-ch-a port on ppc. Vladimir 'phcoder' Serbinenko 2012-06-08 20:29:15 +02:00
  • 8d03d28424 * util/powerpc/ieee1275/grub-mkrescue.in: Handle (and ignore) --rom-directory. Add -graft-points. Vladimir 'phcoder' Serbinenko 2012-06-08 20:23:39 +02:00
  • 61c42af084 ESCC serial driver for conducting sautomated tests in qemu. Not tested on real hardware. Vladimir 'phcoder' Serbinenko 2012-06-08 19:42:59 +02:00
  • 08fd129137 * grub-core/term/ieee1275/serial.c (do_real_config): Set handle to invalid on error. (serial_hw_fetch): Don't read invalid handle. (serial_hw_put): Don't write into invalid handle. Vladimir 'phcoder' Serbinenko 2012-06-08 19:34:57 +02:00
  • 08dafeeaae Add a 1.5 stop bits value. Vladimir 'phcoder' Serbinenko 2012-06-08 19:32:57 +02:00
  • 9068fdcf0b * grub-core/commands/wildcard.c (wildcard_expand): Set default return value rather than let it uninited. Vladimir 'phcoder' Serbinenko 2012-06-08 19:29:43 +02:00
  • f4d5820f28 * grub-core/commands/wildcard.c (+check_file): New function. (wildcard_expand): Don't expand to non-existing files, expand with suffix and not attempt to expand if not needed. Vladimir 'phcoder' Serbinenko 2012-06-07 23:18:04 +02:00
  • 3d2de9a7ba * grub-core/disk/efi/efidisk.c (name_devices): Don't make disks out of partitions containing other partitions. Vladimir 'phcoder' Serbinenko 2012-06-07 21:55:55 +02:00
  • c5c81ff978 Pass PCIINFO on BIOS to OpenBSD since otherwise it fails to boot on some qemu versions with GRUB. Vladimir 'phcoder' Serbinenko 2012-06-07 16:41:52 +02:00
  • 08a14e0b71 * tests/util/grub-shell.in: Trim firmware output on EFI. Vladimir 'phcoder' Serbinenko 2012-06-07 16:33:17 +02:00
  • cede3ca325 * grub-core/Makefile.core.def (vga_text): Disable on muliboot and coreboot since it's already in kernel. Vladimir 'phcoder' Serbinenko 2012-06-07 15:18:21 +02:00
  • 558d3a6023 * util/getroot.c (grub_util_get_dm_node_linear_info): Moved from here... * grub-core/kern/emu/hostdisk.c (grub_util_get_dm_node_linear_info): to here. New return value start. All users updated. Recursively scan linear mappings. * include/grub/emu/hostdisk.h (grub_util_get_dm_node_linear_info): New proto. * grub-core/kern/emu/hostdisk.c (grub_hostdisk_find_partition_start): Use grub_util_get_dm_node_linear_info. * util/getroot.c (convert_system_partition_to_system_disk): Use grub_util_info rather than grub_dprintf. (grub_util_biosdisk_get_grub_dev): Add a new grub_util_info. Vladimir 'phcoder' Serbinenko 2012-06-07 14:24:48 +02:00
  • 60fde14d3e Move handling of GRUB_QEMU_OPTS to grub-shell so that make check works. Vladimir 'phcoder' Serbinenko 2012-06-07 14:14:02 +02:00
  • 24bd8838f1 * include/grub/types.h (grub_set_unaligned64): New function. * util/grub-setup.c (write_rootdev): Use unaligned access functions. (setup): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-07 14:07:02 +02:00
  • 7bc06a4995 * grub-core/disk/ieee1275/ofdisk.c (quiesce): New function. (grub_ofdisk_fini): Quiesce USB devices. Vladimir 'phcoder' Serbinenko 2012-06-06 19:00:04 +02:00
  • 49cea015c0 * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_boot): Sync caches. Vladimir 'phcoder' Serbinenko 2012-06-06 18:58:19 +02:00
  • 8dcbe03b82 * util/grub-fstest.c (cmd_crc): Use grub_get_unaligned32 for safety. Vladimir 'phcoder' Serbinenko 2012-06-06 12:42:11 +02:00
  • 5b25873518 * grub-core/disk/pata.c (grub_pata_pio_read) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Don't byteswap even on mipseb. (grub_pata_pio_write) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Likewise. Vladimir 'phcoder' Serbinenko 2012-06-06 12:38:49 +02:00
  • 37ba07ebaf Extend automated tests to qemu-mips. Vladimir 'phcoder' Serbinenko 2012-06-06 12:36:33 +02:00
  • 070038f843 * Makefile.util.def (grub-mkrescue) Anable on mips_qemu_mips and ia64. * util/grub-mkrescue.in: Handle qemu-mips and ia64. Add missing quotes while on it. Vladimir 'phcoder' Serbinenko 2012-06-06 12:31:24 +02:00
  • 004be2cd95 * grub-core/kern/mips/qemu_mips/init.c (grub_exit): Implement. (grub_halt): Likewise. * grub-core/lib/mips/qemu_mips/reboot.c (grub_reboot): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-06 12:28:25 +02:00
  • b1622487a8 * grub-core/term/serial.c (grub_serial_register) [GRUB_MACHINE_MIPS_QEMU_MIPS]: Don't autostart console in order to bring the behaviour in line with x86 platforms. Vladimir 'phcoder' Serbinenko 2012-06-06 12:25:13 +02:00
  • b7b4ab33ae * grub-core/commands/hdparm.c (le16_to_char): Always byte-swap strings. (grub_ata_strncpy): Likewise. (grub_ata_identify): Add missing byteswaps. Vladimir 'phcoder' Serbinenko 2012-06-06 12:22:32 +02:00
  • 5e3535aee7 * grub-core/term/i386/pc/vga_text.c (screen_write_char): Add missing byte-swap. (screen_read_char): Likewise. (grub_vga_text_cls): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-06 12:20:08 +02:00
  • c21b17e6e0 * grub-core/loader/efi/chainloader.c (copy_file_path): Handle non-ASCII filenames. (make_file_path): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-06 02:34:32 +02:00
  • bf293dece0 * grub-core/disk/ieee1275/ofdisk.c (scan): Support vscsi on IBM machines. Tested by: Paulo Flabiano Smorigo. Crucial information about API supplied by: Coleen <Last name unknown>. Reviewed by: Coleen <Last name unknown>. Vladimir 'phcoder' Serbinenko 2012-06-06 02:31:27 +02:00
  • 81f6ef0e2d * util/grub-mkimage.c: Disable -Wcast-align. Vladimir 'phcoder' Serbinenko 2012-06-05 17:22:29 +02:00
  • 7284143a54 * grub-core/genmod.sh.in: Enable objconv errors 2030, 2050 and 2031 as they are fatal. Vladimir 'phcoder' Serbinenko 2012-06-05 17:20:39 +02:00
  • b99f3e00a1 * grub-core/Makefile.am (rs_decoder.S): Add missing -ffreestanding. Vladimir 'phcoder' Serbinenko 2012-06-05 17:18:04 +02:00
  • 944f752dbb * util/grub-probe.c (escape_of_path): Fix double free. Vladimir 'phcoder' Serbinenko 2012-06-05 17:16:14 +02:00
  • 6cce6f3864 * grub-core/commands/videoinfo.c (hook): Show pitch. Vladimir 'phcoder' Serbinenko 2012-06-05 12:03:36 +02:00
  • 1e1eb50e5e * util/grub.d/20_linux_xen.in: Skip xen-syms. Vladimir 'phcoder' Serbinenko 2012-06-05 11:55:48 +02:00
  • 1c715b5afd * util/grub-probe.c (escape_of_path): Don't add ieee1275/. (probe): Add ieee1275 to OFW devices. Vladimir 'phcoder' Serbinenko 2012-06-05 11:31:10 +02:00
  • 007ae52dac * util/ieee1275/ofpath.c (of_path_of_scsi): Fix wrong format specifier. Vladimir 'phcoder' Serbinenko 2012-06-04 23:15:54 +02:00
  • 4557a36d2c Handle IBM OFW path. Vladimir 'phcoder' Serbinenko 2012-06-04 22:37:39 +02:00
  • efbeefe90f * grub-core/mmap/i386/pc/mmap.c (malloc_hook): Allocate in multiples of 16 to avoid adding a few bytes free region the windows bugs upon. Vladimir 'phcoder' Serbinenko 2012-06-03 18:00:37 +02:00
  • 15a940bbd8 * grub-core/commands/i386/pc/drivemap.c (install_int13_handler): Allocate in multiples of 16 to avoid adding a few bytes free region the windows bugs upon. * grub-core/mmap/i386/pc/mmap.c (malloc_hook): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-03 17:47:20 +02:00
  • 6e5efd60a1 * grub-core/video/efi_gop.c (grub_video_gop_setup): Reject invalid resolutions. * grub-core/video/i386/pc/vbe.c (grub_vbe_get_preferred_mode): Likewise. * grub-core/video/video.c (grub_video_edid_preferred_mode): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-02 20:15:11 +02:00
  • 0d3d137e79 * util/ieee1275/ofpath.c (check_sas): Fix sas path. Isao Shimizu 2012-06-02 14:53:23 +02:00
  • 45dbe3000b * grub-core/normal/menu_entry.c (print_line): Fix off-by-one error which resulted in \\ at the end of the line. Vladimir 'phcoder' Serbinenko 2012-06-02 14:46:22 +02:00
  • 6d8db94786 * grub-core/kern/parser.c (grub_parser_state_transitions): Handle \t. (grub_parser_cmdline_state): Likewise. (grub_parser_split_cmdline): Likewise. Vladimir 'phcoder' Serbinenko 2012-06-02 14:39:35 +02:00
  • de89d33847 * util/getroot.c (grub_guess_root_devices): Don't canonicalise /dev/root and /dev/dm-*. Vladimir 'phcoder' Serbinenko 2012-06-02 14:36:27 +02:00
  • 00d41dee71 * grub-core/normal/menu_entry.c (update_screen): Fix loop condition to fix partially stale display. Vladimir 'phcoder' Serbinenko 2012-06-02 14:30:52 +02:00
  • f95d1f117a * grub-core/normal/menu_entry.c (backward_char): Use right line for substraction. Vladimir 'phcoder' Serbinenko 2012-06-02 14:28:12 +02:00
  • 6297e19736 * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_write) [__linux__]: Fix MBR remapping workaround. (grub_util_biosdisk_read) [__linux__]: Likewise. Vladimir 'phcoder' Serbinenko 2012-06-02 13:48:44 +02:00
  • 8a7ecad3ab * util/grub-install.in: Check for ieee1275 and not ieee1276. Vladimir 'phcoder' Serbinenko 2012-06-01 22:43:10 +02:00
  • 2b34f94455 * configure.ac: Bump to beta6. Vladimir 'phcoder' Serbinenko 2012-05-31 15:44:37 +02:00
  • 684aef11c5 * grub-core/normal/main.c (grub_file_getline): Fix off-by-one error. Christer Weinigel 2012-05-31 14:34:12 +02:00
  • 05b0bb9100 * grub-core/loader/i386/linux.c (grub_linux_boot): Use right version. (grub_cmd_linux): Likewise. Vladimir 'phcoder' Serbinenko 2012-05-31 14:06:11 +02:00
  • bda36bfa77 Fix EHCI low-speed. Christer Weinigel 2012-05-31 14:02:46 +02:00
  • e12bcb1c61 * util/grub-install.in: Write core.elf in PReP even if the --no-nvram parameter is used. Paulo Flabiano Smorigo 2012-05-31 13:38:21 +02:00
  • bcc75fb3f7 * include/grub/i386/linux.h (linux_kernel_params): Add v206. * grub-core/loader/i386/linux.c (grub_linux_boot): Use v206. (grub_cmd_linux) [__x86_64__]: Validate grub_efi_system_table. Peter Jones 2012-05-31 13:23:30 +02:00
  • f19cb95e1d * grub-core/loader/i386/linux.c (grub_linux_boot): Fix overflow and uninited variable. Allocate at least setup_sects. Vladimir 'phcoder' Serbinenko 2012-05-31 12:04:55 +02:00
  • a4e5ca80d9 Fix handling of EFI with big memory maps. Vladimir 'phcoder' Serbinenko 2012-05-30 14:56:53 +02:00
  • ddb7355862 * Makefile.util.def: Remove -Wno-format. * grub-core/Makefile.core.def: Likewise. Vladimir 'phcoder' Serbinenko 2012-05-30 13:56:50 +02:00
  • 1c4afb6095 * tests/cmp_unit_test.c: Add missing failure message. * tests/example_unit_test.c: Likewise. * tests/printf_unit_test.c: Likewise. Vladimir 'phcoder' Serbinenko 2012-05-30 13:54:30 +02:00
  • 941e3a6d96 * grub-core/commands/gptsync.c (grub_cmd_gptsync): Propagate the relaxation of protective MBR requirements. Vladimir 'phcoder' Serbinenko 2012-05-30 13:51:50 +02:00
  • b105df76f4 * configure.ac: Add condition for COND_HOST_XNU. * Makefile.util.def (10_xnu): New script. * util/grub.d/10_xnu.in: New file, extracted from 30_os_prober.in. Vladimir 'phcoder' Serbinenko 2012-05-29 13:56:21 +02:00
  • 84e1569ee4 * grub-core/kern/i386/pc/startup.S [__APPLE__]: Add a workaround for objconv bug. Vladimir 'phcoder' Serbinenko 2012-05-29 13:54:33 +02:00
  • 130c0f77d4 * grub-core/gdb/i386/machdep.S: Make usable with Apple assembler. Binary on other platforms stays identical. Vladimir 'phcoder' Serbinenko 2012-05-29 13:52:26 +02:00
  • 6fd0b14394 * configure.ac: Remove APPLE_CC and add -Wl,-allow_stack_execute on Apple. Vladimir 'phcoder' Serbinenko 2012-05-28 17:58:33 +02:00
  • 0af1751d77 * gentpl.py: Ignore error 2022 in objconv since it's irrelevant for us. Vladimir 'phcoder' Serbinenko 2012-05-28 17:57:18 +02:00
  • 176d5f7d82 * grub-core/lib/posix_wrap/sys/types.h [__APPLE__]: Include stddef rather than defining size_t ourselves to avoid conflict. Vladimir 'phcoder' Serbinenko 2012-05-28 17:55:46 +02:00
  • 7de5e20af4 * grub-core/fs/hfs.c (grub_hfs_dir): Use memset instead of initialisation to avoid __bzero reference. Vladimir 'phcoder' Serbinenko 2012-05-28 17:54:18 +02:00
  • f7143efe1b * grub-core/boot/i386/pc/startup_raw.S [__APPLE__]: Add Apple assembly version. * grub-core/commands/i386/pc/drivemap_int13h.S [__APPLE__]: Likewise. * grub-core/kern/i386/pc/startup.S [__APPLE__]: Likewise. * grub-core/lib/i386/relocator16.S [__APPLE__]: Likewise. * grub-core/lib/i386/relocator_common.S [__APPLE__]: Likewise. * grub-core/mmap/i386/pc/mmap_helper.S [__APPLE__]: Likewise. Vladimir 'phcoder' Serbinenko 2012-05-28 17:51:57 +02:00
  • e6ad0555e4 * grub-core/efiemu/runtime/efiemu.c: Replace APPLE_CC with __APPLE__. * grub-core/kern/misc.c: Likewise. * grub-core/loader/i386/xnu.c: Likewise. * include/grub/i386/tsc.h: Likewise. * include/grub/symbol.h: Likewise. Vladimir 'phcoder' Serbinenko 2012-05-28 17:49:18 +02:00
  • 4a5a3c4abc * include/grub/list.h (grub_bad_type_cast_real): Remove return. * include/grub/misc.h (ATTRIBUTE_ERROR): Make into noreturn attribute on older compiler. Vladimir 'phcoder' Serbinenko 2012-05-28 17:45:53 +02:00
  • 037f6d9060 * util/getroot.c (grub_util_biosdisk_get_grub_dev) [__APPLE__]: Implement Apple flavour. (convert_system_partition_to_system_disk) [__APPLE__]: Likewise. Vladimir 'phcoder' Serbinenko 2012-05-28 17:43:12 +02:00
  • f7194551c4 * include/grub/misc.h (memcmp) [__APPLE__]: Mark as regparm 0. (memmove) [__APPLE__]: Likewise. (memcpy) [__APPLE__]: Likewise. (memset) [__APPLE__]: Likewise. * grub-core/kern/misc.c (memcmp) [__APPLE__]: Likewise. (memmove) [__APPLE__]: Likewise. (memcpy) [__APPLE__]: Likewise. (memset) [__APPLE__]: Likewise. Vladimir 'phcoder' Serbinenko 2012-05-28 17:37:18 +02:00
  • 85a730ca9f * grub-core/genmod.sh.in: Fix a bug in Apple part which caused dependency discard. Vladimir 'phcoder' Serbinenko 2012-05-28 17:32:24 +02:00
  • 40e80b9403 * grub-core/normal/main.c (read_config_file): Provide config_file and config_directory. * util/grub.d/41_custom.in: Use config_directoy when available. Vladimir 'phcoder' Serbinenko 2012-05-27 15:34:41 +02:00
  • 9da59c3275 * grub-core/fs/bfs.c (iterate_in_b_tree): Add missing NESTED_FUNC_ATTR. (grub_bfs_dir): Likewise. Vladimir 'phcoder' Serbinenko 2012-05-27 15:31:54 +02:00
  • 2787ae53d6 The old code gives arguments to a printf function which can't work correctly, and the compiler complains. Peter Jones 2012-05-27 14:26:18 +02:00
  • 526ef13d34 * grub-core/Makefile.core.def (example_functional_test): Rename to ... (exfctest): ... this to avoid overlong filenames. All users updated. Vladimir 'phcoder' Serbinenko 2012-05-27 14:12:48 +02:00
  • 20dd511c8c Handle "." and ".." on squashfs. Vladimir 'phcoder' Serbinenko 2012-05-27 13:44:48 +02:00
  • 1d80c62a8f * grub-core/kern/emu/hostdisk.c (open_device): Set dest->dev to 0 after freeing. Vladimir 'phcoder' Serbinenko 2012-05-27 13:19:09 +02:00
  • d336f65225 * util/grub-mkconfig_lib.in (print_option_help): Properly redirect stderr on test calls. Vladimir 'phcoder' Serbinenko 2012-05-27 13:14:42 +02:00