• Leif Lindholm's avatar
    efidisk: Respect block_io_protocol buffer alignment · 51f375d6
    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.
    51f375d6
Name
Last commit
Last update
..
arc Loading commit data...
efi Loading commit data...
i386/pc Loading commit data...
ieee1275 Loading commit data...
uboot Loading commit data...
xen Loading commit data...
AFSplitter.c Loading commit data...
ahci.c Loading commit data...
ata.c Loading commit data...
cryptodisk.c Loading commit data...
diskfilter.c Loading commit data...
dmraid_nvidia.c Loading commit data...
geli.c Loading commit data...
host.c Loading commit data...
ldm.c Loading commit data...
loopback.c Loading commit data...
luks.c Loading commit data...
lvm.c Loading commit data...
mdraid1x_linux.c Loading commit data...
mdraid_linux.c Loading commit data...
mdraid_linux_be.c Loading commit data...
memdisk.c Loading commit data...
pata.c Loading commit data...
raid5_recover.c Loading commit data...
raid6_recover.c Loading commit data...
scsi.c Loading commit data...
usbms.c Loading commit data...