Added three PCDs named PcdFwCfgSelectorAddress, PcdFwCfgDataAddress and PcdFwCfgDmaAddress, all of type PcdsDynamic and PcdDynamicEx, whcih will be used in QemuFwCfgLibMmio version to replace the three global variables in QemuFwCfgLib.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4755 Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Chao Li <lic...@loongson.cn> --- OvmfPkg/OvmfPkg.dec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index fbc81e4c80..c09b92df60 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -390,6 +390,24 @@ [PcdsDynamic, PcdsDynamicEx] # gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|0x0|BOOLEAN|0x69 + # + # This PCD uses to save the fw_cfg selector address when using the QEMU + # as the emulator. + # + gUefiOvmfPkgTokenSpaceGuid.PcdFwCfgSelectorAddress|0x0|UINT64|0x70 + + # + # This PCD uses to save the fw_cfg data address when using the QEMU + # as the emulator. + # + gUefiOvmfPkgTokenSpaceGuid.PcdFwCfgDataAddress|0x0|UINT64|0x71 + + # + # This PCD uses to save the fw_cfg DMA address when using the QEMU + # as the emulator. + # + gUefiOvmfPkgTokenSpaceGuid.PcdFwCfgDmaAddress|0x0|UINT64|0x72 + [PcdsFixedAtBuild, PcdsPatchableInModule] # # This is the physical address where the device tree is expected to be stored -- 2.27.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117905): https://edk2.groups.io/g/devel/message/117905 Mute This Topic: https://groups.io/mt/105573104/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-