summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds/RuleComplexFile.py
diff options
context:
space:
mode:
authorHeyi Guo <heyi.guo@linaro.org>2018-02-27 19:53:34 +0800
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-03-15 08:26:05 +0000
commit5bb1866e5383f3f54252d9838c2dd53759ffc4af (patch)
tree0480b9e7c34582c51f5a3b4c98b070ce1ce1b6cc /BaseTools/Source/Python/GenFds/RuleComplexFile.py
parente33305ea6c6a7c9946ca4ec60aa270764a91ab8f (diff)
downloadedk2-5bb1866e5383f3f54252d9838c2dd53759ffc4af.tar.gz
edk2-5bb1866e5383f3f54252d9838c2dd53759ffc4af.tar.bz2
edk2-5bb1866e5383f3f54252d9838c2dd53759ffc4af.zip
MdeModulePkg/PciHostBridgeLib.h: add address Translation
Add Translation field to PCI_ROOT_BRIDGE_APERTURE. Translation is used to represent the difference between device address and host address, if they are not the same on some platforms. In UEFI 2.7, "Address Translation Offset" is "Offset to apply to the Starting address to convert it to a PCI address". This means: Translation = device address - host address So we also use the above calculation for this Translation field to keep consistent. 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/GenFds/RuleComplexFile.py')
0 files changed, 0 insertions, 0 deletions