diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2016-07-26 18:10:22 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2017-04-06 10:33:34 +0100 |
commit | b9b663145f20d703f85e79568ad1c1ca05c3a88d (patch) | |
tree | 0d30e095ca140c38a651e4837b6aaddc05702573 /IntelFspWrapperPkg/Library | |
parent | a391e5925dc3e03218ee5a011807906fc09acfb7 (diff) |
MdeModulePkg, AtaBusDxe: Bounce buffer IO operations if unalignedHEADarmlt-20170424-001armlt-20170412-001armlt-17.04master17.04
BlockIo Protocol devices specify an a buffer alignment requirement in
their media descriptors. This should be honored by users of the protocol.
In cases where the user of the protocol (grub2 in this case) fail to
correctly align their buffers, IO failures occur. Apparently this has been
known for a while as numerous other BlockIo protocol providers in edk2
bounce IO operations rather than simply allowing them to fail.
This patch adds bounce buffer logic to the AtaBusDxe. This logic is only
triggered if the buffers are not correctly aligned. It assures that
a wide range of adapters work regardless of buggy EFI applications.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Diffstat (limited to 'IntelFspWrapperPkg/Library')
0 files changed, 0 insertions, 0 deletions