summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Table/TableQuery.py
diff options
context:
space:
mode:
authorAlbecki, Mateusz <mateusz.albecki@intel.com>2020-02-27 20:25:25 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-05 04:51:59 +0300
commit63fd7f389874081ea37452b1f79ac013d52755e3 (patch)
treeee4d89b6630c671ef8b497f1201b770659608dc4 /BaseTools/Source/Python/Table/TableQuery.py
parent7d48d20a3dbea79f3b33b562c84bdf8decc4b368 (diff)
downloadedk2-63fd7f389874081ea37452b1f79ac013d52755e3.tar.xz
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/Table/TableQuery.py')
0 files changed, 0 insertions, 0 deletions