From fe43b426762c31c2f1958444d3aca388ec8d4702 Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Thu, 5 Oct 2023 21:15:33 +0800 Subject: MdeModulePkg/Include: API of IPMI Get System Interface Capabilities Define the API for IPMI Get System Interface Capabilities command (0x57) Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Jian J Wang Cc: Liming Gao Reviewed-by: Nickle Wang --- MdeModulePkg/Include/Library/IpmiCommandLib.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/MdeModulePkg/Include/Library/IpmiCommandLib.h b/MdeModulePkg/Include/Library/IpmiCommandLib.h index 7edaf36cbe..06bea6131a 100644 --- a/MdeModulePkg/Include/Library/IpmiCommandLib.h +++ b/MdeModulePkg/Include/Library/IpmiCommandLib.h @@ -249,6 +249,23 @@ IpmiGetChannelInfo ( OUT UINT32 *GetChannelInfoResponseSize ); +/** + This function gets system interface capability + + @param[in] InterfaceCapabilityRequest Get system interface capability request. + @param[out] InterfaceCapabilityResponse The response of system interface capability. + + @retval EFI_SUCCESS Command is sent successfully. + @retval Other Failure. + +**/ +EFI_STATUS +EFIAPI +IpmiGetSystemInterfaceCapability ( + IN IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_REQUEST *InterfaceCapabilityRequest, + OUT IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_RESPONSE *InterfaceCapabilityResponse + ); + // // IPMI NetFnTransport // -- cgit v1.2.3