summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorAlbecki, Mateusz <mateusz.albecki@intel.com>2020-02-28 01:25:25 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-05 01:51:59 +0000
commit63fd7f389874081ea37452b1f79ac013d52755e3 (patch)
treeee4d89b6630c671ef8b497f1201b770659608dc4 /BaseTools/Source/Python
parent7d48d20a3dbea79f3b33b562c84bdf8decc4b368 (diff)
downloadedk2-63fd7f389874081ea37452b1f79ac013d52755e3.zip
edk2-63fd7f389874081ea37452b1f79ac013d52755e3.tar.gz
edk2-63fd7f389874081ea37452b1f79ac013d52755e3.tar.bz2
MdeModulePkg/SdMmcPciHcDxe: Do not map memory for non DMA transfer
Driver code used to map memory for DMA transfer even if host doesn't support DMA. This is causing memory corruption when driver transfers data using PIO. This change refactors the code to skip call to PciIo->Map for non DMA transfers. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Marcin Wojtas <mw@semihalf.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com> Tested-by: Hao A Wu <hao.a.wu@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions