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 <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Nick Ramirez <nramirez@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-