edk2/MdeModulePkg/Core/PiSmmCore
Khalid Ali bd8667a7fd MdeModulePkg/Core: Move SMI depth tracker below SMI presence check
Fixes: #11764

Currently, mSmiManageCallingDepth is incremented always whether SMI
handler is present or not. However get decremented only when SMI handler
is found. This causes mSmiManageCallingDepth to grow infinitely as long
as SMI handler isn't present.

Increment mSmiManageCallingDepth only when SMI handler presence is
confirmed.

Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
2026-02-27 06:09:41 +00:00
..
Dependency.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Dispatcher.c MdeModulePkg: Unify EfiFileName Parsing 2025-07-23 12:57:55 +00:00
Handle.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HeapGuard.c MdeModulePkg: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
HeapGuard.h MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01: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: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
Notify.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Page.c MdeModulePkg/Core/PiSmmCore/Page.c: Correct gMemoryMap typo 2026-01-28 14:03:18 +00:00
PiSmmCore.c MdeModulePkg/SmmCore: Modify check for Mm Communicate Buffer without data 2025-06-25 13:11:52 +00:00
PiSmmCore.h MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PiSmmCore.inf MdeModulePkg: PiSmmCore: Added parser of new MM communicate header 2025-04-07 07:42:13 +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: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PiSmmIpl.c MdeModulePkg: Fix recently introduced uninitialized variable usage. 2025-12-02 11:22:46 +01:00
PiSmmIpl.inf MdeModulePkg: PiSmmIpl: Update MessageLength calculation for MmCommunicate 2025-04-07 07:42:13 +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: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
Smi.c MdeModulePkg/Core: Move SMI depth tracker below SMI presence check 2026-02-27 06:09:41 +00:00
SmiHandlerProfile.c MdeModulePkg: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
SmramProfileRecord.c MdeModulePkg: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00