mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
If a secure partition on AArch64 platforms would consume extended time to operate with peripherals, it might elect to yield the control back to normal world and expect the normal world to callback after hinted period of time. This change adds the FFA_YIELD handling from ArmFfaLib to support long operations from secure partitions. Timeout arguments are ignored because systems in this context cannot benefit from the timeout period. Treating FFA_YIELD like FFA_INTERRUPT and expecting the caller to invoke FFA_RUN is the least disruptive approach while achieving the intended behavior. This was tested on proprietary hardware platforms and booted to Windows. Signed-off-by: Kun Qin <kun.qin@microsoft.com> |
||
|---|---|---|
| .. | ||
| ArmFfaCommon.c | ||
| ArmFfaCommon.h | ||
| ArmFfaDxeLib.c | ||
| ArmFfaDxeLib.inf | ||
| ArmFfaPeiLib.c | ||
| ArmFfaPeiLib.inf | ||
| ArmFfaRxTxMap.c | ||
| ArmFfaRxTxMap.h | ||
| ArmFfaSecLib.c | ||
| ArmFfaSecLib.inf | ||
| ArmFfaSecRxTxMap.c | ||
| ArmFfaStandaloneMmCoreLib.inf | ||
| ArmFfaStandaloneMmLib.c | ||
| ArmFfaStandaloneMmLib.inf | ||
| ArmFfaStandaloneMmRxTxMap.c | ||