summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@amd.com>2023-10-05 21:15:33 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-10-26 15:39:01 +0000
commitfe43b426762c31c2f1958444d3aca388ec8d4702 (patch)
treed89f4fee5d6c2ddb53a33bb19ac6e4e2b5936e45
parent9a38ddc80656a83337938312e9cd93cd335a678f (diff)
downloadedk2-fe43b426762c31c2f1958444d3aca388ec8d4702.tar.gz
edk2-fe43b426762c31c2f1958444d3aca388ec8d4702.tar.bz2
edk2-fe43b426762c31c2f1958444d3aca388ec8d4702.zip
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 <abner.chang@amd.com> Cc: Abdul Lateef Attar <AbdulLateef.Attar@amd.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Nickle Wang <nicklew@nvidia.com>
-rw-r--r--MdeModulePkg/Include/Library/IpmiCommandLib.h17
1 files changed, 17 insertions, 0 deletions
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
//