MdeModulePkg: Make PcdFfaTxRxPageCount a PcdsFixedAtBuild PCD

The PcdFfaTxRxPageCount can never be changed dynamically
and is configured at build time to specify the size of
the Rx/Tx buffers.

Therefore, make PcdFfaTxRxPageCount a PcdsFixedAtBuild PCD.

Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
This commit is contained in:
Levi Yun
2025-05-31 14:18:25 +01:00
committed by mergify[bot]
parent b336d9b87a
commit bbd810221e

View File

@@ -1211,6 +1211,10 @@
# @Prompt Defines the page allocation for the MM communication buffer; default is 128 pages (512KB).
gEfiMdeModulePkgTokenSpaceGuid.PcdMmCommBufferPages|128|UINT32|0x30001061
## This PCD holds the number of pages for the FFA TX/RX buffer.
# @Prompt FFA TX/RX Buffer Page Count
gEfiMdeModulePkgTokenSpaceGuid.PcdFfaTxRxPageCount|1|UINT64|0x30001062
[PcdsFixedAtBuild, PcdsPatchableInModule]
## Dynamic type PCD can be registered callback function for Pcd setting action.
# PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function
@@ -2368,10 +2372,6 @@
# @Prompt FFA RX Buffer Address
gEfiMdeModulePkgTokenSpaceGuid.PcdFfaRxBuffer|0x00|UINT64|0x0003000A
## This dynamic PCD holds the number of pages for the FFA TX/RX buffer.
# @Prompt FFA TX/RX Buffer Page Count
gEfiMdeModulePkgTokenSpaceGuid.PcdFfaTxRxPageCount|1|UINT64|0x0003000B
## This dynamic PCD holds the information if the FFA exit boot event is registered.
# @Prompt FFA Exit Boot Event Registered
gEfiMdeModulePkgTokenSpaceGuid.PcdFfaExitBootEventRegistered|FALSE|BOOLEAN|0x0003000C