]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add PcdPciMmio32(64)Translation PCDs
authorAbner Chang <abner.chang@hpe.com>
Mon, 11 Oct 2021 13:35:49 +0000 (21:35 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 14 Oct 2021 06:25:52 +0000 (06:25 +0000)
PcdPciMmio32Translation and PcdPciMmio64Translation PCDs are added
to MdePkg as the common PCDs for ARM and RSIC-V archs.

The one under ArmPkg is removed in the next patch.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Daniel Schaefer <daniel.schaefer@hpe.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
MdePkg/MdePkg.dec

index 96372d4879de72a66426b92c772dda758888ca6a..8b18415b107a03b11dc984341bb788cf9cd6e0ea 100644 (file)
   # @Prompt PCI I/O Memory Map Window Base Address.\r
   gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0|UINT64|0x00000040\r
 \r
+  ## This value is used for the 32-bit PCI memory map I/O base address translation.\r
+  # @Prompt 32-bit PCI Memory Map I/O Base Address translation.\r
+  gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation|0x0|UINT64|0x00000041\r
+\r
+  ## This value is used for the 64-bit PCI memory map I/O base address translation.\r
+  # @Prompt 64-bit PCI Memory Map I/O Base Address translation.\r
+  gEfiMdePkgTokenSpaceGuid.PcdPciMmio64Translation|0x0|UINT64|0x00000042\r
+\r
   ## This value is used to set the size of PCI express hierarchy. The default is 256 MB.\r
   # @Prompt PCI Express Base Size.\r
   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0x10000000|UINT64|0x0000000f\r