grub/grub-core
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
..
2016-01-22 14:10:30 +01:00
2015-01-27 17:17:58 +01:00
2016-02-17 17:56:41 +01:00
2016-01-12 21:52:50 +03:00
2015-02-26 22:10:09 +01:00
2016-02-12 16:07:57 +01:00
2016-02-25 22:38:52 +03:00
2016-02-12 12:34:54 +01:00
2016-02-22 20:05:54 +01:00
2016-02-26 11:37:47 +01:00
2016-01-01 12:06:40 +03:00
2013-04-27 02:00:16 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00
2013-04-11 21:12:46 +02:00