Files
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
..
2025-11-22 18:58:47 +00:00