mirror of https://github.com/acidanthera/audk.git
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> |
||
---|---|---|
.. | ||
ComponentName.c | ||
ComponentName.h | ||
PciBus.c | ||
PciBus.h | ||
PciBusDxe.inf | ||
PciBusDxe.uni | ||
PciBusDxeExtra.uni | ||
PciCommand.c | ||
PciCommand.h | ||
PciDeviceSupport.c | ||
PciDeviceSupport.h | ||
PciDriverOverride.c | ||
PciDriverOverride.h | ||
PciEnumerator.c | ||
PciEnumerator.h | ||
PciEnumeratorSupport.c | ||
PciEnumeratorSupport.h | ||
PciHotPlugSupport.c | ||
PciHotPlugSupport.h | ||
PciIo.c | ||
PciIo.h | ||
PciLib.c | ||
PciLib.h | ||
PciOptionRomSupport.c | ||
PciOptionRomSupport.h | ||
PciPowerManagement.c | ||
PciPowerManagement.h | ||
PciResourceSupport.c | ||
PciResourceSupport.h | ||
PciRomTable.c | ||
PciRomTable.h |