Hi Mike and Liming, Can you please review this patch? Thank you! Thanks, Chao On 2023/12/12 21:12, Chao Li wrote: > Some ARCH need to use MMIO to access PCI IO, such as ARM AARCH64 RISC-V > and LOONGARCH64. In some drivers, a PCD value is added to determine > whether to use MMIO. > > BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=4584 > > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Signed-off-by: Chao Li > --- > MdePkg/MdePkg.dec | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec > index ac54338089..55f5230c31 100644 > --- a/MdePkg/MdePkg.dec > +++ b/MdePkg/MdePkg.dec > @@ -2018,6 +2018,12 @@ > # @Prompt Validate ORDERED_COLLECTION structure > gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|FALSE|BOOLEAN|0x0000002a > > + ## Indicates if PCI IO translation is used. > + # TRUE - PCI IO translation is enable. > + # FALSE - PCI IO translation is disable. > + # @Prompt Pci Io Translation Is Enabled. > + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslationIsEnabled|FALSE|BOOLEAN|0x00000043 > + > [PcdsFixedAtBuild] > ## Status code value for indicating a watchdog timer has expired. > # EFI_COMPUTING_UNIT_HOST_PROCESSOR | EFI_CU_HP_EC_TIMER_EXPIRED -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112724): https://edk2.groups.io/g/devel/message/112724 Mute This Topic: https://groups.io/mt/103261681/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-