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 Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:55:36 +00:00
ComponentName.h Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2011-07-06 03:55:36 +00:00
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 MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PciBusDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PciCommand.c MdeModulePkg: Enhance PCI capability looking up logic to avoid hang 2015-09-15 08:38:16 +00:00
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 MdeModulePkg: Fix a PCI resource dumping bug in PciBusDxe driver 2015-11-03 02:33:41 +00:00
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 MdeModulePkg PciBusDxe: The PCI Bus Driver is updated to support multiple PCI bus ranges for a PCI root bridge. 2011-10-28 09:59:40 +00:00
PciOptionRomSupport.c MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride 2017-10-31 11:11:04 +08:00
PciOptionRomSupport.h Dispatch the UEFI option rom returned from PciPlatform/PciOverride protocol. 2015-01-20 06:45:01 +00:00
PciPowerManagement.c MdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagementFeature() to clear 4 related R/W bits in the PMCSR register, leaving other bits preserved. 2012-04-12 01:49:27 +00:00
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 Print resource allocation/bar programming when PciBus driver does PCI BUS enumeration. 2011-08-04 09:08:09 +00:00
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