- 27 Feb, 2016 3 commits
-
-
Leif Lindholm authored
Returned from the OpenProtocol operation, the grub_efi_block_io_media structure contains the io_align field, specifying the minimum alignment required for buffers used in any data transfers with the device. Make grub_efidisk_readwrite() allocate a temporary buffer, aligned to this boundary, if the buffer passed to it does not already meet the requirements. Also sanity check the io_align field in grub_efidisk_open() for power-of-two-ness and bail if invalid.
-
Andrei Borzenkov authored
-
Andrei Borzenkov authored
Map EFI_NO_MEDIA to GRUB_ERR_OUT_OF_RANGE that is ignored by diskfilter. This actually matches pretty close (we obviously attempt to read outside of media) and avoids adding more error codes. This affects only internally initiated scans. If read/write from removable is explicitly requested, we still return an error and text explanation is more clear for user than generic error. Reported and tested by Andreas Loew <Andreas.Loew@gmx.net>
-
- 13 Jan, 2016 1 commit
-
-
Andrei Borzenkov authored
Found by: Coverity scan. CID: 96644
-
- 07 May, 2015 1 commit
-
-
Andrei Borzenkov authored
-
- 25 Jan, 2015 1 commit
-
-
Vladimir Serbinenko authored
-
- 25 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 15 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
existing code would work even if by some reason bogus definition is used by EFI implementations.
-
- 11 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
unaligned u16 rather than u8[2].
-
- 02 Nov, 2013 2 commits
-
-
Vladimir Serbinenko authored
variable.
-
Vladimir Serbinenko authored
reading large extents and decrease amount of blocklist hook calls.
-
- 19 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
CD-ROM in case when it's declared as having subpartitions.
-
- 14 Oct, 2013 1 commit
-
-
Andrey Borzenkov authored
Handle CD-ROMs.
-
- 18 Sep, 2013 1 commit
-
-
Colin Watson authored
Remove no-longer-true __attribute__ ((unused)) on disk parameter.
-
- 29 Apr, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 17 Apr, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
It improves performance in qemu.
-
Andrey Borzenkov authored
-
- 15 Apr, 2013 1 commit
-
-
Peter Jones authored
sectors. Based on patch by Peter Jones.
-
- 05 Apr, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 04 Apr, 2013 1 commit
-
-
Peter Jones authored
Also-By:
Vladimir Serbinenko <phcoder@gmail.com>
-
- 01 Mar, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
a FOR_CHILDREN macro.
-
- 27 Feb, 2013 1 commit
-
-
Andrey Borzenkov authored
memory leak if device name is not found.
-
- 20 Jan, 2013 1 commit
-
-
Colin Watson authored
* include/grub/arc/arc.h (grub_arc_iterate_devs_hook_t): New type. (grub_arc_iterate_devs): Add hook_data argument. * include/grub/ata.h (grub_ata_dev_iterate_hook_t): New type. (struct grub_ata_dev.iterate): Add hook_data argument. * include/grub/device.h (grub_device_iterate_hook_t): New type. (grub_device_iterate): Add hook_data argument. * include/grub/disk.h (grub_disk_dev_iterate_hook_t): New type. (struct grub_disk_dev.iterate): Add hook_data argument. (grub_disk_dev_iterate): Likewise. * include/grub/gpt_partition.h (grub_gpt_partition_map_iterate): Likewise. * include/grub/msdos_partition.h (grub_partition_msdos_iterate): Likewise. * include/grub/partition.h (grub_partition_iterate_hook_t): New type. (struct grub_partition_map.iterate): Add hook_data argument. (grub_partition_iterate): Likewise. * include/grub/scsi.h (grub_scsi_dev_iterate_hook_t): New type. (struct grub_scsi_dev.iterate): Add hook_data argument. Update all callers.
-
- 09 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
even if it's used. (name_devices): Replace #if 0 with #ifdef DEBUG_NAMES. Skip if parent is unused.
-
- 08 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
out of partitions containing other partitions.
-
- 12 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 28 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
incorrect devices. * grub-core/disk/efi/efidisk.c (get_diskname_from_path_real): New function. (get_diskname_from_path): Likewise. (grub_efidisk_get_device_name): Use get_diskname_from_path instead of iterating.
-
- 13 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/bus/cs5536.c (grub_cs5536_smbus_wait): Remove unreachable code. * grub-core/commands/halt.c (grub_cmd_halt): Remove unreachable code. Mark as noreturn. * grub-core/commands/minicmd.c (grub_mini_cmd_exit): Likewise. * grub-core/commands/reboot.c (grub_cmd_reboot): Likewise. * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Remove unreachable code. * grub-core/kern/main.c (grub_main): Mark as noreturn. * grub-core/kern/rescue_reader.c (grub_rescue_run): Likewise. * grub-core/lib/posix_wrap/stdlib.h (abort): Likewise. * grub-core/normal/menu.c (run_menu): Remove unreachable code. * include/grub/kernel.h (grub_main): Mark as noreturn. * include/grub/reader.h (grub_rescue_run): Likewise.
-
- 10 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
incorrect memory usage.
-
- 08 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 02 Jul, 2011 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 15 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 05 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 29 Mar, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 21 Sep, 2010 1 commit
-
-
Colin Watson authored
tpart non-const, so that we can assign to it. (Since this is a typedef, the constness refers to the pointer rather than what it points to.)
-
- 14 Sep, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
All users updated. * disk/loopback.c (grub_loopback): Remove has_partitions. All users updated. (options): Remove partitions. All users updated. * util/grub-fstest.c (fstest): Don't pass "-p" to loopback. * util/i386/pc/grub-setup.c (setup): copy partition table only when actual partition table is found.
-
- 09 Sep, 2010 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 06 May, 2010 1 commit
-
-
BVK Chaitanya authored
-