1. 22 Feb, 2015 1 commit
  2. 10 Dec, 2013 1 commit
  3. 09 Dec, 2013 1 commit
  4. 06 Dec, 2013 1 commit
  5. 05 Dec, 2013 1 commit
  6. 26 Feb, 2012 1 commit
  7. 10 Feb, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Increase warning level. · ebcecdf1
      Vladimir 'phcoder' Serbinenko authored
      	* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-redundant-decls
      	-Wno-unreachable-code -Wno-conversion -Wno-old-style-definition.
      	* configure.ac (HOST_CFLAGS): Add bunch of -W arguments.
      	(TARGET_CFLAGS): Likewise.
      	(HOST_CFLAGS): Add -Werror unless --disable-werror is activated.
      	* grub-core/Makefile.core.def (decompressor_xz): Add
      	-Wno-unreachable-code.
      	(normal): Add -Wno-redundant-decls.
      	(xzio): Add -Wno-unreachable-code.
      	(lzopio): Add -Wno-redundant-decls -Wno-error.
      	* grub-core/commands/acpi.c: Add exception to -Wcast-align.
      	* grub-core/commands/lsacpi.c: Add exception to -Wcast-align.
      	* grub-core/gensymlist.sh: Add exception to -Wmissing-format-attribute.
      	* grub-core/kern/dl.c: Add exception to -Wcast-align.
      	* grub-core/kern/efi/efi.c (grub_efi_modules_addr): Likewise.
      	* grub-core/kern/i386/coreboot/init.c: Add exception to
      	-Wsuggest-attribute=noreturn.
      	* grub-core/kern/ia64/dl.c: Add exception to -Wcast-align.
      	* grub-core/kern/ia64/dl_helper.c: Likewise.
      	* grub-core/kern/mips/dl.c: Likewise.
      	* grub-core/kern/sparc64/dl.c: Likewise.
      	* grub-core/lib/LzmaEnc.c: Add exception to -Wshadow.
      	* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (memcpy): Likewise.
      	(memcmp): Likewise.
      	* grub-core/lib/pbkdf2.c: Add exception to -Wunreachable-code.
      	* grub-core/loader/ia64/efi/linux.c: Add exception to -Wcast-align.
      	* grub-core/loader/mips/linux.c: Likewise.
      	* grub-core/loader/multiboot_elfxx.c: Likewise.
      	* grub-core/script/parser.y: Add exception to -Wunreachable-code.
      	* grub-core/video/sm712.c: Add exception to -Wcast-align.
      	* util/import_gcry.py: Add -Wno-cast-align to modules checked by hand.
      	* grub-core/font/font.c (grub_font_loader_init): Add explicit cast and
      	fixme.
      	* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
      	* grub-core/kern/i386/multiboot_mmap.c (grub_machine_mmap_init):
      	Fix prototype.
      ebcecdf1
  8. 08 Feb, 2012 1 commit
  9. 14 Dec, 2011 1 commit
  10. 20 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Remove redundant grub_kernel_image_size. · 766f7d08
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/kern/i386/coreboot/init.c (grub_machine_init): Use
      	_edata and _start.
      	* grub-core/kern/i386/coreboot/startup.S: Move multiboot header after
      	the small code. It moves it only by few bytes but simplifies the code.
      	* grub-core/kern/i386/pc/init.c (grub_machine_init): Use _edata and
      	_start.
      	* grub-core/kern/i386/pc/startup.S: Use _edata and _start.
      	(grub_kernel_image_size): Removed.
      	* grub-core/kern/i386/qemu/startup.S: Use _edata and _start.
      	(grub_kernel_image_size): Removed.
      	[APPLE_CC]: Remove apple compiler support. i386-qemu port can't be
      	compiled with Apple toolchain.
      	* grub-core/kern/sparc64/ieee1275/crt0.S: Remove leftover fields.
      	* include/grub/i386/pc/kernel.h (grub_kernel_image_size): Removed.
      	* include/grub/i386/qemu/kernel.h (grub_kernel_image_size): Removed.
      	(grub_total_module_size): Likewise.
      	* include/grub/offsets.h (GRUB_KERNEL_I386_PC_KERNEL_IMAGE_SIZE):
      	Removed.
      	(GRUB_KERNEL_I386_PC_COMPRESSED_SIZE): Put it lower.
      	(GRUB_KERNEL_I386_PC_INSTALL_DOS_PART): Likewise.
      	(GRUB_KERNEL_I386_PC_INSTALL_BSD_PART): Likewise.
      	(GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY): Likewise.
      	(GRUB_KERNEL_I386_QEMU_KERNEL_IMAGE_SIZE): Removed.
      	(GRUB_KERNEL_SPARC64_IEEE1275_KERNEL_IMAGE_SIZE): Likewise.
      	(GRUB_KERNEL_SPARC64_IEEE1275_COMPRESSED_SIZE): Likewise.
      	* include/grub/sparc64/ieee1275/kernel.h (grub_kernel_image_size):
      	Removed.
      	(grub_total_module_size): Removed.
      	* util/grub-mkimage.c (image_target_desc): Remove image_size.
      	(image_targets): Likewise.
      	Set .compressed_size to no field on sparc.
      	(generate_image): Remove kernel_image_size handling.
      766f7d08
  11. 18 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Make grub_prefix into module to fix the arbitrary limit and save · a97501d2
      Vladimir 'phcoder' Serbinenko authored
      	some space.
      
      	* grub-core/kern/emu/main.c (grub_prefix): Removed.
      	* grub-core/kern/i386/coreboot/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/i386/efi/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/i386/ieee1275/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/i386/pc/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/i386/qemu/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/ia64/efi/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/mips/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise.
      	* grub-core/kern/sparc64/ieee1275/crt0.S (grub_prefix): Likewise.
      	* grub-core/kern/x86_64/efi/startup.S (grub_prefix): Likewise.
      	* include/grub/ia64/efi/kernel.h: Removed.
      	* include/grub/kernel.h: New module type OBJ_TYPE_PREFIX.
      	(grub_prefix): Removed.
      	* include/grub/offsets.h (GRUB_KERNEL_I386_PC_PREFIX): Removed.
      	(GRUB_KERNEL_I386_PC_PREFIX_END): Likewise.
      	(GRUB_KERNEL_I386_QEMU_PREFIX): Likewise.
      	(GRUB_KERNEL_I386_QEMU_PREFIX_END): Likewise.
      	(GRUB_KERNEL_SPARC64_IEEE1275_PREFIX): Likewise.
      	(GRUB_KERNEL_SPARC64_IEEE1275_PREFIX_END): Likewise.
      	(GRUB_KERNEL_POWERPC_IEEE1275_PREFIX): Likewise.
      	(GRUB_KERNEL_POWERPC_IEEE1275_PREFIX_END): Likewise.
      	(GRUB_KERNEL_MIPS_LOONGSON_PREFIX): Likewise.
      	(GRUB_KERNEL_MIPS_LOONGSON_PREFIX_END): Likewise.
      	(GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX): Likewise.
      	(GRUB_KERNEL_MIPS_QEMU_MIPS_PREFIX_END): Likewise.
      	(GRUB_KERNEL_MIPS_ARC_PREFIX): Likewise.
      	(GRUB_KERNEL_MIPS_ARC_PREFIX_END): Likewise.
      	(GRUB_KERNEL_I386_EFI_PREFIX): Likewise.
      	(GRUB_KERNEL_I386_EFI_PREFIX_END): Likewise.
      	(GRUB_KERNEL_IA64_EFI_PREFIX): Likewise.
      	(GRUB_KERNEL_IA64_EFI_PREFIX_END): Likewise.
      	(GRUB_KERNEL_X86_64_EFI_PREFIX): Likewise.
      	(GRUB_KERNEL_X86_64_EFI_PREFIX_END): Likewise.
      	(GRUB_KERNEL_I386_COREBOOT_PREFIX): Likewise.
      	(GRUB_KERNEL_I386_COREBOOT_PREFIX_END): Likewise.
      	(GRUB_KERNEL_I386_MULTIBOOT_PREFIX): Likewise.
      	(GRUB_KERNEL_I386_MULTIBOOT_PREFIX_END): Likewise.
      	(GRUB_KERNEL_I386_IEEE1275_PREFIX): Likewise.
      	(GRUB_KERNEL_I386_IEEE1275_PREFIX_END): Likewise.
      	(GRUB_KERNEL_MACHINE_PREFIX): Likewise.
      	(GRUB_KERNEL_MACHINE_PREFIX_END): Likewise.
      	* grub-core/kern/main.c (grub_set_prefix_and_root): Retrieve grub_prefix
      	from module.
      	* util/grub-mkimage.c (image_target_desc): Removed prefix and
      	prefix_end.
      	(image_targets): Likewise.
      	(generate_image): Put prefix as a module.
      a97501d2
  12. 02 Jul, 2011 1 commit
  13. 15 Sep, 2010 1 commit
  14. 03 Sep, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Compress grub_prefix. · c8e7bf5f
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/boot/i386/pc/lnxboot.S: Use
      	GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE.
      	* grub-core/kern/i386/pc/startup.S: Move grub_prefix to compressed part.
      	* include/grub/offsets.h: Rename GRUB_MACHINE_DATA_END to
      	GRUB_MACHINE_PREFIX_END. All users updated.
      	(GRUB_KERNEL_I386_PC_PREFIX): Set to GRUB_KERNEL_I386_PC_RAW_SIZE.
      	(GRUB_KERNEL_I386_PC_PREFIX_END): Set to GRUB_KERNEL_I386_PC_PREFIX
      	+ 0x40.
      	(GRUB_KERNEL_I386_PC_RAW_SIZE): Decrease.
      	* util/grub-mkimage.c (image_target_desc): Change data_end to
      	prefix_end. All users updated.
      c8e7bf5f
  15. 06 May, 2010 1 commit