Leif Lindholm 51f375d688 efidisk: Respect block_io_protocol buffer alignment
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.
2016-02-27 13:44:59 +01:00
..
2013-04-25 22:42:35 +02:00
2015-01-24 21:50:30 +01:00
2016-01-16 20:37:15 +00:00
2015-01-24 21:47:51 +01:00
2012-03-26 16:10:40 +02:00
2015-06-20 23:38:18 +03:00