edk2/MdeModulePkg/Core
Khalid Ali 8f28978843 MdeModulePkg/Core: Increment handle key outside if block
Fixes: #11113

Currently, the global handle key and key inside handle structure is
incremented only when a new handle is allocated for protocol interface
to be installed.

However, when caller already supplies a handle gHandleDatabaseKey never
get incremented.

Move handle key incremental outside if block, just below the else
statement which allows gHandleDatabaseKey to always incremented whether
handle is supplied or not.

Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
2026-03-09 09:19:06 +00:00
..
Dxe MdeModulePkg/Core: Increment handle key outside if block 2026-03-09 09:19:06 +00:00
DxeIplPeim MdeModulePkg: DxeIpl IA32: Use 256 IDT Entries 2026-03-07 03:58:40 +00:00
Pei MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PiSmmCore MdeModulePkg/Core: Move SMI depth tracker below SMI presence check 2026-02-27 06:09:41 +00:00
RuntimeDxe MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00