]> git.proxmox.com Git - grub2.git/log
grub2.git
11 years ago * util/grub.d/20_linux_xen.in: Automatically add no-real-mode edd=off on
Vladimir 'phcoder' Serbinenko [Sun, 24 Mar 2013 13:03:33 +0000 (14:03 +0100)]
* util/grub.d/20_linux_xen.in: Automatically add no-real-mode edd=off on
non-BIOS platforms.

11 years ago * grub-core/Makefile.core.def (vga): Disable on coreboot and multiboot
Vladimir 'phcoder' Serbinenko [Sun, 24 Mar 2013 13:01:51 +0000 (14:01 +0100)]
* grub-core/Makefile.core.def (vga): Disable on coreboot and multiboot
platforms.

11 years ago * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
Vladimir 'phcoder' Serbinenko [Sun, 24 Mar 2013 12:11:19 +0000 (13:11 +0100)]
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
handling of multi-device filesystems.

11 years ago * grub-core/Makefile.core.def (vbe): Disable on coreboot and multiboot
Vladimir 'phcoder' Serbinenko [Sun, 24 Mar 2013 12:07:51 +0000 (13:07 +0100)]
* grub-core/Makefile.core.def (vbe): Disable on coreboot and multiboot
platforms.

11 years ago Add new 'proc' filesystem framework and put luks_script into it.
Vladimir 'phcoder' Serbinenko [Sun, 24 Mar 2013 12:05:59 +0000 (13:05 +0100)]
Add new 'proc' filesystem framework and put luks_script into it.

11 years ago * grub-core/term/at_keyboard.c: Increase robustness on coreboot
Vladimir 'phcoder' Serbinenko [Sat, 23 Mar 2013 15:54:36 +0000 (16:54 +0100)]
* grub-core/term/at_keyboard.c: Increase robustness on coreboot
and qemu.

11 years ago * grub-core/fs/zfs/zfs.c: Fix incorrect handling of special volumes.
Vladimir 'phcoder' Serbinenko [Fri, 22 Mar 2013 21:18:38 +0000 (22:18 +0100)]
* grub-core/fs/zfs/zfs.c: Fix incorrect handling of special volumes.

11 years ago Add ability to generate newc additions on runtime.
Vladimir 'phcoder' Serbinenko [Fri, 22 Mar 2013 20:01:28 +0000 (21:01 +0100)]
Add ability to generate newc additions on runtime.

11 years ago * grub-core/commands/i386/coreboot/cbls.c: Fix typos and wrong
Vladimir 'phcoder' Serbinenko [Fri, 22 Mar 2013 13:06:48 +0000 (14:06 +0100)]
* grub-core/commands/i386/coreboot/cbls.c: Fix typos and wrong
description.

11 years ago * po/POTFILES.in: Regenerate.
Vladimir 'phcoder' Serbinenko [Thu, 21 Mar 2013 20:54:31 +0000 (21:54 +0100)]
* po/POTFILES.in: Regenerate.

11 years ago * grub-core/commands/verify.c (hashes): Add several hashes
Vladimir 'phcoder' Serbinenko [Wed, 20 Mar 2013 16:24:39 +0000 (17:24 +0100)]
* grub-core/commands/verify.c (hashes): Add several hashes
from the spec.

11 years ago Slight improve in USB-related boot-time checkpoints.
Vladimir 'phcoder' Serbinenko [Wed, 20 Mar 2013 16:21:13 +0000 (17:21 +0100)]
Slight improve in USB-related boot-time checkpoints.

11 years ago * grub-core/commands/boottime.c: Fix copyright header.
Vladimir 'phcoder' Serbinenko [Wed, 20 Mar 2013 16:16:35 +0000 (17:16 +0100)]
* grub-core/commands/boottime.c: Fix copyright header.

11 years ago New commands cbmemc, lscoreboot, coreboot_boottime to inspect
Vladimir 'phcoder' Serbinenko [Wed, 20 Mar 2013 16:13:31 +0000 (17:13 +0100)]
New commands cbmemc, lscoreboot, coreboot_boottime to inspect
coreboot tables content. Support for cbmemc.

11 years ago Fix a conflict between ports structures with 2 controllers of
Vladimir 'phcoder' Serbinenko [Wed, 20 Mar 2013 16:07:08 +0000 (17:07 +0100)]
Fix a conflict between ports structures with 2 controllers of
same kind.

11 years ago * include/grub/boottime.h: Add missing file.
Vladimir 'phcoder' Serbinenko [Wed, 20 Mar 2013 15:58:07 +0000 (16:58 +0100)]
* include/grub/boottime.h: Add missing file.

11 years ago Initialize USB ports in parallel to speed-up boot.
Vladimir 'phcoder' Serbinenko [Tue, 19 Mar 2013 22:06:44 +0000 (23:06 +0100)]
Initialize USB ports in parallel to speed-up boot.

11 years ago Fix USB devices not being detected when requested
Vladimir 'phcoder' Serbinenko [Tue, 19 Mar 2013 19:35:21 +0000 (20:35 +0100)]
Fix USB devices not being detected when requested
due to delayed attach.

11 years ago Implement boot time analysis framework.
Vladimir 'phcoder' Serbinenko [Tue, 19 Mar 2013 19:25:09 +0000 (20:25 +0100)]
Implement boot time analysis framework.

11 years ago remove get_endpoint_descriptor and change all functions needing
Vladimir 'phcoder' Serbinenko [Tue, 19 Mar 2013 10:19:36 +0000 (11:19 +0100)]
remove get_endpoint_descriptor and change all functions needing
descriptor to just receive it as argument rather than endpoint
address.

11 years ago Better estimate the maximum USB transfer size.
Vladimir 'phcoder' Serbinenko [Tue, 19 Mar 2013 07:17:51 +0000 (08:17 +0100)]
Better estimate the maximum USB transfer size.

11 years ago Resend a packet if we got the wrong buffer in status.
Vladimir 'phcoder' Serbinenko [Sun, 17 Mar 2013 12:33:16 +0000 (13:33 +0100)]
Resend a packet if we got the wrong buffer in status.

11 years ago * grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Use
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 19:37:41 +0000 (20:37 +0100)]
* grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Use
multiplication rather than division.

11 years ago * grub-core/lib/arg.c (grub_arg_list_alloc): Use shifts rather
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 19:08:15 +0000 (20:08 +0100)]
* grub-core/lib/arg.c (grub_arg_list_alloc): Use shifts rather
than divisions.

11 years ago * grub-core/commands/verify.c (grub_verify_signature): Use unsigned
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 18:39:14 +0000 (19:39 +0100)]
* grub-core/commands/verify.c (grub_verify_signature): Use unsigned
operations to have intended shifts and not divisions.

11 years ago * grub-core/loader/i386/pc/plan9.c (fill_disk): Fix types to use
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 18:27:50 +0000 (19:27 +0100)]
* grub-core/loader/i386/pc/plan9.c (fill_disk): Fix types to use
intended shifts rather than division.

11 years ago * include/grub/datetime.h (grub_datetime2unixtime): Fix unixtime
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 18:19:21 +0000 (19:19 +0100)]
* include/grub/datetime.h (grub_datetime2unixtime): Fix unixtime
computation for some years before epoch. Avode confusing division
while on it.

11 years ago * grub-core/video/i386/pc/vbe.c
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 17:49:05 +0000 (18:49 +0100)]
* grub-core/video/i386/pc/vbe.c
(grub_video_vbe_print_adapter_specific_info): Replace division by
shifts.

11 years ago Adjust types in gdb module to have intended unsigned shifts rather than
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 17:36:39 +0000 (18:36 +0100)]
Adjust types in gdb module to have intended unsigned shifts rather than
signed divisions.

11 years ago * grub-core/fs/hfs.c (grub_hfs_read_file): Avoid divmod64 since the
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 17:27:53 +0000 (18:27 +0100)]
* grub-core/fs/hfs.c (grub_hfs_read_file): Avoid divmod64 since the
maximum size is 4G - 1 on hfs

11 years ago Avoid costly 64-bit division in grub_get_time_ms on most platforms.
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 16:45:38 +0000 (17:45 +0100)]
Avoid costly 64-bit division in grub_get_time_ms on most platforms.

11 years ago * grub-core/fs/fshelp.c (grub_fshelp_log2blksize): Remove now unused
Vladimir 'phcoder' Serbinenko [Sun, 10 Mar 2013 13:27:04 +0000 (14:27 +0100)]
* grub-core/fs/fshelp.c (grub_fshelp_log2blksize): Remove now unused
function.

11 years ago * grub-core/fs/iso9660.c (add_part): Remove always_inline attribute
Andrey Borzenkov [Thu, 7 Mar 2013 08:11:36 +0000 (09:11 +0100)]
* grub-core/fs/iso9660.c (add_part): Remove always_inline attribute
causing gcc error with gcc 4.7.1.

11 years ago * grub-core/commands/acpi.c (grub_acpi_create_ebda): Don't
Nickolai Zeldovich [Thu, 7 Mar 2013 07:52:29 +0000 (08:52 +0100)]
* grub-core/commands/acpi.c (grub_acpi_create_ebda): Don't
dereference null pointer. While the code is technically correct, gcc
may eliminate a null check if pointer is already dereferenced.

11 years ago * grub-core/normal/crypto.c (read_crypto_list): Fix incorrect
Nickolai Zeldovich [Thu, 7 Mar 2013 07:41:27 +0000 (08:41 +0100)]
* grub-core/normal/crypto.c (read_crypto_list): Fix incorrect
OOM check.
* grub-core/normal/term.c (read_terminal_list): Likewise.

11 years ago Lift up core size limits on some platforms. Fix potential memory
Vladimir 'phcoder' Serbinenko [Thu, 7 Mar 2013 07:17:24 +0000 (08:17 +0100)]
Lift up core size limits on some platforms. Fix potential memory
corruption with big core on small memory systems. Document remaining
limits.

11 years ago * grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
Vladimir 'phcoder' Serbinenko [Tue, 5 Mar 2013 19:00:51 +0000 (20:00 +0100)]
* grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
gotoxy to 0,0.

11 years ago Remove all trampoline support. Add -Wtrampolines when
Vladimir 'phcoder' Serbinenko [Sun, 3 Mar 2013 14:57:30 +0000 (15:57 +0100)]
Remove all trampoline support. Add -Wtrampolines when
present. Remove symbols used for trampolines to make
link fail if trampolines are present.

11 years ago * grub-core/script/execute.c (grub_script_arglist_to_argv): Move
Vladimir 'phcoder' Serbinenko [Sun, 3 Mar 2013 14:26:29 +0000 (15:26 +0100)]
* grub-core/script/execute.c (grub_script_arglist_to_argv): Move
append out of its parent.

11 years ago * grub-core/commands/regexp.c (set_matches): Move setvar out of its
Vladimir 'phcoder' Serbinenko [Sun, 3 Mar 2013 14:24:02 +0000 (15:24 +0100)]
* grub-core/commands/regexp.c (set_matches): Move setvar out of its
parent.

11 years ago * grub-core/kern/env.c, include/grub/env.h: Change iterator through
Vladimir 'phcoder' Serbinenko [Sun, 3 Mar 2013 00:34:27 +0000 (01:34 +0100)]
* grub-core/kern/env.c, include/grub/env.h: Change iterator through
all vars to a macro. All users updated.

11 years ago * grub-core/disk/ieee1275/nand.c: Fix compilation on
Vladimir 'phcoder' Serbinenko [Sun, 3 Mar 2013 00:30:55 +0000 (01:30 +0100)]
* grub-core/disk/ieee1275/nand.c: Fix compilation on
i386-ieee1275.

11 years ago * include/grub/cmos.h: Handle high CMOS addresses on sparc64.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 22:59:05 +0000 (23:59 +0100)]
* include/grub/cmos.h: Handle high CMOS addresses on sparc64.

11 years ago * include/grub/mips/loongson/cmos.h: Fix high CMOS addresses.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 22:57:34 +0000 (23:57 +0100)]
* include/grub/mips/loongson/cmos.h: Fix high CMOS addresses.

11 years ago Move to more hookless approach in IEEE1275 devices handling.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 22:51:19 +0000 (23:51 +0100)]
Move to more hookless approach in IEEE1275 devices handling.

11 years ago * grub-core/kern/term.c (grub_term_normal_color),
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 22:23:51 +0000 (23:23 +0100)]
* grub-core/kern/term.c (grub_term_normal_color),
(grub_term_highlight_color): Add back lost defaults.

11 years ago Make elfload not use hooks. Opt for flags and iterators instead.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 15:45:57 +0000 (16:45 +0100)]
Make elfload not use hooks. Opt for flags and iterators instead.

11 years ago * grub-core/lib/ia64/longjmp.S: Fix the name of longjmp function.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 14:31:17 +0000 (15:31 +0100)]
* grub-core/lib/ia64/longjmp.S: Fix the name of longjmp function.
* grub-core/lib/ia64/setjmp.S: Fix the name of setjmp function.

11 years ago * grub-core/script/execute.c (gettext_append): Remove nested functions.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 11:17:52 +0000 (12:17 +0100)]
* grub-core/script/execute.c (gettext_append): Remove nested functions.

11 years ago * grub-core/normal/charset.c (grub_bidi_logical_to_visual): Add
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 10:47:59 +0000 (11:47 +0100)]
* grub-core/normal/charset.c (grub_bidi_logical_to_visual): Add
hook pass-through parameter. All users updated and unnested.

11 years ago * grub-core/commands/loadenv.c (grub_cmd_list_env): Move print_var
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 10:45:01 +0000 (11:45 +0100)]
* grub-core/commands/loadenv.c (grub_cmd_list_env): Move print_var
out of its parent.

11 years ago * grub-core/fs/hfs.c: Remove nested functions.
Vladimir 'phcoder' Serbinenko [Sat, 2 Mar 2013 10:31:00 +0000 (11:31 +0100)]
* grub-core/fs/hfs.c: Remove nested functions.

11 years ago * grub-core/fs/hfsplus.c (grub_hfsplus_btree_iterate_node): Pass
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 13:02:27 +0000 (14:02 +0100)]
* grub-core/fs/hfsplus.c (grub_hfsplus_btree_iterate_node): Pass
the context through.
(grub_hfsplus_iterate_dir): Move nested function out of its parent.

11 years ago * util/grub-editenv.c (list_variables): Move print_var out of its
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 12:52:05 +0000 (13:52 +0100)]
* util/grub-editenv.c (list_variables): Move print_var out of its
parent.

11 years ago * grub-core/kern/emu/hostdisk.c (read_device_map): Remove nested
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 12:46:24 +0000 (13:46 +0100)]
* grub-core/kern/emu/hostdisk.c (read_device_map): Remove nested
function.

11 years ago * grub-core/gentrigtables.c: Make tables const.
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 10:15:09 +0000 (11:15 +0100)]
* grub-core/gentrigtables.c: Make tables const.

11 years ago Remove nested functions from videoinfo iterators.
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 10:11:36 +0000 (11:11 +0100)]
Remove nested functions from videoinfo iterators.

11 years ago * grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Fix compilation
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 09:39:41 +0000 (10:39 +0100)]
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Fix compilation
for 64-bit platforms.

11 years ago * grub-core/disk/efi/efidisk.c: Transform iterate_child_devices into
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 09:37:11 +0000 (10:37 +0100)]
* grub-core/disk/efi/efidisk.c: Transform iterate_child_devices into
a FOR_CHILDREN macro.

11 years ago * grub-core/kern/main.c (grub_set_prefix_and_root): Strip trailing
Vladimir 'phcoder' Serbinenko [Fri, 1 Mar 2013 09:35:51 +0000 (10:35 +0100)]
* grub-core/kern/main.c (grub_set_prefix_and_root): Strip trailing
platform from firmware path.

11 years ago Enable linux16 on non-BIOS systems for i.a. memtest.
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 21:48:41 +0000 (22:48 +0100)]
Enable linux16 on non-BIOS systems for i.a. memtest.

* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Handle hole at 0
correctly.
* grub-core/Makefile.core.def (linux16): Enable on all x86 flavours.

11 years ago * grub-core/kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate):
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 12:16:39 +0000 (13:16 +0100)]
* grub-core/kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate):
Fix end of table condition.

11 years ago * grub-core/lib/arg.c (grub_arg_show_help): Move showargs
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 10:00:59 +0000 (11:00 +0100)]
* grub-core/lib/arg.c (grub_arg_show_help): Move showargs
out of its parent.

11 years ago * grub-core/fs/jfs.c: Remove nested functions.
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 09:51:32 +0000 (10:51 +0100)]
* grub-core/fs/jfs.c: Remove nested functions.

11 years ago * grub-core/fs/minix.c: Remove nested functions.
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 09:50:01 +0000 (10:50 +0100)]
* grub-core/fs/minix.c: Remove nested functions.

11 years ago * grub-core/fs/iso9660.c: Remove nested functions.
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 09:30:35 +0000 (10:30 +0100)]
* grub-core/fs/iso9660.c: Remove nested functions.

11 years ago * grub-core/commands/parttool.c (grub_cmd_parttool): Move show_help out
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 08:43:25 +0000 (09:43 +0100)]
* grub-core/commands/parttool.c (grub_cmd_parttool): Move show_help out
of parent function.

11 years ago * util/grub-fstest.c: Remove nested functions.
Vladimir 'phcoder' Serbinenko [Thu, 28 Feb 2013 08:36:55 +0000 (09:36 +0100)]
* util/grub-fstest.c: Remove nested functions.

11 years ago * grub-core/loader/machoXX.c: Remove nested functions.
Vladimir 'phcoder' Serbinenko [Wed, 27 Feb 2013 19:56:23 +0000 (20:56 +0100)]
* grub-core/loader/machoXX.c: Remove nested functions.

11 years ago Remove nested functions from disk and file read hooks.
Colin Watson [Wed, 27 Feb 2013 16:19:15 +0000 (17:19 +0100)]
Remove nested functions from disk and file read hooks.

* include/grub/disk.h (grub_disk_read_hook_t): New type.
(struct grub_disk): Add read_hook_data member.
* include/grub/file.h (struct grub_file): Likewise.
* include/grub/fshelp.h (grub_fshelp_read_file): Add read_hook_data
argument.

Update all callers.

11 years ago * grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
Andrey Borzenkov [Wed, 27 Feb 2013 09:02:39 +0000 (10:02 +0100)]
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
Fix off by one error in enumerating extended partitions.

11 years ago * grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
Andrey Borzenkov [Tue, 26 Feb 2013 21:45:00 +0000 (22:45 +0100)]
* grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
memory leak if device name is not found.

11 years ago * grub-core/normal/menu_entry.c (update_screen): remove
Andrey Borzenkov [Mon, 25 Feb 2013 21:53:40 +0000 (22:53 +0100)]
* grub-core/normal/menu_entry.c (update_screen): remove
unused variable `off' which caused scroll down arrow to be always shown.

11 years ago * grub-core/normal/menu_entry.c (insert_string): fix off by one
Andrey Borzenkov [Mon, 25 Feb 2013 21:42:25 +0000 (22:42 +0100)]
* grub-core/normal/menu_entry.c (insert_string): fix off by one
access to unallocated memory.

11 years ago * Makefile.util.def: Add partmap/msdos.c to common library.
Andrey Borzenkov [Mon, 25 Feb 2013 21:11:06 +0000 (22:11 +0100)]
* Makefile.util.def: Add partmap/msdos.c to common library.
* include/grub/msdos_partition.h: Add GRUB_PC_PARTITION_TYPE_LDM
* grub-core/disk/ldm.c: Check for existence of
GRUB_PC_PARTITION_TYPE_LDM.

11 years ago * grub-core/normal/misc.c (grub_normal_print_device_info): Use KiB to display
Vladimir 'phcoder' Serbinenko [Mon, 25 Feb 2013 09:45:19 +0000 (10:45 +0100)]
* grub-core/normal/misc.c (grub_normal_print_device_info): Use KiB to display
sizes and display sector size.

11 years ago Implement new command cmosdump.
Vladimir 'phcoder' Serbinenko [Sun, 24 Feb 2013 18:44:17 +0000 (19:44 +0100)]
Implement new command cmosdump.

11 years ago Support Openfirmware disks with non-512B sectors.
Vladimir 'phcoder' Serbinenko [Tue, 19 Feb 2013 08:10:26 +0000 (09:10 +0100)]
Support Openfirmware disks with non-512B sectors.

* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_open): Get the block
size of the disk.
* (grub_ofdisk_get_block_size): New function.
* (grub_ofdisk_prepare): Use the correct block size.
* (grub_ofdisk_read): Likewise.
* (grub_ofdisk_write): Likewise.
* include/grub/ieee1275/ofdisk.h (grub_ofdisk_get_block_size):
New proto.

11 years ago * grub-core/commands/lsacpi.c: Fix types on 64-bit platform.
Vladimir 'phcoder' Serbinenko [Wed, 6 Feb 2013 16:37:29 +0000 (17:37 +0100)]
* grub-core/commands/lsacpi.c: Fix types on 64-bit platform.

11 years ago * grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop
Vladimir 'phcoder' Serbinenko [Mon, 4 Feb 2013 14:36:03 +0000 (15:36 +0100)]
* grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop
on first error.

11 years ago * grub-core/fs/fshelp.c (find_file): Set oldnode to zero after
Vladimir 'phcoder' Serbinenko [Fri, 1 Feb 2013 20:51:09 +0000 (21:51 +0100)]
* grub-core/fs/fshelp.c (find_file): Set oldnode to zero after
freeing it.

11 years ago Implement USBDebug (full USB stack variant).
Vladimir 'phcoder' Serbinenko [Fri, 1 Feb 2013 20:49:29 +0000 (21:49 +0100)]
Implement USBDebug (full USB stack variant).

11 years agoMissing part of last commit
Vladimir 'phcoder' Serbinenko [Fri, 1 Feb 2013 20:48:01 +0000 (21:48 +0100)]
Missing part of last commit

11 years ago * grub-core/commands/lsacpi.c: Show more info. Hide some boring parts
Vladimir 'phcoder' Serbinenko [Fri, 1 Feb 2013 20:45:39 +0000 (21:45 +0100)]
* grub-core/commands/lsacpi.c: Show more info. Hide some boring parts
unless they have unexpected values.

11 years ago * grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
Vladimir 'phcoder' Serbinenko [Fri, 1 Feb 2013 20:43:49 +0000 (21:43 +0100)]
* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
grub_print_error.

11 years ago * grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
Vladimir 'phcoder' Serbinenko [Fri, 1 Feb 2013 20:32:17 +0000 (21:32 +0100)]
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
zero-out of port structure.

11 years ago * grub-core/fs/xfs.c (grub_xfs_read_block): Fix computation in presence
Vladimir 'phcoder' Serbinenko [Wed, 30 Jan 2013 08:22:43 +0000 (09:22 +0100)]
* grub-core/fs/xfs.c (grub_xfs_read_block): Fix computation in presence
of extended attributes.

11 years ago * util/grub-install.in: change misleading comment about
Andrey Borzenkov [Sun, 27 Jan 2013 15:17:21 +0000 (16:17 +0100)]
* util/grub-install.in: change misleading comment about
device.map creation

11 years ago * grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour
Vladimir 'phcoder' Serbinenko [Sun, 27 Jan 2013 15:12:05 +0000 (16:12 +0100)]
* grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour
when menu highlight color isn't set.

11 years ago Improve FreeDOS direct loading support compatibility.
C. Masloch [Sun, 27 Jan 2013 15:07:25 +0000 (16:07 +0100)]
Improve FreeDOS direct loading support compatibility.

* include/grub/i386/relocator.h (grub_relocator16_state):
New member ebp.
* grub-core/lib/i386/relocator.c (grub_relocator16_ebp): New extern
variable.
(grub_relocator16_boot): Handle %ebp.
* grub-core/lib/i386/relocator16.S: Likewise.
* grub-core/loader/i386/pc/freedos.c:
Load BPB to pass kernel which partition to load from.
Check that kernel file is not too large.
Set register dl to BIOS unit number as well.

11 years ago* util/grub-reboot.in (usage): Document the need for
Colin Watson [Tue, 22 Jan 2013 14:28:32 +0000 (14:28 +0000)]
* util/grub-reboot.in (usage): Document the need for
GRUB_DEFAULT=saved.
* util/grub-set-default.in (usage): Likewise.
Reported by: Brian Candler.  Fixes Ubuntu bug #1102925.

11 years ago * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Include sys/types.h rather
Vladimir 'phcoder' Serbinenko [Tue, 22 Jan 2013 06:46:29 +0000 (07:46 +0100)]
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Include sys/types.h rather
than defining WORDS_BIGENDIAN manually.

11 years ago * include/grub/kernel.h (FOR_MODULES): Adjust to preserve alignment
Vladimir 'phcoder' Serbinenko [Mon, 21 Jan 2013 21:44:20 +0000 (22:44 +0100)]
* include/grub/kernel.h (FOR_MODULES): Adjust to preserve alignment
invariants.

11 years ago* grub-core/font/font.c (blit_comb: do_blit): Make static instead of
Colin Watson [Mon, 21 Jan 2013 21:03:26 +0000 (21:03 +0000)]
* grub-core/font/font.c (blit_comb: do_blit): Make static instead of
nested.
(blit_comb: add_device_width): Likewise.

11 years agoRemove nested functions from USB iterators.
Colin Watson [Mon, 21 Jan 2013 21:02:24 +0000 (21:02 +0000)]
Remove nested functions from USB iterators.

* include/grub/usb.h (grub_usb_iterate_hook_t): New type.
(grub_usb_controller_iterate_hook_t): Likewise.
(grub_usb_iterate): Add hook_data argument.
(grub_usb_controller_iterate): Likewise.
(struct grub_usb_controller_dev.iterate): Likewise.

Update all implementations and callers.

11 years agoImprove spkmodem reliability by adding a separator between bytes.
Vladimir 'phcoder' Serbinenko [Mon, 21 Jan 2013 20:05:33 +0000 (21:05 +0100)]
Improve spkmodem reliability by adding a separator between bytes.

11 years ago * grub-core/normal/term.c (print_ucs4_terminal): Don't output right
Vladimir 'phcoder' Serbinenko [Mon, 21 Jan 2013 19:33:38 +0000 (20:33 +0100)]
* grub-core/normal/term.c (print_ucs4_terminal): Don't output right
margin when not needed.

11 years ago Improve spkmomdem reliability by adding a separator between bytes.
Vladimir 'phcoder' Serbinenko [Mon, 21 Jan 2013 19:03:15 +0000 (20:03 +0100)]
Improve spkmomdem reliability by adding a separator between bytes.

11 years ago Make color variables global instead of it being per-terminal.
Vladimir 'phcoder' Serbinenko [Mon, 21 Jan 2013 16:53:41 +0000 (17:53 +0100)]
Make color variables global instead of it being per-terminal.

11 years ago * grub-core/commands/ls.c (grub_ls_print_devices): Add missing
Vladimir 'phcoder' Serbinenko [Mon, 21 Jan 2013 16:46:24 +0000 (17:46 +0100)]
* grub-core/commands/ls.c (grub_ls_print_devices): Add missing
asterisk.