public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Chang, Abner via groups.io" <abner.chang=amd.com@groups.io>
To: <devel@edk2.groups.io>
Cc: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>,
	Jian J Wang <jian.j.wang@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>
Subject: [edk2-devel] [PATCH 2/2] MdeModulePkg/Include: API of IPMI Get System Interface Capabilities
Date: Tue, 10 Oct 2023 16:35:39 +0800	[thread overview]
Message-ID: <20231010083539.1464-2-abner.chang@amd.com> (raw)
In-Reply-To: <20231010083539.1464-1-abner.chang@amd.com>

From: Abner Chang <abner.chang@amd.com>

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>
---
 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 7edaf36cbe5..a84124c01e9 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
 //
-- 
2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109480): https://edk2.groups.io/g/devel/message/109480
Mute This Topic: https://groups.io/mt/101870987/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2023-10-10  8:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10  8:35 [edk2-devel] [PATCH 1/2] MdePkg/Include: Definitions of IPMI Get System Interface Capabilities Chang, Abner via groups.io
2023-10-10  8:35 ` Chang, Abner via groups.io [this message]
2023-10-11  1:54   ` [edk2-devel] 回复: [PATCH 2/2] MdeModulePkg/Include: API " gaoliming via groups.io
2023-10-11  1:53 ` [edk2-devel] 回复: [PATCH 1/2] MdePkg/Include: Definitions " gaoliming via groups.io
     [not found] ` <178CB21B63B8C29F.5378@groups.io>
2023-10-18  4:49   ` [edk2-devel] [PATCH 2/2] MdeModulePkg/Include: API " Chang, Abner via groups.io
2023-10-26 12:48   ` Nickle Wang via groups.io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231010083539.1464-2-abner.chang@amd.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox