diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-27 14:52:05 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-29 18:04:25 +0200 |
commit | 3dece14502b972c6b68525c1d7dba9088611da92 (patch) | |
tree | a2f11339ff91171cfd115cdc619a8d4bc9557bf9 /ArmPlatformPkg/PrePi | |
parent | d7c06eb030c928d7f1364899e37d6449c13bcbd3 (diff) | |
download | edk2-3dece14502b972c6b68525c1d7dba9088611da92.tar.gz edk2-3dece14502b972c6b68525c1d7dba9088611da92.tar.bz2 edk2-3dece14502b972c6b68525c1d7dba9088611da92.zip |
ArmPkg: implement CpuIo2 protocol driver specific for PCI
The CpuIo2 protocol is required by the generic PciHostBridgeDxe driver,
which relies on it to back its own I/O and MMIO operations.
Since ARM has no native I/O port equivalent, such accesses can only
originate from PCI drivers, and the PCI I/O space is translated to MMIO
in this case.
So we can implement this protocol using MMIO operations only, and take
the PCI I/O translation offset into account when performing I/O port
accesses.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPlatformPkg/PrePi')
0 files changed, 0 insertions, 0 deletions