On 3/1/24 04:01, Zhiguang Liu wrote:
> This patch set is to support to unregister SMI handler inside SMI handler,
> also add check to not allow unregister SMI handler in other SMI handler.
> This patch set also have the same logic in StandaloneMmPkg.
> Because no change on the first patch, I kept the R-B for it.
>
> V3:
> Minor change on patch #2 and patch #4:
> gCurrentSmiHandler -> mCurrentSmiHandler
> change ASSERT to return EFI_INVALID_PARAMETER
>
> Zhiguang Liu (4):
> MdeModulePkg/SMM: Support to unregister SMI handler inside SMI handler
> MdeModulePkg/SMM: Disallow unregister SMI handler in other SMI handler
> StandaloneMmPkg: Support to unregister MMI handler inside MMI handler
> StandaloneMmPkg: Disallow unregister MMI handler in other MMI handler
>
> MdeModulePkg/Core/PiSmmCore/Smi.c | 37 ++++++++++++++++++++++-------
> StandaloneMmPkg/Core/Mmi.c | 39 +++++++++++++++++++++++--------
> 2 files changed, 57 insertions(+), 19 deletions(-)
>
Merged as
3 ae1079b386a5 MdeModulePkg/SMM: Support to unregister SMI handler inside
SMI handler
4 17b28722008e MdeModulePkg/SMM: Disallow unregister SMI handler in other
SMI handler
5 049ff6c39c73 StandaloneMmPkg: Support to unregister MMI handler inside
MMI handler
6 2ec8f0c6407f StandaloneMmPkg: Disallow unregister MMI handler in other
MMI handler
via <https://github.com/tianocore/edk2/pull/5432>.
Laszlo
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116282): https://edk2.groups.io/g/devel/message/116282
Mute This Topic: https://groups.io/mt/104657663/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-