audk/MdeModulePkg/Core/PiSmmCore
Zhiguang Liu 17b2872200 MdeModulePkg/SMM: Disallow unregister SMI handler in other SMI handler
In last patch, we add code support to unregister SMI handler inside
itself. However, the code doesn't support unregister SMI handler
insider other SMI handler. While this is not a must-have usage.
So add check to disallow unregister SMI handler in other SMI handler.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Message-Id: <20240301030133.628-3-zhiguang.liu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2024-03-01 18:47:27 +00:00
..
Dependency.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Dispatcher.c MdeModulePkg/SmmCore: Add perf-logging for SmmDriverDispatchHandler 2023-06-21 04:37:17 +00:00
Handle.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HeapGuard.c MdeModulePkg: Remove other attribute protection in UnsetGuardPage 2023-06-30 11:07:40 +05:30
HeapGuard.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
InstallConfigurationTable.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Locate.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryAttributesTable.c MdeModulePkg: Update DumpImageRecord() in ImagePropertiesRecordLib 2023-11-27 18:55:18 +00:00
Notify.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Page.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmmCore.c MdeModulePkg/SmmCore: Perf-log PlatformHookBefore/AfterSmmDispatch 2023-06-21 04:37:17 +00:00
PiSmmCore.h MdeModulePkg/PiSmmCore: SmmEntryPoint underflow (CVE-2021-38578) 2022-11-04 01:58:20 +00:00
PiSmmCore.inf MdeModulePkg: Transition SMM MAT Logic to Use ImagePropertiesRecordLib 2023-11-27 18:55:18 +00:00
PiSmmCore.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PiSmmCoreExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PiSmmCorePrivateData.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmmIpl.c MdeModulePkg/PiSmmCore: SmmEntryPoint underflow (CVE-2021-38578) 2022-11-04 01:58:20 +00:00
PiSmmIpl.inf MdeModulePkg/PiSmmCore: SmmEntryPoint underflow (CVE-2021-38578) 2022-11-04 01:58:20 +00:00
PiSmmIpl.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PiSmmIplExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Pool.c MdeModulePkg: PiSmmCore: Inspect memory guarded with pool headers 2022-05-13 00:51:41 +00:00
Smi.c MdeModulePkg/SMM: Disallow unregister SMI handler in other SMI handler 2024-03-01 18:47:27 +00:00
SmiHandlerProfile.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmramProfileRecord.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00