Commit graph

  • 9d742bd431 * util/grub-mkimagexx.c (locate_sections): Support non-standard ELF section gap. (load_image): Likewise. Vladimir 'phcoder' Serbinenko 2012-02-29 18:57:43 +01:00
  • f04a9a216c * configure.ac: Fix a typo in previous commit. Vladimir 'phcoder' Serbinenko 2012-02-29 17:50:27 +01:00
  • 46cf439c98 Don't add -Wl,-N on Apple platform. Vladimir 'phcoder' Serbinenko 2012-02-29 16:30:20 +01:00
  • c4c48c541c * grub-core/Makefile.core.def (lzma_decompress): Use TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext. Vladimir 'phcoder' Serbinenko 2012-02-29 16:28:26 +01:00
  • 31a12124a0 * grub-core/genmod.sh.in: Rewrite the Apple part. Vladimir 'phcoder' Serbinenko 2012-02-29 16:00:27 +01:00
  • 4f3aa1af70 * grub-core/loader/machoXX.c (grub_macho_load): Fix signed vs unsigned comparison. Vladimir 'phcoder' Serbinenko 2012-02-29 15:48:57 +01:00
  • 7bd8b0c776 * acinclude.m4 (grub_CHECK_PIC): New test. * configure.ac: Add -fno-PIC to TARGET_CFLAGS if -fPIC is default. Vladimir 'phcoder' Serbinenko 2012-02-29 15:30:11 +01:00
  • 97304d7c53 * include/grub/libgcc.h (__STDC_VERSION__): Define if it's not yet so to avoid the warning. Vladimir 'phcoder' Serbinenko 2012-02-29 15:28:02 +01:00
  • fb88381212 * grub-core/boot/i386/pc/diskboot.S (firstlist): Rename to ... (LOCAL(firstlist)): ... this. Move it before the firstlist and not after. All users updated. Vladimir 'phcoder' Serbinenko 2012-02-29 15:26:42 +01:00
  • a121c9648e Use the common size routine in hostfs so we can read disks as well. Vladimir 'phcoder' Serbinenko 2012-02-29 15:23:31 +01:00
  • c66d641020 * grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors) [__APPLE__]: Add blocksize retrieval. Vladimir 'phcoder' Serbinenko 2012-02-29 15:17:59 +01:00
  • dfc8aeb042 * configure.ac: Restore CFLAGS after efiemu check. Vladimir 'phcoder' Serbinenko 2012-02-29 15:12:31 +01:00
  • 403e25a539 * configure.ac: Move -fnested-functions to CPPFLAGS to workaround Apple bug. Vladimir 'phcoder' Serbinenko 2012-02-29 15:10:13 +01:00
  • 382775d1ac * grub-core/Makefile.am (MACHO2IMG): Add missing variable. Vladimir 'phcoder' Serbinenko 2012-02-29 15:08:08 +01:00
  • 6fd4e6e4d0 * grub-core/commands/i386/pc/halt.c (grub_halt): Add noreturn attribute. (grub_cmd_halt): Likewise. Vladimir 'phcoder' Serbinenko 2012-02-29 15:06:39 +01:00
  • bea359d657 * grub-core/lib/i386/relocator16.S: Declare LOCAL(relocator16_end) for local arithmetics. Break %sp init into 2 instructions. Add 0 byte at the end. Vladimir 'phcoder' Serbinenko 2012-02-29 15:00:54 +01:00
  • 32eb6ee157 * grub-core/disk/diskfilter.c (read_segment): Initialise err before loops. Vladimir 'phcoder' Serbinenko 2012-02-29 14:57:59 +01:00
  • e837738991 * grub-core/lib/xzembed/xz_dec_stream.c (hash_validate): Use void * for context. Vladimir 'phcoder' Serbinenko 2012-02-29 14:56:51 +01:00
  • 8cb17de77b * grub-core/disk/ldm.c (make_vg): Init part.name. (grub_ldm_detect): Silence spurious warning. (grub_util_is_ldm): Likewise. Vladimir 'phcoder' Serbinenko 2012-02-29 14:55:09 +01:00
  • 595717e6d4 * grub-core/loader/i386/xnu.c (grub_xnu_boot): Init fsbfreq to sane value to avoid a spurious warning. Vladimir 'phcoder' Serbinenko 2012-02-29 14:53:41 +01:00
  • c4b7e58882 * include/grub/dl.h: Switch from APPLE_CC to __APPLE__. (GRUB_MOD_LICENSE) [ASM_FILE]: Make into macro. All users updated. Vladimir 'phcoder' Serbinenko 2012-02-29 14:51:09 +01:00
  • 5982495738 * include/grub/symbol.h (EXT_C) [!ASM_FILE]: Redefine with strings. * grub-core/lib/i386/backtrace.c (grub_backtrace): Use EXT_C. Vladimir 'phcoder' Serbinenko 2012-02-29 14:48:58 +01:00
  • 70115b995d * grub-core/gdb/i386/machdep.S: Use VARIABLE and EXT_C instead of hardcoding the relevant info. Vladimir 'phcoder' Serbinenko 2012-02-29 14:44:52 +01:00
  • 56733740ed * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Add missing const qualifiers. * grub-core/gnulib/argp-fmtstream.h (__argp_get_display_len): Likewise. Vladimir 'phcoder' Serbinenko 2012-02-29 14:42:20 +01:00
  • 434814814b * util/getroot.c [__APPLE__]: Add missing includes. (grub_util_biosdisk_is_floppy): Fix usage of undefined variable. Vladimir 'phcoder' Serbinenko 2012-02-29 14:14:08 +01:00
  • 3cb38f015f * util/grub-mkimage.c (generate_image): Silence spurious warning. Vladimir 'phcoder' Serbinenko 2012-02-29 14:12:41 +01:00
  • d9dbf11e16 * util/ieee1275/ofpath.c: Rename devname to sys_devname everywhere to avoid conflicts. Vladimir 'phcoder' Serbinenko 2012-02-29 14:10:04 +01:00
  • 0c42a45dcc * util/ieee1275/grub-ofpathname.c: Add missing config.h include. Vladimir 'phcoder' Serbinenko 2012-02-29 14:08:58 +01:00
  • 46c34eb096 * util/grub-setup.c (setup) [!__linux__]: Add missing file declaration and grub_file_close call. Vladimir 'phcoder' Serbinenko 2012-02-29 14:07:53 +01:00
  • 99ce1597a4 Add LZSS Mach-O support (needed for new xnu kernelcache). Vladimir 'phcoder' Serbinenko 2012-02-29 13:26:13 +01:00
  • ebd17d6f51 * grub-core/disk/pata.c (grub_pata_readwrite): Fix ATAPI protocol error. Vladimir 'phcoder' Serbinenko 2012-02-29 12:45:32 +01:00
  • 2702b4e4f7 Fix make dist. Vladimir 'phcoder' Serbinenko 2012-02-28 12:58:57 +01:00
  • cf1adfdff5 * grub-core/gettext/gettext.c (grub_mofile_open): Call grub_gettext_delete_list before changing grub_gettext_max to avoid running out of array bounds. Vladimir 'phcoder' Serbinenko 2012-02-28 11:50:53 +01:00
  • 7acd2ae1fb * grub-core/term/i386/pc/vga_text.c: Add GRUB_MACHINE_MULTIBOOT to grub_vga_text_init/grub_vga_text_fini. Vladimir 'phcoder' Serbinenko 2012-02-28 11:12:32 +01:00
  • 629e6a3363 * grub-core/loader/i386/xnu.c (grub_xnu_boot): Fix format specification. Vladimir 'phcoder' Serbinenko 2012-02-28 11:02:19 +01:00
  • 541d92e912 * configure.ac: Bump to 2.00~beta0. Vladimir 'phcoder' Serbinenko 2012-02-28 04:28:40 +01:00
  • 7931dddfb8 * util/getroot.c (grub_find_root_devices_from_btrfs): Add missing initialisation. Vladimir 'phcoder' Serbinenko 2012-02-28 04:25:13 +01:00
  • f1b16fa3e3 * grub-core/partmap/msdos.c (message_warn): Clarify messages. Vladimir 'phcoder' Serbinenko 2012-02-28 04:23:58 +01:00
  • 83ddae2333 Support v2 xnu boot arguments. Vladimir 'phcoder' Serbinenko 2012-02-28 04:04:19 +01:00
  • dc693fe67c * grub-core/efiemu/prepare.c (grub_efiemu_crc): Add missing zeroing of CRC field before computing CRC. Vladimir 'phcoder' Serbinenko 2012-02-28 03:59:08 +01:00
  • 5a6e39c28f * grub-core/lib/relocator.c (malloc_in_range): Fix memory leak. Change order of allocations to decrease fragmentation. Vladimir 'phcoder' Serbinenko 2012-02-28 01:32:38 +01:00
  • 6c21f5d7a1 * Makefile.util.def (grub-ofpathname): Enable on all platforms. Vladimir 'phcoder' Serbinenko 2012-02-27 22:48:29 +01:00
  • cfe456dc03 Use write-combining MTRR to speed up video with buggy BIOSes. Colin Watson 2012-02-27 22:31:51 +01:00
  • e3c78337c3 * include/grub/partition.h (grub_partition_map): Change prototype of embed to take a maximum value for nsectors. * include/grub/emu/hostdisk.h (grub_util_ldm_embed): Likewise. * include/grub/fs.h (grub_fs): Likewise. * grub-core/partmap/msdos.c (embed_signatures): New array. (pc_partition_map_embed): Check for and avoid sectors matching any of the signatures in embed_signatures, up to max_nsectors. * grub-core/partmap/gpt.c (gpt_partition_map_embed): Restrict returned sector map to max_nsectors. * grub-core/disk/ldm.c (grub_util_ldm_embed): Likewise. * grub-core/fs/btrfs.c (grub_btrfs_embed): Likewise. * grub-core/fs/zfs/zfs.c (grub_zfs_embed): Likewise. * util/grub-setup.c (setup): Allow for the embedding area being split into multiple blocklists. Tell dest_partmap->embed the maximum number of sectors we care about. Colin Watson 2012-02-27 22:25:39 +01:00
  • e1e49678b9 * util/grub-install.in: Clarify strings. Fix source dir check. Vladimir 'phcoder' Serbinenko 2012-02-27 21:36:58 +01:00
  • 984b973ffc * util/grub-install.in: Clarify strings. Fix source dir check. Vladimir 'phcoder' Serbinenko 2012-02-27 21:31:58 +01:00
  • f122e0d648 * util/getroot.c (grub_find_root_devices_from_mountinfo): Handle "zfs" and "fuse.zfs" as synonyms. Richard Laager 2012-02-27 20:14:26 +01:00
  • 071114bb3e * configure.ac: Put platform and target_cpu substitutions back since they are used for directories. Vladimir 'phcoder' Serbinenko 2012-02-27 19:10:02 +01:00
  • 817e6abcd0 * util/grub.d/10_linux.in: Add ZFS-related arguments. * util/grub.d/20_linux_xen.in: Likewise. Richard Laager 2012-02-27 19:07:09 +01:00
  • 897b741978 * util/getroot.c (find_root_devices_from_poolname): Handle vdevs with full paths. Richard Laager 2012-02-27 17:42:48 +01:00
  • a414bd1565 * util/getroot.c (grub_find_root_devices_from_mountinfo): Add missing unescape. Richard Laager 2012-02-27 17:40:38 +01:00
  • 30ac48c452 Don't use insecure popen in getroot. Vladimir 'phcoder' Serbinenko 2012-02-27 17:37:23 +01:00
  • 53f13848f1 Remove platform and target_cpu replacement. Vladimir 'phcoder' Serbinenko 2012-02-27 16:46:52 +01:00
  • 90cb2803d4 Autodetect platform in grub-install but allow override. Vladimir 'phcoder' Serbinenko 2012-02-27 16:06:18 +01:00
  • b913642798 Support btrfs multi-volume probe. Vladimir 'phcoder' Serbinenko 2012-02-27 14:56:28 +01:00
  • c36e5cd162 Remove any awareness of *.c util files about target. Vladimir 'phcoder' Serbinenko 2012-02-27 14:24:22 +01:00
  • 584b2f8a22 Replace grub_target_addr with more appropriate types. Vladimir 'phcoder' Serbinenko 2012-02-27 14:13:24 +01:00
  • 5a0dc6fb2a * include/grub/efi/api.h (grub_efi_runtime_services): Add missing const qualifier for vendor_guid. Vladimir 'phcoder' Serbinenko 2012-02-27 14:09:09 +01:00
  • 786aff6e55 * grub-core/efiemu/runtime/efiemu.c (efiemu_get_variable): Add missing const qualifier. (efiemu_memequal): Likewise. (find_variable): Likewise. Vladimir 'phcoder' Serbinenko 2012-02-27 14:07:53 +01:00
  • 49017b1719 Fix missing console prototype on qemu-mips. Vladimir 'phcoder' Serbinenko 2012-02-27 14:06:33 +01:00
  • c598862958 * grub-core/kern/efi/efi.c (grub_efi_get_variable): Add new function. * include/grub/efi/efi.h: Likewise. * include/grub/efi/api.h: Add guid for EFI-specified variables. * include/grub/charset.h (GRUB_MAX_UTF16_PER_UTF8): New definition. * grub-core/normal/charset.c (grub_utf8_process): Move from here ... * include/grub/charset.h (grub_utf8_process): ... to here. Inline. * grub-core/normal/charset.c (grub_utf8_to_utf16): Move from here ... * include/grub/charset.h (grub_utf8_to_utf16): ... to here. Inline. Matthew Garrett 2012-02-27 12:02:57 +01:00
  • e33f8d692f * include/grub/efi/pci.h: New file to define EFI PCI protocols. Matthew Garrett 2012-02-27 11:42:23 +01:00
  • fb312cd9da * grub-core/disk/diskfilter.c (grub_diskfilter_iterate): Fix off-by-one error. Vladimir 'phcoder' Serbinenko 2012-02-27 11:39:15 +01:00
  • 7134247cd8 * configure.ac: Remove inappropriate use of program_transform_name on grubdir and bootdir but allow explicit specification of those variables. Vladimir 'phcoder' Serbinenko 2012-02-27 11:34:31 +01:00
  • 6a3131243a * util/grub-mknetdir.in (grub_prefix): Removed. (subdir): Use @bootdirname@ and @grubdirname@. Vladimir 'phcoder' Serbinenko 2012-02-27 11:08:17 +01:00
  • 2311c5caa9 Replace PACKAGE_TARNAME with PACKAGE in pkglibdir and pkgdatadir. Vladimir 'phcoder' Serbinenko 2012-02-27 11:04:50 +01:00
  • 7d5d60f7c8 * po/POTFILES.in: Regenerated. Vladimir 'phcoder' Serbinenko 2012-02-27 10:37:03 +01:00
  • 8151bc82f7 Remove improper use of program_transform_name on pkglibrootdir. Vladimir 'phcoder' Serbinenko 2012-02-27 10:35:37 +01:00
  • b4a6a53310 * grub-core/normal/menu_text.c (grub_print_message_indented_real): Fix a warning. Vladimir 'phcoder' Serbinenko 2012-02-27 10:31:46 +01:00
  • 668f304f4d * util/grub-install.in: Use file identifier if no UUID is available or user explicitly prompted for it. Vladimir 'phcoder' Serbinenko 2012-02-27 02:23:14 +01:00
  • 665f2341f7 * grub-core/loader/i386/bsd.c (freebsd_zfsguid): New variable. (freebsd_get_zfs): New function. (grub_freebsd_boot): Pass zfs UUID. (grub_cmd_freebsd): Set zfs UUID. Navdeep Parhar 2012-02-27 02:02:16 +01:00
  • 1240a58afb * conf/Makefile.common (platformdir): Base on pkglibdir and not pkglibrootdir. Vladimir 'phcoder' Serbinenko 2012-02-27 01:44:10 +01:00
  • e4c498a106 Add configure flag to control libzfs integration. Mike Gilbert 2012-02-27 00:57:48 +01:00
  • 1e9a9a3faf * grub-core/disk/diskfilter.c (insert_array): Choose the smallest device. * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Reject too small devices. Vladimir 'phcoder' Serbinenko 2012-02-27 00:46:08 +01:00
  • 036985b8ce Remove grub_{modname}_init and grub_{modname}_fini. They should never be used directly if it's really a module and GRUB_MOD_INIT shouldn't be used on non-modules. Vladimir 'phcoder' Serbinenko 2012-02-27 00:28:45 +01:00
  • d5534665ff Make nand a prefix for nand devices. Vladimir 'phcoder' Serbinenko 2012-02-26 23:59:00 +01:00
  • 10133b5ff3 * grub-core/kern/misc.c (grub_stpcpy): Move from here ... * include/grub/misc.h (grub_stpcpy): ... to here. Inlined. Vladimir 'phcoder' Serbinenko 2012-02-26 23:55:18 +01:00
  • 8e307a625d * include/grub/env.h (grub_env_find): Remove prototype. * grub-core/kern/env.c (grub_env_find): Make static. (grub_env_set): Remove useless set. Vladimir 'phcoder' Serbinenko 2012-02-26 23:53:21 +01:00
  • a4c65f3441 * grub-core/kern/i386/realmode.S: Remove useless align. Vladimir 'phcoder' Serbinenko 2012-02-26 23:46:34 +01:00
  • d87893d5dc * include/grub/dl.h (grub_dl_load_file): Don't export. Vladimir 'phcoder' Serbinenko 2012-02-26 23:44:39 +01:00
  • 50159add1e * grub-core/disk/diskfilter.c (grub_diskfilter_open): Remove useless grub_dprintf. Vladimir 'phcoder' Serbinenko 2012-02-26 23:39:21 +01:00
  • b2582b84f2 * grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Remove useless grub_errors. * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Simplify by not reloading whole superblock but only the part which is really needed. Remove useless grub_errors. * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Remove useless grub_errors. Vladimir 'phcoder' Serbinenko 2012-02-26 23:36:12 +01:00
  • e2a833958e Don't export grub_get_rtc. Vladimir 'phcoder' Serbinenko 2012-02-26 23:25:47 +01:00
  • e7d2a906b0 * grub-core/genmod.sh.in: Add -R .note.GNU-stack to strip. Vladimir 'phcoder' Serbinenko 2012-02-26 22:57:26 +01:00
  • 6cf1363b8f * grub-core/disk/diskfilter.c (insert_array): Remove scanner_name argument since it can be deduced from diskfilter. All users updated. Vladimir 'phcoder' Serbinenko 2012-02-26 22:53:21 +01:00
  • eece3349ea Remove prio_list. Vladimir 'phcoder' Serbinenko 2012-02-26 22:49:24 +01:00
  • 94f064b4c9 Fix interrupt mixup from previous commit. Vladimir 'phcoder' Serbinenko 2012-02-26 22:10:13 +01:00
  • 27317084c6 * grub-core/lib/i386/backtrace.c (grub_cmd_backtrace): Move from ... * grub-core/lib/backtrace.c (grub_cmd_backtrace): ... to here. * grub-core/lib/i386/backtrace.c (GRUB_MOD_INIT): Move from ... * grub-core/lib/backtrace.c (GRUB_MOD_INIT): ... to here. Gettextize. * grub-core/lib/i386/backtrace.c (GRUB_MOD_FINI): Move from ... * grub-core/lib/backtrace.c (GRUB_MOD_FINI): ... to here. * po/POTFILES.in: Regenerate. Vladimir 'phcoder' Serbinenko 2012-02-26 21:04:45 +01:00
  • 47b40053e0 * grub-core/commands/probe.c (grub_cmd_probe): Gettextise UUID and label errors. Vladimir 'phcoder' Serbinenko 2012-02-26 20:36:09 +01:00
  • 2b3431017d * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Stop on \0. (add_length): Likewise. Vladimir 'phcoder' Serbinenko 2012-02-26 20:32:37 +01:00
  • 4cebfa1a87 GDB serial and backtrace support. Vladimir 'phcoder' Serbinenko 2012-02-26 20:31:03 +01:00
  • ff27c3dd5d GDB serial and backtrace support. Lubomir Kundrak 2012-02-26 19:17:37 +01:00
  • 1948a3b714 Several cleanups Vladimir 'phcoder' Serbinenko 2012-02-26 19:10:52 +01:00
  • 585031cb92 * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): New function. (add_length): Likewise. (__argp_fmtstream_update): Handle strings with non-ASCII chars. * grub-core/gnulib/argp-fmtstream.h (__argp_get_display_len): New proto. * grub-core/gnulib/argp-help.c (argp_args_usage): Use __argp_get_display_len. Vladimir 'phcoder' Serbinenko 2012-02-26 19:07:59 +01:00
  • 7e8fac16ad $"..." support in scripts. Vladimir 'phcoder' Serbinenko 2012-02-26 19:02:46 +01:00
  • 15eff5d9c2 * gentpl.py: Remove obsolete pkglib_DATA handling. Vladimir 'phcoder' Serbinenko 2012-02-26 18:54:30 +01:00
  • fc847818fc Don't transform PACKAGE_TARNAME following a discussion on autoconf mailing list. Vladimir 'phcoder' Serbinenko 2012-02-26 18:37:54 +01:00
  • 47454da510 Remove GRUB_PREFIX. Vladimir 'phcoder' Serbinenko 2012-02-26 18:21:31 +01:00
  • 22c7ce85fe Add new all_video module. Vladimir 'phcoder' Serbinenko 2012-02-26 18:09:07 +01:00
  • 67093bc0ed Another round of string clarification and adding TRANSLATORS comments. Vladimir 'phcoder' Serbinenko 2012-02-26 17:28:05 +01:00