summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/AutoGen
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2025-10-29 18:55:05 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-10-30 06:26:29 +0300
commitd145aef952ebbce9464e9f9d177912f6e67bea7f (patch)
treee19130be4354fc683af34b3894847625caea75e2 /BaseTools/Source/Python/AutoGen
parent302cc88ab36ffb96622987a55f4abc22a4751fed (diff)
downloadedk2-d145aef952ebbce9464e9f9d177912f6e67bea7f.tar.xz
MdeModulePkg/Core/Dxe: Fix TPL inversion from DEBUG() message
PR #11443 introduced a regression by adding a DEBUG() message when the lock for events is acquired and that lock is at TPL_HIGH_LEVEL. If DEBUG() messages are routed through Report Status Code, and the Report Status Code Protocol has not been located yet, then a call to gBS->LocateProtocol() is made and that call raises TPL to TPL_NOTIFY which causes a TPL inversion. The event lock is used to atomically update gEventSignalQueue. There is no need for the DEBUG() message to within the event lock scope. The fix is to scope the event lock to only the InsertHeadList() call to update gEventSignalQueue. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen')
0 files changed, 0 insertions, 0 deletions