diff options
| author | Yeoreum Yun <yeoreum.yun@arm.com> | 2026-09-04 14:29:02 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-30 06:44:56 +0300 |
| commit | 1e550744fdf02d897ef5f37c6963675da7d732e4 (patch) | |
| tree | a850880faf79ef5c6469fe86253fd6e3a148342e /BaseTools/Source/Python/Workspace/MetaFileTable.py | |
| parent | 352b420a868b5258cf24462ae25e2221b2346e3c (diff) | |
| download | edk2-1e550744fdf02d897ef5f37c6963675da7d732e4.tar.xz | |
ArmPkg/Drivers: allocate mGuidedEventContext once
mGuidedEventContext does not need to be allocated and freed for every
request, as doing so introduces the possibility of failure due to an
out-of-memory condition.
Instead of allocating and freeing it in PiMmStandaloneMmCpuDriverEntry(),
allocate mGuidedEventContext once in the Standalone MM CPU driver's entry
point. If the allocation fails, fail the Standalone MM initialization.
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileTable.py')
0 files changed, 0 insertions, 0 deletions
