From fb759b8b736e0c83adf590be6be8e4c582d0dd84 Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Mon, 11 Oct 2021 21:25:49 +0800 Subject: MdePkg: Add PcdPciIoTranslation PCD This PCD is moved from ArmPkg that is used to set the base address of PCI MMIO window that provides I/O access. We relocate this PCD because this PCD is common to ARM and RSIC-V arch. Signed-off-by: Abner Chang Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sami Mujawar Cc: Gerd Hoffmann Cc: Daniel Schaefer Cc: Sunil V L Reviewed-by: Liming Gao Reviewed-by: Daniel Schaefer Reviewed-by: Sunil V L Acked-by: Gerd Hoffmann --- MdePkg/MdePkg.dec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'MdePkg') diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 9cdc915eba..96372d4879 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2305,6 +2305,10 @@ # @Prompt PCI Express Base Address. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000|UINT64|0x0000000a + ## This value is used to set the base address of PCI MMIO window that provides I/O access. + # @Prompt PCI I/O Memory Map Window Base Address. + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0|UINT64|0x00000040 + ## This value is used to set the size of PCI express hierarchy. The default is 256 MB. # @Prompt PCI Express Base Size. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseSize|0x10000000|UINT64|0x0000000f -- cgit v1.2.3