Introduce Redfish override protocol. If platform likes to do specific operation before system reboot, platform implement this protocol and Redfish feature core driver will call it to notify platform that system is going to reboot. Platform can reject system reboot by returning error status based on platform policy. This protocol can be extneded to support more platform notifications in the future.
Signed-off-by: Nickle Wang <nick...@nvidia.com> Cc: Abner Chang <abner.ch...@amd.com> Cc: Igor Kulchytskyy <ig...@ami.com> Cc: Nick Ramirez <nrami...@nvidia.com> Nickle Wang (2): RedfishClientPkg: introduce Redfish override protocol RedfishClientPkg/RedfishFeatureCoreDxe: notify platform before reboot. RedfishClientPkg/RedfishClientPkg.dec | 2 + .../RedfishFeatureCoreDxe.inf | 1 + .../Protocol/EdkIIRedfishOverrideProtocol.h | 60 +++++++++++++++++++ .../RedfishFeatureCoreDxe.h | 1 + .../RedfishFeatureCoreDxe.c | 25 +++++++- 5 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 RedfishClientPkg/Include/Protocol/EdkIIRedfishOverrideProtocol.h -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110511): https://edk2.groups.io/g/devel/message/110511 Mute This Topic: https://groups.io/mt/102338706/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-