tianocore / edk2-redfish-client

Utilizes the EFI protocols provided by EDK2 Redfish Foundation to communicate with the Redfish service for creating, consuming, and updating the Redfish properties which are managed by firmware.
Other
6 stars 5 forks source link

RedfishClientPkg/RedfishFeatureCoreDxe: fix Redfish event issue. #63

Closed nicklela closed 11 months ago

nicklela commented 11 months ago

RedfishFeatureDriverStartup is callback function at TPL_CALLBACK level. In this function, Redfish events are signaled. However, Redfish events are created in TPL_CALLBACK level too. As the result, Redfish events cannot be invoked in desired sequence. Decrease the TPL to TPL_APPLICATION level inside RedfishFeatureDriverStartup and restore it to TPL_CALLBACK level before leaving this function. Now, Redfish events are called in correct sequence.

Cc: Abner Chang abner.chang@amd.com Cc: Igor Kulchytskyy igork@ami.com Cc: Nick Ramirez nramirez@nvidia.com