audk/MdeModulePkg/Bus/Pci/PciBusDxe
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
..
ComponentName.c
ComponentName.h
PciBus.c MdeModulePkg/PciBusDxe: Fix VS2012 build failure 2018-02-08 12:46:46 +08:00
PciBus.h MdeModulePkg/PciBus: Revert "disable all BME when entering RT" 2017-11-22 18:00:47 +08:00
PciBusDxe.inf MdeModulePkg/PciBus: Revert "disable all BME when entering RT" 2017-11-22 18:00:47 +08:00
PciBusDxe.uni
PciBusDxeExtra.uni
PciCommand.c
PciCommand.h
PciDeviceSupport.c MdeModulePkg/PciBus: Revert "Enable BM on P2P bridges on demand" 2017-11-22 18:00:48 +08:00
PciDeviceSupport.h
PciDriverOverride.c MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride 2017-10-31 11:11:04 +08:00
PciDriverOverride.h MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride 2017-10-31 11:11:04 +08:00
PciEnumerator.c MdeModulePkg/PciBusDxe: Install PciEnumerationComplete after PciIo 2018-01-24 11:40:34 +08:00
PciEnumerator.h MdeModulePkg/PciBusDxe: reference gFullEnumeration in one file 2018-01-24 11:40:30 +08:00
PciEnumeratorSupport.c MdeModulePkg/PciBus: Revert "Enable BM on P2P bridges on demand" 2017-11-22 18:00:48 +08:00
PciEnumeratorSupport.h
PciHotPlugSupport.c MdeModulePkg/PciBusDxe: recognize hotplug-capable PCIe ports 2016-07-13 08:39:29 +02:00
PciHotPlugSupport.h MdeModulePkg/PciBusDxe: recognize hotplug-capable PCIe ports 2016-07-13 08:39:29 +02:00
PciIo.c MdeModulePkg/PciBus: return CPU address for GetBarAttributes 2018-03-15 08:26:06 +00:00
PciIo.h MdeModulePkg: Correct function description for AllocateBuffer 2017-12-12 09:31:54 +08:00
PciLib.c MdeModulePkg/PciBus: Change switch-case to if-else to fix EBC build 2018-01-10 10:28:30 +08:00
PciLib.h
PciOptionRomSupport.c MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride 2017-10-31 11:11:04 +08:00
PciOptionRomSupport.h
PciPowerManagement.c
PciPowerManagement.h
PciResourceSupport.c MdeModulePkg/PciBus: Fix bug that PCI BUS claims too much resource 2017-10-23 15:50:55 +08:00
PciResourceSupport.h
PciRomTable.c MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride 2017-10-31 11:11:04 +08:00
PciRomTable.h MdeModulePkg/PciBus: Refine EFI_PCI_ROM_IMAGE_MAPPING 2017-10-31 11:11:03 +08:00