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(-) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116202): https://edk2.groups.io/g/devel/message/116202 Mute This Topic: https://groups.io/mt/104657663/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-