diff options
author | Heyi Guo <heyi.guo@linaro.org> | 2018-02-08 11:13:27 +0800 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-03-15 08:26:05 +0000 |
commit | c03860d052335be405d45d9b6bb19de0d4693951 (patch) | |
tree | 25e6176234cb9f8c0266c01fd086f976a5217f9d /BaseTools/Source/Python/Ecc/Configuration.py | |
parent | 74d0a339b8324a0533c7d444ef247a025409ec3a (diff) | |
download | edk2-c03860d052335be405d45d9b6bb19de0d4693951.tar.gz edk2-c03860d052335be405d45d9b6bb19de0d4693951.tar.bz2 edk2-c03860d052335be405d45d9b6bb19de0d4693951.zip |
MdeModulePkg/PciBus: convert host address to device address
According to UEFI spec 2.7, PciRootBridgeIo->Configuration() should
return host address (CPU view ddress) rather than device address
(PCI view address), so in function GetMmioAddressTranslationOffset we
need to convert the range to device address before comparing.
And device address = host address + translation offset.
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>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Configuration.py')
0 files changed, 0 insertions, 0 deletions