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 <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Gerd Hoffmann <[email protected]> Signed-off-by: Chao Li <[email protected]> --- 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: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
