]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
14 years agoenable ATA on qemu-mips
Vladimir 'phcoder' Serbinenko [Tue, 17 May 2011 12:35:55 +0000 (14:35 +0200)] 
enable ATA on qemu-mips

14 years agoFix -O for qemu
Vladimir 'phcoder' Serbinenko [Tue, 17 May 2011 12:05:52 +0000 (14:05 +0200)] 
Fix -O for qemu

14 years agoRevert changes to cache_flush.S
Vladimir 'phcoder' Serbinenko [Tue, 17 May 2011 12:04:49 +0000 (14:04 +0200)] 
Revert changes to cache_flush.S

14 years agomerge mainline and various cleanups
Vladimir 'phcoder' Serbinenko [Tue, 17 May 2011 12:02:18 +0000 (14:02 +0200)] 
merge mainline and various cleanups

14 years agoAdd missing ChngeLog line
Vladimir 'phcoder' Serbinenko [Tue, 17 May 2011 07:18:53 +0000 (09:18 +0200)] 
Add missing ChngeLog line

14 years ago SGI ARCS port.
Vladimir 'phcoder' Serbinenko [Tue, 17 May 2011 07:17:38 +0000 (09:17 +0200)] 
SGI ARCS port.

* Makefile.util.def (libgrubmods.a): Add dvh.c.
* conf/Makefile.common (CCASFLAGS_PLATFORM): Add -mips3 on all mips
platforms.
* configure.ac: New target mips-arc.
* gentpl.py: Likewise.
* grub-core/Makefile.am: Likewise.
* grub-core/Makefile.core.def: Likewise.
(xz_decompress): Remove -D GRUB_MACHINE_LINK_ADDR.
(none_decompress): Likewise.
(lsdev): New module.
(datetime): Use lib/arc/datetime.c on ARC.
(part_dvh): New module.
* grub-core/commands/arc/lsdev.c: New file.
* grub-core/disk/arc/arcdisk.c: Likewise.
* grub-core/kern/mips/arc/init.c: Likewise.
* grub-core/kern/mips/cache_flush.S: Don't flush non 4-byte
aligned addresses.
* grub-core/kern/mips/dl.c (grub_arch_dl_check_header): Fix bigendian
support.
(grub_arch_dl_relocate_symbols): Likewise.
* grub-core/kern/mips/loongson/init.c (grub_get_rtc): Moved from here...
* grub-core/kern/mips/init.c (grub_get_rtc): ... here.
* grub-core/kern/mips/startup.S (grub_arch_cpuclock): Have on all
platforms.
* grub-core/lib/arc/datetime.c: New file.
* grub-core/loader/mips/linux.c: Always include time.h. Don't include
pci.h on non-loongson.
(envp_off) [!GRUB_MACHINE_MIPS_LOONGSON]: Remove.
(grub_linux_boot): Set unused registers to 0.
(grub_cmd_linux) [!GRUB_MACHINE_MIPS_LOONGSON]: Remove envp.
* grub-core/mmap/mips/loongson/uppermem.c: Moved from here ...
* grub-core/mmap/mips/uppermem.c: ...here.
* grub-core/partmap/dvh.c: New file.
* grub-core/term/arc/console.c: Likewise.
* grub-core/term/terminfo.c (ANSI_C0_STR): New const.
(grub_terminfo_set_current): Add terminal "arc".
(grub_terminfo_readkey): Support ARC sequences.
* include/grub/arc/arc.h: New file.
* include/grub/arc/console.h: Likewise.
* include/grub/disk.h (grub_disk_dev_id): Add
GRUB_DISK_DEVICE_ARCDISK_ID.
* include/grub/mips/arc/kernel.h: New file.
* include/grub/mips/arc/memory.h: Likewise.
* include/grub/mips/arc/time.h: Likewise.
* include/grub/mips/loongson/kernel.h (grub_halt): Moved from here ...
* include/grub/mips/kernel.h (grub_halt): ... here.
* include/grub/mips/loongson.h (GRUB_CPU_REGISTER_WRAP): Moved from
here...
* include/grub/mips/mips.h (GRUB_CPU_REGISTER_WRAP): ... here.
(GRUB_CPU_LOONGSON_COP0_TIMER_COUNT): Moved from here ...
* include/grub/mips/mips.h (GRUB_CPU_LOONGSON_COP0_TIMER_COUNT): .. here
* include/grub/mips/loongson/kernel.h (grub_reboot): Removed redundant
proto.
* include/grub/mips/loongson/memory.h (GRUB_ARCH_LOWMEMVSTART): Moved
from here ...
* include/grub/mips/memory.h (GRUB_ARCH_LOWMEMVSTART): ... here.
(GRUB_ARCH_LOWMEMPSTART): Moved from here ...
* include/grub/mips/memory.h (GRUB_ARCH_LOWMEMPSTART): ... here.
(GRUB_ARCH_LOWMEMMAXSIZE): Moved from here ...
* include/grub/mips/memory.h (GRUB_ARCH_LOWMEMMAXSIZE): ... here.
(GRUB_ARCH_HIGHMEMPSTART): Moved from here ...
* include/grub/mips/memory.h (GRUB_ARCH_HIGHMEMPSTART): ... here.
(grub_phys_addr_t): Moved from here ...
* include/grub/mips/memory.h (grub_phys_addr_t): ... here.
(grub_vtop): Moved from here ...
* include/grub/mips/memory.h (grub_vtop): ... here.
(grub_map_memory): Moved from here ...
* include/grub/mips/memory.h (grub_map_memory): ... here.
(grub_unmap_memory): Moved from here ...
* include/grub/mips/memory.h (grub_unmap_memory): ... here.
(grub_machine_mmap_iterate): Moved from here ...
* include/grub/mips/memory.h (grub_machine_mmap_iterate): ... here.
(grub_mmap_get_lower): Moved from here ...
* include/grub/mips/memory.h (grub_mmap_get_lower): ... here.
(grub_mmap_get_upper): Moved from here ...
* include/grub/mips/memory.h (grub_mmap_get_upper): ... here.
* include/grub/mips/loongson/time.h (grub_arch_cpuclock): Moved from
here ...
* include/grub/mips/time.h (grub_arch_cpuclock): ... here.
* include/grub/mips/loongson/time.h (grub_get_rtc): Moved from
here ...
* include/grub/mips/time.h (grub_get_rtc): ... here.
* include/grub/mips/loongson/time.h (grub_arch_cpuclock): Moved from
here ...
* include/grub/mips/time.h (grub_arch_cpuclock): ... here.
* include/grub/mips/loongson/time.h (grub_cpu_idle): Moved from
here ...
* include/grub/mips/time.h (grub_cpu_idle): ... here.
* include/grub/offsets.h (GRUB_KERNEL_MIPS_ARC_LINK_ADDR): New
definition.
(GRUB_KERNEL_MIPS_ARC_LINK_ALIGN): Likewise.
(GRUB_KERNEL_MIPS_ARC_COMPRESSED_SIZE): Likewise.
(GRUB_KERNEL_MIPS_ARC_UNCOMPRESSED_SIZE): Likewise.
(GRUB_KERNEL_MIPS_ARC_TOTAL_MODULE_SIZE): Likewise.
(GRUB_KERNEL_MIPS_ARC_PREFIX): Likewise.
(GRUB_KERNEL_MIPS_ARC_PREFIX_END): Likewise.
(GRUB_KERNEL_MIPS_ARC_MOD_ALIGN): Likewise.
(GRUB_MACHINE_LINK_ADDR): Likewise.
* include/grub/terminfo.h (GRUB_TERMINFO_READKEY_MAX_LEN): Increased
to 6.
* util/grub-install.in: Run dvhtool on ARC.
* util/grub-mkimage.c (image_targets): Add mips-arc.

14 years agoFix install message
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 19:50:24 +0000 (21:50 +0200)] 
Fix install message

14 years agoset id on arc disks
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 19:50:14 +0000 (21:50 +0200)] 
set id on arc disks

14 years ago * grub-core/bus/pci.c (grub_memalign_dma32): Always allocate in 64-byte
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 06:51:55 +0000 (08:51 +0200)] 
* grub-core/bus/pci.c (grub_memalign_dma32): Always allocate in 64-byte
blocks.

14 years ago * grub-core/bus/usb/usbhub.c (attach_root_port): Wait 10ms
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 06:50:21 +0000 (08:50 +0200)] 
* grub-core/bus/usb/usbhub.c (attach_root_port): Wait 10ms
after enabling port.

14 years ago Skip incorrect USB devices.
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 00:39:25 +0000 (02:39 +0200)] 
Skip incorrect USB devices.

* grub-core/bus/usb/usb.c (grub_usb_device_initialize): Fail if
configcnt == 0.
* include/grub/usb.h (grub_usb_err_t): New enum value
GRUB_USB_ERR_BADDEVICE.

14 years agoadd changelog entry
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 00:35:47 +0000 (02:35 +0200)] 
add changelog entry

14 years ago Fuloong video init support.
Vladimir 'phcoder' Serbinenko [Mon, 16 May 2011 00:34:58 +0000 (02:34 +0200)] 
Fuloong video init support.

* include/grub/vga.h (grub_vga_write_arx): inb monochrome address as
well.
(grub_vga_read_arx): New function.
* grub-core/video/sis315pro.c (GRUB_SIS315PRO_MMIO_SPACE): New
definition.
(framebuffer): New members io, mmioptr and mmiobase.
(read_sis_cmd): New function.
(write_sis_cmd): Likewise.
(grub_video_sis315pro_setup): Do the initialisation. Use 640x480
rather than 640x400.
* grub-core/video/sis315_init.c: New file.

14 years ago * grub-core/bus/cs5536.c: Don't include grub/machine/kernel.h on
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 13:41:23 +0000 (15:41 +0200)] 
* grub-core/bus/cs5536.c: Don't include grub/machine/kernel.h on
non-loongson.
* grub-core/kern/mips/dl.c (grub_arch_dl_init_linker): Fix argument
to grub_dl_register_symbol.

14 years ago Fix compilation errors.
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 10:32:37 +0000 (12:32 +0200)] 
Fix compilation errors.

* grub-core/term/ns8250.c (serial_get_divisor): Declare 'port' as
potentially unused.
* grub-core/loader/i386/linux.c (grub_linux_setup_video):
Handle GRUB_VIDEO_DRIVER_SIS315PRO.
* grub-core/bus/cs5536.c (grub_cs5536_init_geode): Restrict DIVIL init
to loongson machines.

14 years ago Several FS mtime support.
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 10:23:54 +0000 (12:23 +0200)] 
Several FS mtime support.

* grub-core/fs/affs.c (grub_affs_time): New struct.
(grub_affs_file): New field mtime.
(grub_fshelp_node): Changed 'block' and 'parent' to more appropriate
type. Removed 'size'. New field 'di'. All users updated.
(grub_affs_mount): Simplify checsum checking.
(grub_affs_iterate_dir): New helper grub_affs_create_node.
(grub_affs_dir): Handle mtime.
* grub-core/fs/cpio.c (grub_cpio_find_file): Handle mtime.
(grub_cpio_dir): Likewise.
* grub-core/fs/hfs.c (grub_hfs_dirrec): New fields 'ctime' and 'mtime'.
(grub_hfs_filerec): New field mtime.
(grub_hfs_dir): Handle mtime.
(grub_hfs_mtime): New function.
(grub_hfs_fs): Register grub_hfs_mtime.
* grub-core/fs/iso9660.c (grub_iso9660_date2): New struct.
(grub_iso9660_dir): New field mtime.
(grub_fshelp_node): New field dirent.
(iso9660_to_unixtime): New function.
(iso9660_to_unixtime2): Likewise.
(grub_iso9660_read_symlink): Use node->dirent.
(grub_iso9660_iterate_dir): Likewise.
(grub_iso9660_dir): Set mtime.
(grub_iso9660_mtime): New function.
(grub_iso9660_fs): Register grub_iso9660_mtime.
* grub-core/fs/jfs.c (grub_jfs_time): New struct.
(grub_jfs_inode): New fields atime, ctime and mtime.
(grub_jfs_dir): Set mtime.
* grub-core/fs/minix.c (grub_minix_dir): Likewise.
* grub-core/fs/ntfs.c (list_file): Set mtime.
(grub_ntfs_dir): Likewise.
* grub-core/fs/reiserfs.c (grub_fshelp_node): New field 'mtime'.
(grub_reiserfs_iterate_dir): Set mtime.
(grub_reiserfs_dir): Likewise.
* grub-core/fs/sfs.c (grub_sfs_obj): New field mtime.
(grub_fshelp_node): Likewise.
(grub_sfs_iterate_dir): Set mtime.
(grub_sfs_dir): Likewise.
* grub-core/fs/udf.c (grub_udf_dir): Set mtime.
* grub-core/fs/xfs.c (grub_xfs_time): New struct.
(grub_xfs_inode): New fields atime, mtime, ctime.
(grub_xfs_dir): Set mtime.
* include/grub/datetime.h (grub_datetime2unixtime): New function.
* include/grub/hfs.h (grub_hfs_sblock): New fields ctime and mtime.
* include/grub/ntfs.h (grub_fshelp_node): New field mtime.

Support UDF symlinks.

* grub-core/fs/udf.c (grub_udf_iterate_dir): Handle symlinks.
(grub_ufs_read_symlink): New function. All users updated.

Check amiga partmap checksum.

* grub-core/partmap/amiga.c (grub_amiga_rdsk): Pad to 128 bytes.
(grub_amiga_partition): Likewise.
(amiga_partition_map_checksum): New function.
(amiga_partition_map_iterate): Check checksum.

14 years ago ROMFS support.
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 10:01:03 +0000 (12:01 +0200)] 
ROMFS support.

* Makefile.util.def (libgrubmods.a): Add romfs.
* grub-core/Makefile.core.def (romfs): New module.
* grub-core/fs/romfs.c: New file.

14 years ago Squashfs v4 support.
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 09:58:22 +0000 (11:58 +0200)] 
Squashfs v4 support.

* Makefile.util.def (libgrubmods.a): Add squash4.
* grub-core/Makefile.core.def (squash4): New module.
* grub-core/fs/squash4.c: New file.
* grub-core/io/gzio.c (grub_gzio): New members disk_input_off,
disk_input_start, disk_input.
(get_byte): Handle disk_input.
(grub_zlib_disk_read): New function.
* include/grub/deflate.h (grub_zlib_disk_read): New proto.

14 years ago * Makefile.util.def (libgrubmods.a): Add minix3.
Feiran Zheng [Sun, 15 May 2011 09:53:16 +0000 (11:53 +0200)] 
* Makefile.util.def (libgrubmods.a): Add minix3.
* grub-core/Makefile.core.def (minix3): New module.
* grub-core/fs/minix.c (GRUB_MINIX_MAGIC) [MODE_MINIX3]: New value.
(GRUB_MINIX_BSIZE): Removed.
(GRUB_MINIX_INODE_DIR_BLOCKS): New definition. All users updated.
(grub_minix_ino_t): New type.
(grub_minix_le_to_cpu_ino): New macro.
(GRUB_MINIX_ZONE2SECT): New definition. All users updated.
(grub_minix_sblock) [MODE_MINIX3]: Change for minix3.
(grub_minix_data): New field block_size.
(grub_minix_read_file): Handle 64-bit correctly.
* grub-core/fs/minix3.c: New file.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
14 years ago IA64 support.
Tristan Gingold [Sun, 15 May 2011 09:22:59 +0000 (11:22 +0200)] 
IA64 support.

* Makefile.util.def (libgrubmods.a): Add grub-core/kern/ia64/dl_helper.c
* configure.ac: Add ia64-efi target.
Probe for __ia64_trampoline, __udivsi3, __umoddi3, __udivdi3,
__divsi3, __modsi3, __umodsi3, __moddi3 and __divdi3 symbols.
* gentpl.py: Add ia64_efi platform.
Rename x86_efi to efi and Add ia64-efi. All users updated.
* grub-core/Makefile.am: Set KERNEL_HEADER_FILES for ia64-efi.
* grub-core/Makefile.core.def (kernel.img): Add compile flags for ia64.
Remove kern/generic/rtc_get_time_ms.c on EFI.
Add kern/ia64/efi/startup.S, kern/ia64/efi/init.c, kern/ia64/dl.c,
kern/ia64/dl_helper.c on ia64-efi.
Add kern/emu/cache.c on emu.
(linux): Use on loader/ia64/efi/linux.c on ia64.
* grub-core/gensymlist.sh (grub_register_exported_symbols): Check
whether symbol is a function.
* grub-core/kern/dl.c [GRUB_MACHINE_EMU]: Include sys/mman.h.
(grub_symbol): New field 'isfunc'.
(grub_dl_resolve_symbol): Return whole symbol rather than just address.
(grub_dl_register_symbol): New argument 'isfunc'. All users updated.
(grub_dl_load_segments): Place all sections into the same region.
[__ia64__]: Create trampolines and got.
[GRUB_MACHINE_EMU]: Call mprotect.
(grub_dl_resolve_symbols): Resolve symbol type as well.
[__ia64__]: Create function descriptors.
* grub-core/kern/efi/efi.c (grub_get_rtc): Renamed to ...
(grub_rtc_get_time_ms): ... this. Expressions simplified.
(grub_get_rtc): New function.
* grub-core/kern/emu/cache.c [__ia64__]: New file.
* grub-core/kern/emu/cache.S: Renamed to ...
* grub-core/kern/emu/cache_s.S: ... this.
[__ia64__]: Add a nop.
* grub-core/kern/emu/full.c (grub_arch_dl_get_tramp_got_size)
[__ia64__]: New function.
* grub-core/kern/emu/lite.c [__ia64__]: Include ../ia64/dl.c.
* grub-core/kern/ia64/dl.c: New file.
* grub-core/kern/ia64/dl_helper.c: Likewise.
* grub-core/kern/ia64/efi/init.c: New file.
* grub-core/kern/ia64/efi/startup.S: Likewise.
* grub-core/lib/efi/halt.c [__ia64__]: Don't try acpi.
* grub-core/lib/ia64/longjmp.S: New file (from glibc).
* grub-core/lib/ia64/setjmp.S: Likewise (from glibc).
* grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/setjmp.S.
* grub-core/loader/ia64/efi/linux.c: New file.
* include/grub/dl.h (GRUB_MOD_NAME): Redefined using C rather than asm.
(GRUB_MOD_DEP): Likewise.
(grub_dl) [__ia64__]: New fields got and tramp.
(grub_dl): New field 'base'.
(grub_dl_register_symbol): New argument isfunc. All users updated.
(GRUB_IA64_DL_TRAMP_ALIGN): New definition.
(GRUB_IA64_DL_TRAMP_SIZE): Likewise.
(GRUB_IA64_DL_GOT_ALIGN): Likewise.
(grub_ia64_dl_get_tramp_got_size): New proto.
(GRUB_ARCH_DL_TRAMP_ALIGN) [__ia64__]: Likewise
(GRUB_ARCH_DL_GOT_ALIGN) [__ia64__]: Likewise
(grub_arch_dl_get_tramp_got_size) [__ia64__]: Likewise
* include/grub/efi/api.h: Skip call wrappers on ia64.
* include/grub/efi/pe32.h (GRUB_PE32_MACHINE_IA64): New definition.
* include/grub/efi/time.h (GRUB_TICKS_PER_SECOND): Change to 1000.
* include/grub/elf.h (ELF_ST_INFO): New definition.
* include/grub/ia64/efi/kernel.h: New file.
* include/grub/ia64/efi/memory.h: Likewise.
* include/grub/ia64/efi/time.h: Likewise.
* include/grub/ia64/kernel.h: Likewise.
* include/grub/ia64/setjmp.h: Likewise (from glibc).
* include/grub/ia64/time.h: New file.
* include/grub/ia64/types.h: Likewise.
* include/grub/libgcc.h (__udivsi3, __umodsi3, __umoddi3, __udivdi3,
__moddi3, __divdi3, __divsi3, __modsi3, __ia64_trampoline):
New protos.
* include/grub/offsets.h (GRUB_KERNEL_IA64_EFI_PREFIX): New definition.
(GRUB_KERNEL_IA64_EFI_PREFIX_END): Likewise.
* include/grub/types.h (PRIxGRUB_ADDR): Likewise.
* util/grub-mkimage.c (image_target_desc): New field pe_target.
All users updated.
(EFI64_HEADER_SIZE): New definition. All users updated.
(image_targets): Add ia64-efi.
* util/grub-mkimagexx.c (relocate_symbols): New arguments jumpers and
jumpers_addr. All users updated.
Create function descriptors.
(count_funcs): New function.
(unaligned_uint32): New struct.
(MASK20): New definition.
(MASK19): Likewise.
(MASKF21): Likewise.
(add_value_to_slot_20b): New function.
(add_value_to_slot_21_real): Likewise.
(add_value_to_slot_21): Likewise.
(ia64_kernel_trampoline): New struct.
(nopm): New variable.
(jump): Likewise.
(make_trampoline): New function.
(relocate_addresses): Handle ia64.
(make_reloc_section): Likewise.
(load_image): Likewise.

Also-By: Robert Millan <rmh.grub@aybabtu.com>
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
14 years ago * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Silence spurious
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 08:23:02 +0000 (10:23 +0200)] 
* grub-core/fs/btrfs.c (grub_btrfs_read_logical): Silence spurious
warning. Move variables before code while on it.

14 years agomerge mainline into sgi
Vladimir 'phcoder' Serbinenko [Sun, 15 May 2011 00:23:36 +0000 (02:23 +0200)] 
merge mainline into sgi

14 years ago Fuloong support.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 23:43:44 +0000 (01:43 +0200)] 
Fuloong support.

* configure.ac: Rename yeeloong platform to loongson. All users updated.
* grub-core/Makefile.core.def (fwstart_fuloong): New image.
* grub-core/boot/mips/loongson/fuloong.S: New file.
* grub-core/boot/mips/loongson/fwstart.S: Wait for CS5536 to come up.
Explicitly init CS5536.
[FULOONG]: Don't use serial until CS5536 is available.
Set GPIO based on dumps.
(serial_hw_init) [FULOONG]: Handle CS5536 parts.
[FULOONG]: Handle GPIO and memory controller differences.
Parse machine type in $a2.
* grub-core/boot/mips/startup_raw.S: Determine and save the
architecture.
* grub-core/bus/cs5536.c (gpiodump): Move to fwstart.S.
(grub_cs5536_init_geode): Remove gpio part. Conditionalise DIVIL
init on architecture type.
* grub-core/kern/mips/loongson/init.c (grub_machine_init): Init
SIS315E. Don't init at_keyboard on fuloong.
(grub_halt): Support Fuloong.
* grub-core/kern/mips/startup.S [LOONGSON]: Save $s7.
* grub-core/loader/mips/linux.c (LOONGSON_MACHTYPE): Removed.
(loongson_machtypes): New array.
(grub_cmd_linux) [GRUB_MACHINE_MIPS_LOONGSON]: Pass the right machine
type.
* grub-core/term/ns8250.c (serial_get_divisor): New parameter port and
config. All users updated. Handle CS5536 serial.
* grub-core/term/serial.c (grub_serial_register): Conditionalise
default port on machine type. Register serial as inactive.
* grub-core/video/sis315pro.c: New file.
* include/grub/cs5536.h (GRUB_CS5536_MSR_MAILBOX_CONFIG_ENABLED): New
definition.
(GRUB_CS5536_MSR_MAILBOX_CONFIG): Likewise.
(GRUB_CS5536_MSR_DIVIL_LEG_IO_UART1_COM1): Likewise.
(GRUB_CS5536_MSR_DIVIL_LEG_IO_UART2_COM3): Likewise.
(GRUB_CS5536_MSR_DIVIL_UART1_CONF): Likewise.
(GRUB_CS5536_MSR_DIVIL_UART2_CONF): Likewise.
* include/grub/mips/loongson.h (GRUB_CPU_LOONGSON_SHUTDOWN_GPIO): Rename
to ...
(GRUB_CPU_YEELOONG_SHUTDOWN_GPIO): ... this.
* include/grub/mips/loongson/kernel.h (GRUB_ARCH_MACHINE_YEELOONG): New
definition.
(GRUB_ARCH_MACHINE_FULOONG): Likewise.
(grub_arch_machine): New extern var.
* include/grub/mips/loongson/serial.h
(GRUB_MACHINE_SERIAL_DIVISOR_115200): Renamed to ...
(GRUB_MACHINE_SERIAL_PORT0_DIVISOR_115200): ... this.
(GRUB_MACHINE_SERIAL_PORT): Renamed to ...
(GRUB_MACHINE_SERIAL_PORT0): ... this.
(GRUB_MACHINE_SERIAL_PORT2_DIVISOR_115200): New definition.
(GRUB_MACHINE_SERIAL_PORT1): Likewise.
(GRUB_MACHINE_SERIAL_PORT2): Likewise.
(GRUB_MACHINE_SERIAL_PORTS): Include ports 1 and 2.
* include/grub/term.h (grub_term_register_input_inactive): New inline
function.
(grub_term_register_output_inactive): Likewise.
* include/grub/video.h (grub_video_driver_id): New value
GRUB_VIDEO_DRIVER_SIS315PRO.
* util/grub-mkimage.c (image_target_desc): Rename name to dirname.
New field "names". All users updated.
New field value IMAGE_FULOONG_FLASH.
(generate_image): USe separate fwstart hashes for yeeloong and fuloong.

14 years ago * docs/grub.texi (Invoking grub-install): Fix additional outdated claims 1.99
Jordan Uggla [Sat, 14 May 2011 20:49:53 +0000 (22:49 +0200)] 
* docs/grub.texi (Invoking grub-install): Fix additional outdated claims
and add some clarification.

14 years ago * util/grub.d/10_linux.in: Autoload gzio since it's needed on some
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:47:28 +0000 (22:47 +0200)] 
* util/grub.d/10_linux.in: Autoload gzio since it's needed on some
platforms if kernel is compressed.

14 years ago * grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:44:53 +0000 (22:44 +0200)] 
* grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
unused modules since currently referrence counter isn't reliable and
there isn't much memory to recover there anyway.

14 years ago * grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:42:28 +0000 (22:42 +0200)] 
* grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter
rather than resetting it to allow modules to reference themselves
in init.

14 years ago * grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:35:56 +0000 (22:35 +0200)] 
* grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference
counter on dependencies since grub_dl_unref already handles this.

14 years ago * grub-core/font/font_cmd.c (loadfont_command): Set grub_errno
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:29:27 +0000 (22:29 +0200)] 
* grub-core/font/font_cmd.c (loadfont_command): Set grub_errno
on error if not already done.

14 years ago Fix few potential memory misusage.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 20:26:52 +0000 (22:26 +0200)] 
Fix few potential memory misusage.

* grub-core/font/font.c (load_font_index): Don't free char_index to
avoid double free.

14 years ago * docs/grub.texi (Installation): Fix several outdated claims.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 15:50:48 +0000 (17:50 +0200)] 
* docs/grub.texi (Installation): Fix several outdated claims.

14 years ago Handle module_license on windows.
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 15:47:59 +0000 (17:47 +0200)] 
Handle module_license on windows.

* util/grub-pe2elf.c (MODLICENSE_SECTION): New definition. All following
sections shifted.
(insert_string): Make argument const char * instead of char *.
(write_section_data): Handle long section names.
Handle module_license.

14 years ago * grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 10:14:00 +0000 (12:14 +0200)] 
* grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly
handle class-free menuentries.
(grub_normal_add_menu_entry): Add a check to be sure.

14 years ago * grub-core/term/at_keyboard.c (set1_e0_mapping): Fix swap between
Vladimir 'phcoder' Serbinenko [Sat, 14 May 2011 10:09:16 +0000 (12:09 +0200)] 
* grub-core/term/at_keyboard.c (set1_e0_mapping): Fix swap between
PgUp and PgDown.

14 years ago * configure.ac: Bump version to 1.99.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 19:50:18 +0000 (21:50 +0200)] 
* configure.ac: Bump version to 1.99.

14 years ago Give ATA device a bit more time on first try in order to allow disks
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 19:41:18 +0000 (21:41 +0200)] 
Give ATA device a bit more time on first try in order to allow disks
to spin up.

* grub-core/disk/ata.c (grub_atapi_identify): Use GRUB_ATA_TOUT_DEV_INIT
if dev->present is 1. Reset dev->present on failure.
(grub_ata_device_initialize): Set dev->present to 1.
* include/grub/ata.h (GRUB_ATA_TOUT_DEV_INIT): New value.
(grub_ata_device): New member 'present'.

14 years ago * util/grub-mkimage.c (generate_image): Update hash.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 19:31:00 +0000 (21:31 +0200)] 
* util/grub-mkimage.c (generate_image): Update hash.

14 years ago Flush caches on DMA memory.
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 18:56:50 +0000 (20:56 +0200)] 
Flush caches on DMA memory.

* grub-core/kern/mips/cache.S (grub_arch_sync_dma_caches): New function.
* grub-core/bus/pci.c (grub_memalign_dma32): Flush caches.
(grub_dma_free): Likewise.
* include/grub/cache.h (grub_arch_sync_dma_caches): New declaration.

14 years ago * grub-core/boot/mips/yeeloong/fwstart.S: Add explicit set mips3
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 18:23:29 +0000 (20:23 +0200)] 
* grub-core/boot/mips/yeeloong/fwstart.S: Add explicit set mips3
to avoid asm treating ld and sd as macros.

14 years agoArc type cleanup
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 16:03:20 +0000 (18:03 +0200)] 
Arc type cleanup

14 years agomissing part of previous commits
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 16:02:58 +0000 (18:02 +0200)] 
missing part of previous commits

14 years agosgimips grub-install partial support (untested)
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 16:02:36 +0000 (18:02 +0200)] 
sgimips grub-install partial support (untested)

14 years agoavoid executing cache opcode on non-4 byte aligned boundaries
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:41:26 +0000 (16:41 +0200)] 
avoid executing cache opcode on non-4 byte aligned boundaries

14 years agoadd dvh to userspace tools
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:39:02 +0000 (16:39 +0200)] 
add dvh to userspace tools

14 years agosome additional key sequences for arc
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:38:23 +0000 (16:38 +0200)] 
some additional key sequences for arc

14 years agosgimips linux loader
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:36:41 +0000 (16:36 +0200)] 
sgimips linux loader

14 years agosgi support
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 14:36:05 +0000 (16:36 +0200)] 
sgi support

14 years agoAdjust mips/dl.c for bigendian
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:38:42 +0000 (15:38 +0200)] 
Adjust mips/dl.c for bigendian

14 years ago * grub-core/boot/mips/startup_raw.S: Flush cache after loading
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:35:06 +0000 (15:35 +0200)] 
* grub-core/boot/mips/startup_raw.S: Flush cache after loading
decompressor.

14 years ago * grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:20:16 +0000 (15:20 +0200)] 
* grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
grub_decompress_core since later would fail if grub_decompress_core
is too far.

14 years ago * grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle
Vladimir 'phcoder' Serbinenko [Fri, 13 May 2011 13:17:02 +0000 (15:17 +0200)] 
* grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle
R_MIPS_JALR since it's used by newer compiler.

14 years ago * util/grub.d/10_linux.in: Correctly handle the Linux in root.
Vladimir 'phcoder' Serbinenko [Tue, 10 May 2011 08:40:22 +0000 (10:40 +0200)] 
* util/grub.d/10_linux.in: Correctly handle the Linux in root.

14 years ago * grub-core/loader/efi/chainloader.c (grub_chainloader_unload): Set
Vladimir 'phcoder' Serbinenko [Tue, 10 May 2011 07:14:41 +0000 (09:14 +0200)] 
* grub-core/loader/efi/chainloader.c (grub_chainloader_unload): Set
file_path to 0 for surety.
(grub_chainloader_boot): Set exit_data to NULL.
Unset the loader once done.
(grub_cmd_chainloader): Fix confusing error message if file is empty.

14 years ago * grub-core/term/at_keyboard.c (fetch_key): Make a printf on
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 17:33:03 +0000 (19:33 +0200)] 
* grub-core/term/at_keyboard.c (fetch_key): Make a printf on
unknown key into a dprintf.

14 years ago * grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:59:35 +0000 (18:59 +0200)] 
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort
on first non-existant partition.

14 years agoFix surname spelling in Changelog
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:50:25 +0000 (18:50 +0200)] 
Fix surname spelling in Changelog

14 years ago * grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:48:50 +0000 (18:48 +0200)] 
* grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if
openning fails.
Reported by: Mark Korenberg.

14 years ago * grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 16:46:51 +0000 (18:46 +0200)] 
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible
overflow.

14 years ago * util/grub-mkimage.c (main): Explicitely flush and sync the output
Vladimir 'phcoder' Serbinenko [Mon, 9 May 2011 14:27:09 +0000 (16:27 +0200)] 
* util/grub-mkimage.c (main): Explicitely flush and sync the output
before closing to ensure that it will be readable by grub-setup.

14 years agoRemove 2 useless directories
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 18:16:25 +0000 (20:16 +0200)] 
Remove 2 useless directories

14 years agoremove ia64.moved
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 18:06:03 +0000 (20:06 +0200)] 
remove ia64.moved

14 years agotrack function symbols
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 16:29:37 +0000 (18:29 +0200)] 
track function symbols

14 years agoRemove now useless LD script
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 16:28:25 +0000 (18:28 +0200)] 
Remove now useless LD script

14 years agoFix LTOFF relocation to functions (needed for trampolines)
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:07:40 +0000 (17:07 +0200)] 
Fix LTOFF relocation to functions (needed for trampolines)

14 years agoAdd explicit byt 0 to workaround a problem with assembler
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:06:56 +0000 (17:06 +0200)] 
Add explicit byt 0 to workaround a problem with assembler

14 years agoAdd missing time installation
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:06:28 +0000 (17:06 +0200)] 
Add missing time installation

14 years agoSet EFI ticks to 1000Hz simplifying much of the code and avoiding cotsly division
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 15:05:47 +0000 (17:05 +0200)] 
Set EFI ticks to 1000Hz simplifying much of the code and avoiding cotsly division

14 years agoFix 2 incorrect vaddr_offsets
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 12:33:30 +0000 (14:33 +0200)] 
Fix 2 incorrect vaddr_offsets

14 years agoadd missing file
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 10:42:08 +0000 (12:42 +0200)] 
add missing file

14 years agomore or less functional ia64 grub-mkimage
Vladimir 'phcoder' Serbinenko [Sun, 8 May 2011 10:39:08 +0000 (12:39 +0200)] 
more or less functional ia64 grub-mkimage

14 years ago * grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
Vladimir 'phcoder' Serbinenko [Thu, 5 May 2011 11:34:03 +0000 (13:34 +0200)] 
* grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro.
(devpath_1): Use MAKE_PIWG_PATH.
(devpath_2): Likewise.
(devpath_3): Likewise.
(devpath_4): Likewise.
(devpath_5): Likewise.
(devpath_6): Likewise.

The appleldr.mod was checked that to be binary identical to previous
version.

14 years ago Support 2010 Macbooks.
Zach [Thu, 5 May 2011 10:18:00 +0000 (12:18 +0200)] 
Support 2010 Macbooks.

* grub-core/loader/efi/appleloader.c (devpath_6): New variable.
(devs): Add devpath_6.

14 years ago * util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:32:04 +0000 (01:32 +0200)] 
* util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
/dev/random. /dev/urandom is good enough for our purposes (salting).

14 years ago * util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:29:21 +0000 (01:29 +0200)] 
* util/grub-mkrescue.in (process_input_dir): Include efiemu??.o.

14 years ago * grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:27:54 +0000 (01:27 +0200)] 
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle
hexadecimal.

14 years ago * grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
Vladimir 'phcoder' Serbinenko [Wed, 4 May 2011 23:26:16 +0000 (01:26 +0200)] 
* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
and not 0 on failure.

14 years ago* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
Colin Watson [Tue, 3 May 2011 17:03:05 +0000 (18:03 +0100)] 
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
GRUB_ERR_BAD_FS rather than GRUB_ERR_IO if the disk is not a pxe
disk; otherwise grub_fs_probe will not fall back to the next
filesystem.
(grub_pxefs_open): Likewise, for consistency.
Reported and tested by: Ezekiel Grave.

14 years ago* tests/partmap_test.in: Don't hardcode path to parted.
Colin Watson [Tue, 3 May 2011 16:57:39 +0000 (17:57 +0100)] 
* tests/partmap_test.in: Don't hardcode path to parted.
Reported by: Peter Hjalmarsson.  Fixes Savannah bug #33150.

14 years ago* docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
Colin Watson [Sun, 1 May 2011 19:04:02 +0000 (20:04 +0100)] 
* docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
of `ls' to find out which devices are available.

14 years ago * grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 14:58:25 +0000 (16:58 +0200)] 
* grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
than source address for efi mmap buffer.

14 years ago * grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:36:08 +0000 (15:36 +0200)] 
* grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
wrong action on non-detecting the magic.

14 years ago * grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:29:41 +0000 (15:29 +0200)] 
* grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
already supplied by another part of the module (fixes compilation on
FreeBSD).

14 years ago * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
Vladimir 'phcoder' Serbinenko [Mon, 25 Apr 2011 13:23:37 +0000 (15:23 +0200)] 
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
match the one used by mdadm.

14 years ago* po/README: Add instructions for creating po/LINGUAS.
Colin Watson [Thu, 21 Apr 2011 14:47:58 +0000 (15:47 +0100)] 
* po/README: Add instructions for creating po/LINGUAS.

14 years agoAdd "SEE ALSO" sections to most man pages. Fixes Debian bug
Colin Watson [Thu, 21 Apr 2011 14:17:48 +0000 (15:17 +0100)] 
Add "SEE ALSO" sections to most man pages.  Fixes Debian bug
#551428.

* docs/man/grub-editenv.h2m (SEE ALSO): New section.
* docs/man/grub-emu.h2m (SEE ALSO): Likewise.
* docs/man/grub-fstest.h2m (SEE ALSO): Likewise.
* docs/man/grub-install.h2m (SEE ALSO): Likewise.
* docs/man/grub-macho2img.h2m (SEE ALSO): Likewise.
* docs/man/grub-menulst2cfg.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkconfig.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkdevicemap.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkfont.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
* docs/man/grub-mklayout.h2m (SEE ALSO): Likewise.
* docs/man/grub-mknetdir.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkpasswd-pbkdf2.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkrelpath.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkrescue.h2m (SEE ALSO): Likewise.
* docs/man/grub-ofpathname.h2m (SEE ALSO): Likewise.
* docs/man/grub-pe2elf.h2m (SEE ALSO): Likewise.
* docs/man/grub-probe.h2m (SEE ALSO): Likewise.
* docs/man/grub-reboot.h2m (SEE ALSO): Likewise.
* docs/man/grub-script-check.h2m (SEE ALSO): Likewise.
* docs/man/grub-set-default.h2m (SEE ALSO): Likewise.
* docs/man/grub-setup.h2m (SEE ALSO): Likewise.

14 years ago* grub-core/kern/emu/getroot.c
Colin Watson [Thu, 21 Apr 2011 09:26:29 +0000 (10:26 +0100)] 
* grub-core/kern/emu/getroot.c
(grub_find_root_device_from_mountinfo): Remove non-virtual-device
test that was incorrectly reintroduced in r3214.
Reported by: Ian Dall.  Fixes Savannah bug #33133.

14 years agoFix stack pointer handling in 16-bit relocator.
Colin Watson [Wed, 20 Apr 2011 23:07:22 +0000 (00:07 +0100)] 
Fix stack pointer handling in 16-bit relocator.

* grub-core/lib/i386/relocator16.S (grub_relocator16_start): Move
grub_relocator16_sp to %esp rather than %ss, and zero-extend it.
Fixes Ubuntu bug #683904.

14 years ago * configure.ac: Bump version to 1.99~rc2.
Vladimir 'phcoder' Serbinenko [Wed, 20 Apr 2011 07:23:55 +0000 (09:23 +0200)] 
* configure.ac: Bump version to 1.99~rc2.

14 years ago * include/grub/dl.h [ASM_FILE]: Adapt for assembly.
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 23:37:48 +0000 (01:37 +0200)] 
* include/grub/dl.h [ASM_FILE]: Adapt for assembly.
* grub-core/lib/i386/setjmp.S: Add missing GRUB_MOD_LICENSE.
* grub-core/lib/x86_64/setjmp.S: Likewise.
* grub-core/lib/mips/setjmp.S: Likewise.
* grub-core/lib/powerpc/setjmp.S: Likewise.
* grub-core/lib/sparc64/setjmp.S: Likewise.

14 years ago * grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE.
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 23:32:21 +0000 (01:32 +0200)] 
* grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE.
* grub-core/lib/efi/datetime.c: Likewise.

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush):
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 20:39:14 +0000 (22:39 +0200)] 
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush):
New function.
(grub_util_biosdisk_close): Use grub_util_biosdisk_flush.
* include/grub/emu/hostdisk.h (grub_util_biosdisk_flush): New proto.
* util/grub-setup.c (setup): Use grub_util_biosdisk_flush.

14 years ago * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
Vladimir 'phcoder' Serbinenko [Tue, 19 Apr 2011 20:31:50 +0000 (22:31 +0200)] 
* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
bitmap.
(grub_gfxterm_term_init): Likewise.

14 years ago Take into account the decorations the computing menu entry width.
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 22:44:53 +0000 (00:44 +0200)] 
Take into account the decorations the computing menu entry width.

* grub-core/gfxmenu/widget-box.c (get_border_width): New function.
(grub_gfxmenu_create_box): Register get_border_width.
* grub-core/gfxmenu/gui_list.c (draw_menu): Use get_border_width
if available.
* include/grub/gfxwidgets.h (grub_gfxmenu_box): New member
get_border_width.

14 years ago * grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
Endres Puschner [Mon, 18 Apr 2011 21:24:41 +0000 (23:24 +0200)] 
* grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
Don't skip first class.

14 years ago * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 21:10:19 +0000 (23:10 +0200)] 
* grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge
chunks.
* include/grub/err.h (grub_err_t): New enum value GRUB_ERR_BUG.

14 years ago Complete 64-bit division support.
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 21:03:52 +0000 (23:03 +0200)] 
Complete 64-bit division support.

* grub-core/kern/misc.c (grub_divmod64): Rename to ...
(grub_divmod64_full): ... this. Support 64-bit divisor and reminder.
* include/grub/misc.h (grub_divmod64): Rename to ...
(grub_divmod64_full): ... this.
(grub_divmod64): New inline function.

14 years ago * util/grub-mkimage.c (generate_image): Add forgotten comma.
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 15:47:21 +0000 (17:47 +0200)] 
* util/grub-mkimage.c (generate_image): Add forgotten comma.

14 years ago * util/grub-mkimage.c (generate_image): Update fwstart.img hash after
Vladimir 'phcoder' Serbinenko [Mon, 18 Apr 2011 07:31:13 +0000 (09:31 +0200)] 
* util/grub-mkimage.c (generate_image): Update fwstart.img hash after
performing the necessary test.

14 years ago * Makefile.am (multiboot.elf): Add -Wl,--build-id=none.
Vladimir 'phcoder' Serbinenko [Sat, 16 Apr 2011 15:24:47 +0000 (17:24 +0200)] 
* Makefile.am (multiboot.elf): Add -Wl,--build-id=none.
(kfreebsd.elf): Likewise.
(pc-chainloader.elf): Likewise.
(ntldr.elf): Likewise.

14 years ago Identify RAID by its UUID rather than (guessed) name.
Vladimir 'phcoder' Serbinenko [Sat, 16 Apr 2011 13:27:35 +0000 (15:27 +0200)] 
Identify RAID by its UUID rather than (guessed) name.

* grub-core/disk/raid.c (ascii2hex): New function.
(grub_raid_open): Accept mduuid/%s specification.
* grub-core/kern/emu/getroot.c (get_mdadm_name): Revamped into ...
(get_mdadm_uuid): ... this.
(grub_util_get_grub_dev): Use mduuid/%s if UUID is available.