diff options
| author | kuqin12 <42554914+kuqin12@users.noreply.github.com> | 2025-09-12 08:02:42 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-10-31 10:26:12 +0300 |
| commit | 94065db3dc726124b5f607896431e47b36707c90 (patch) | |
| tree | 97b1e3f40a267c4a1f8721cfa45e63b191f77faf /BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | |
| parent | ed79e67369982b277b19ea8a83369fd3f27613b9 (diff) | |
| download | edk2-94065db3dc726124b5f607896431e47b36707c90.tar.xz | |
MdeModulePkg: ArmFfaLib: Add FFA_YIELD handling
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/ModuleAutoGen.py')
0 files changed, 0 insertions, 0 deletions
