audk/MdeModulePkg/Bus/Pci
Heyi Guo dc080d3b61 MdeModulePkg/PciBus: return CPU address for GetBarAttributes
According to UEFI spec 2.7, PciIo->GetBarAttributes should return host
address (CPU view ddress) rather than device address (PCI view
address), and
device address = host address + address translation offset,
so we subtract translation from device address before returning.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Signed-off-by: Yi Li <phoenix.liyi@huawei.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-03-15 08:26:06 +00:00
..
EhciDxe MdeModulePkg/EhciDxe: call EhcFreeUrb when int-transfer completes 2018-01-16 10:58:02 +08:00
EhciPei MdeModulePkg EhciPei: Minor refinement about IOMMU 2017-11-22 18:37:48 +08:00
IdeBusPei MdeModulePkg/IdeBusPei: Fix undefined behavior in signed left shift 2017-04-13 08:58:51 +08:00
IncompatiblePciDeviceSupportDxe MdeModulePkg/IncompatiblePci: Use MAX_UINTN to match any IDs 2017-02-10 16:52:00 +08:00
NonDiscoverablePciDeviceDxe MdeModulePkg/NonDiscoverable: fix memory override bug 2017-11-08 12:52:04 +08:00
NvmExpressDxe MdeModulePkg/NvmExpressDxe: Fix data buffer not mapped for Write cmd 2018-01-24 13:16:27 +08:00
PciBusDxe MdeModulePkg/PciBus: return CPU address for GetBarAttributes 2018-03-15 08:26:06 +00:00
PciHostBridgeDxe MdeModulePkg/PciHostBridgeDxe: Add support for address translation 2018-03-15 08:26:05 +00:00
PciSioSerialDxe MdeModulePkg/PciSioSerialDxe: Use MAX_UINT8 instead of PCI_BAR_ALL 2017-02-10 16:52:00 +08:00
SataControllerDxe MdeModulePkg/StaControllerDxe: Fix coding style issue 2017-01-05 14:41:42 +08:00
SdMmcPciHcDxe MdeModulePkg/SdMmcPciHcDxe: allow HC capabilities to be overridden 2018-01-30 09:25:13 +00:00
SdMmcPciHcPei MdeModulePkg/SdMmc: Add EDKII SD/MMC stack 2016-03-30 11:27:41 +08:00
UfsPciHcDxe MdeModulePkg/UfsPciHc: Avoid overriding return value in BindingStart 2017-04-25 09:08:33 +08:00
UfsPciHcPei
UhciDxe MdeModulePkg/Bus: Fix typos in comments 2016-10-27 09:11:16 +08:00
UhciPei MdeModulePkg UhciPei: Also check TempPtr against NULL to return error 2017-11-24 09:34:00 +08:00
XhciDxe MdeModulePkg Xhci: Correct description of Timeout param in XhciReg.h 2017-09-11 09:20:44 +08:00
XhciPei MdeModulePkg XhciPei: Minor refinement about IoMmu 2017-11-17 11:14:22 +08:00