Skip to content

Commit

Permalink
RedfishClientPkg/RedfishEventLib: restore TPL level
Browse files Browse the repository at this point in the history
The TPL level in RedfishEventLib is TPL_CALLBACK by its design.
The TPL level was raised temporarily to TPL_NOTIFY in to work-around an
issue.

After the discussion with EDK2 Redfish group, a better solution has been
implemented. As the result, restore TPL level back to TPL_CALLBACK to
follow edk2 design.

SBIOS-1058

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Reviewed-by: Jake Garver <jake@nvidia.com>
Tested-by: Jake Garver <jake@nvidia.com>
  • Loading branch information
nicklela authored and jgarver committed Sep 6, 2023
1 parent 998950e commit 1598e93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CreateReadyToProvisioningEvent (

Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
TPL_CALLBACK,
(NotifyFunction == NULL ? EfiEventEmptyFunction : NotifyFunction),
NotifyContext,
&gEfiRedfishClientFeatureReadyToProvisioningGuid,
Expand Down Expand Up @@ -74,7 +74,7 @@ CreateAfterProvisioningEvent (

Status = gBS->CreateEventEx (
EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
TPL_CALLBACK,
(NotifyFunction == NULL ? EfiEventEmptyFunction : NotifyFunction),
NotifyContext,
&gEfiRedfishClientFeatureAfterProvisioningGuid,
Expand Down

0 comments on commit 1598e93

Please sign in to comment.