Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 56dfab9a8a143aa486d07eafc3d5a78bff540228
https://github.com/tianocore/edk2/commit/56dfab9a8a143aa486d07eafc3d5a78bff540228
Author: Wei6 Xu <[email protected]>
Date: 2024-10-30 (Wed, 30 Oct 2024)
Changed paths:
M StandaloneMmPkg/Core/Dispatcher.c
M StandaloneMmPkg/Core/StandaloneMmCore.c
M StandaloneMmPkg/Core/StandaloneMmCore.h
M StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c
Log Message:
-----------
StandaloneMmPkg/Core: Shadow Standalone BFV into MMRAM
BFV is outside the MMRAM. Currently, StandaloneMmIplPei uses the API
MmUnblockMemoryRequest() to unblock the access for the BFV. However,
the BFV's memory might be gone after ExitBootService event. If any
access to the memory, unexpected error would happen.
To fix the above issue, StandaloneMmCore should shadow standalone BFV
into MMRAM before processing it, then free the shadowed BFV after MM
driver dispatch is done.
Cc: Ard Biesheuvel <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Signed-off-by: Wei6 Xu <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits