From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 8FE7E740032 for ; Wed, 18 Oct 2023 04:52:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ERIx0Gc1dc+0JZhMpNbEGQ6ZofSTTJngYPReqjmPuP0=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1697604765; v=1; b=u1Nw0vVFNK9WmomaHbpmBa3dzRlY54tdehXxFts5c27VKUHVW5/+aymk1h3SOFEJAX44LvkN 1ErMWo9uXBiW5CRbmiFavggbCpz0Gseh1O8DZvxPedXihA4Rw3U7yYv2iarsCD0p3UYxRThuZ6S NSSVc3gU6pIvDvSCx2lv5QCo= X-Received: by 127.0.0.2 with SMTP id 2033YY7687511xl1BFHUDHeI; Tue, 17 Oct 2023 21:52:45 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.83]) by mx.groups.io with SMTP id smtpd.web11.274829.1697604764127661320 for ; Tue, 17 Oct 2023 21:52:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eWEsBbFkdkfPbihtVKQfstnJh8UscVBA8j9b4NF2y+iP/Wo+OLjhenKcHxUZJZh8rHLcyZqTgKQjomsf71Qdm8rcIsfErrK2yZkSdzwbunbqRlA2l0jXVjPzFRnXe1BwS5YyHmq+XVkn32CwdF+Uo7UCx7VLTci30NmVuPnKseq3T+++28/QAmJ9ZbDGfwFS39b4zjlu1EFbK2l0FDDCFwzNHUzs6hl6BWhjqR+PyE/DGVy1oZPoIDn+yYVLuPEt6MLC/KzYAWR9V4s+UaWt5t7SCPqSafKMmdZj1vXKuykXGFuAURZ+Y1dv5tddLU7HGLQSaYTQU7e2kx0ApzIGOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yEH9nVOe/sGFpkix3GYkI9+rY3vNBakpYDJLWhOaqH8=; b=YHaq6wycX8gPnujdVcjOnTfwZ0vjT12rjsYzH7gpS9+Aa7YAZBlObuGl8kKz5LgQsZv8saMlg3Hj6Ary0N6XL5EIXhOw8POYF5U4y5FO/WW4JSXZ0370q6jlT7ab5RgnaSQ6Q6hbBMnvJ8tGV4D5ok1PtcMHp1WZK2Jo0k5wWm/k31la+ki02Y1NyEycaskziS04VYxpRhAOFqusumpw5q7/Fu7eubhd3K/wAP+rLGD3wGlZcqY/HlkRbEDK/ZI//s155EN92GXA2wDYl6IyIBqwqvXbaQKiISAKrd9M5gzm42EnCx5wNbA0HYjCSz39Oo2O4u4nmqJfj0LztYGBzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none X-Received: from MN2PR12MB3966.namprd12.prod.outlook.com (2603:10b6:208:165::18) by BY5PR12MB4100.namprd12.prod.outlook.com (2603:10b6:a03:200::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Wed, 18 Oct 2023 04:52:41 +0000 X-Received: from MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::345a:6816:7343:3e6b]) by MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::345a:6816:7343:3e6b%6]) with mapi id 15.20.6907.021; Wed, 18 Oct 2023 04:52:40 +0000 From: "Chang, Abner via groups.io" To: "devel@edk2.groups.io" , "Chang, Abner" CC: "Attar, AbdulLateef (Abdul Lateef)" , Isaac Oram , Nickle Wang , Nate DeSimone , Liming Gao Subject: Re: [edk2-devel] [edk2-platforms][PATCH 2/2] OutOfBandManagement/IpmiFeaturePKg: Remove IpmiCommandLib.h from IpmiFeaturePkg Thread-Topic: [edk2-devel] [edk2-platforms][PATCH 2/2] OutOfBandManagement/IpmiFeaturePKg: Remove IpmiCommandLib.h from IpmiFeaturePkg Thread-Index: AQHZ+1L9z8DqZjyq+0G/Q4BBjCa/Y7BPBtzA Date: Wed, 18 Oct 2023 04:52:40 +0000 Message-ID: References: <20231010082223.1421-1-abner.chang@amd.com> <178CB15EC6448604.24994@groups.io> In-Reply-To: <178CB15EC6448604.24994@groups.io> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=685fa825-2f3f-48c3-93dd-682c8fb07ca5;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-10-18T04:51:28Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR12MB3966:EE_|BY5PR12MB4100:EE_ x-ms-office365-filtering-correlation-id: 7957c335-aa94-4d1c-12fd-08dbcf960f1c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: E8JSkXXEJKuN++RTktZWBnBW+0sSAgbCQGgD0iSryrzjVTh0d5TxgUiZ1E9O6uy/hhpZJWKUV200J7HY8oqw7utfpUzrz/la7Cjm2ZUkW4vpGEDc3qeWXK0M+senK3UQ8eq3VPEXeWq0wvaUzjQVkoKTIPM4uAdOgZczzYjdejAEnavvCSoLtokMoog1sxNM88ePhtWllXcrT8kTTc1bpsUTluQznn34S0KiQxuEbI1hucy5Hh1ui/6j+h/cpJ9Lzp+A6XsxhgmlG/14r8EerEijrwYfIijsAm10YHU+8ZT9RW9HvuXBpPhwPL6tRJWPhLuA7FL88orTIi4OJw3/qROXZaI50RzDHmnSkZnBCUzUduU6kifNi1dvKb+AzZFf2GY8cRqeE/8Wop1pDe9DsCAFSYtOfYdIxc46JKsDFuXKncha2jlD520y7jDO22DgVLqbrIstc1/H60QJLIDyWkJ6rle1c/dzRC+c/NJ8eeT5SyXKGzW/1V8XdRMGUmcU5TgHPaq0tQ9kYc+9Y+zqAw8sqV/fay3mEnRUNBRah9aAHCTLruRWpnJTw/F5wOJZGjpRIyjm66bb4+wCONfVOSC05eszNJmIlxDf+xbCE6U= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?555af6Dgdv4gJrfIXqKxQqFu4m21/powBKuPiRIJdCW7/RSWvcaw54qr2dfe?= =?us-ascii?Q?Niz5Ou0m8liOlGbvPkCwhxbbmudCqVqxuDFLLafWC2DOS8PfRoUWaJ+ytJVk?= =?us-ascii?Q?f+V3i0V/MK/LwV0F7hY2nq4ezcD83lXriqKgRq5bsPb4tPRkSD6Y0WG4wLf1?= =?us-ascii?Q?Z95/nqTNnRN2gcS3vwIfSvqqJjHrICOl/KoAFbS/k4xUbWC1jY+KorGjwKmd?= =?us-ascii?Q?DzW/OU1dvFz3kTbvrvgs+fcknOImyUDWKFAsjTjV+f7tR7jdvy6u6k94rdBa?= =?us-ascii?Q?8bLoJFdOh/WW5etG3Kgnl/Y27z4kloniLuHONn7QhHjSQDLjV099inMEyzO4?= =?us-ascii?Q?MAGtCWKHoO7z7A7lxoS7a+1bFfdwGoIcufgxmbw+zGTD3SAlWCq3gKLX8jUW?= =?us-ascii?Q?4QHnK8DoMkZv6oCHP13HBVKDpV5eBZuqwp2v3lA6kMwto57cYdy7c87k5W9U?= =?us-ascii?Q?WceJPcSYIwPUQ0jrCuA97Qed3tbXV5I9I//EaJvFC4An4dygU3+hSU4LHyPU?= =?us-ascii?Q?0SCOmEjiL+Cf8nAt9XU76lDTn/p3UNIIr+wGWPz5dikvN89P0WBaKYf4SEPt?= =?us-ascii?Q?uWjg/Oc2ByBlSbh7oo+4Gqwf9uJmuOs0tvojiRkOUjM+HV5l1ejDMWSyy4Tn?= =?us-ascii?Q?pjav1y8Xr3fG+IMIcCPwdMSdzUUnOtJQe+8FfbOU9M1eAQ1cYP3snZLD6WuD?= =?us-ascii?Q?6ywZUSiKiQPIVRC4fM0OgI9aWBff8fhF4KQXSPgwMKf7xadx/VV0UctI9qCl?= =?us-ascii?Q?v0sRQyqI8Dh9PFF7Xz6WI6Xr4psfU7GDOC9uNdK4wB45sLErA5AAQ//6nemh?= =?us-ascii?Q?m5EDyMODHyZm5s/Yk+XUn4PoeqXnJJ9nKeb1pfXO4BB8EErFccBUk4d8CKFE?= =?us-ascii?Q?5ggnxwKqxt+7+1ycZnwk3n5bIUiD7ehReuyVIvZza4vvzJxevscs9o7T6QUY?= =?us-ascii?Q?gpLlbOK+fQC62JxTUWPD/Q9u3ZjtFPmPHXSgdL9BsVjFdcL5oz8iJb/7F3VE?= =?us-ascii?Q?inJ9j64YY0NYvMwm38wXBO+XeJ1RbkijoOm666p3L5DOT2Hxx6g2r529ToCI?= =?us-ascii?Q?np3601RHwLBifa1oVvXacCl0aCgj3505TB6sBXgfNOo/DW8NC1KAuFB5ws2F?= =?us-ascii?Q?m6612S2JYPHg/fQAlGogk6d9HURrP/B2e169g3UrXRCP26tDt7BpntjZPcXp?= =?us-ascii?Q?agcrkTKn/w9v8Kg92VHpPoD51bvM/9m48WewkX8D/a4J6sp+dhL0ZZPMke5M?= =?us-ascii?Q?WWeE/WpaSnoj4qQfF2qu9fqA1z8tAqXQFnTRxGL+re1anpXrdCGSu0q4Nwzw?= =?us-ascii?Q?J6aDralK1OhSzEYtuGCQB61DHTB6O2wfkE3dmChJ1EyzAZRU2BGleoWwSzqW?= =?us-ascii?Q?tJR20ubUrteqLkDTbQL3htCMVqCbTGmu5U/C3CYbQ5rb59yRRN4hZQOLShHp?= =?us-ascii?Q?GJVotUvLKhg+fMOoHPZs+Xhg0q613vtgDpnKOCdxYrA54rpVjpzZHJLEyr36?= =?us-ascii?Q?nElPfAHpoVdoiMUqxVdpjCezvHKdF3im4E/67bHPrT57IajOyjhsCU+NjyGs?= =?us-ascii?Q?efNE05/IsxlMQ29TQ945bugHNdFSy1GmSng8ia7w?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3966.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7957c335-aa94-4d1c-12fd-08dbcf960f1c X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2023 04:52:40.8181 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Oi2m9HPigIw4jlK2kEhWDsU3WUyGqo11EBKheZ0dLbnxddfSGCRgGiCv4yU/tN0WXV9VcaIlMxKx1qruWn2VbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4100 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: YY5v5IHTX5sc74V1f7kGKc0Mx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=u1Nw0vVF; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") [AMD Official Use Only - General] Hi Nate and Liming, Please help to review this patch. Thanks Abner > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Chang, > Abner via groups.io > Sent: Tuesday, October 10, 2023 4:22 PM > To: devel@edk2.groups.io > Cc: Attar, AbdulLateef (Abdul Lateef) ; Isaac > Oram ; Nickle Wang ; Nate > DeSimone > Subject: [edk2-devel] [edk2-platforms][PATCH 2/2] > OutOfBandManagement/IpmiFeaturePKg: Remove IpmiCommandLib.h from > IpmiFeaturePkg > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > From: Abner Chang > > Remove duplicate IpmiCommandLib.h and use the one > under MdeModulePKg instead. > > Signed-off-by: Abner Chang > Cc: Abdul Lateef Attar > Cc: Isaac Oram > Cc: Nickle Wang > Cc: Isaac Oram > Cc: Nate DeSimone > --- > .../IpmiFeaturePkg/BmcElog/BmcElog.inf | 1 + > .../IpmiFeaturePkg/Frb/FrbPei.inf | 1 + > .../GenericIpmi/Dxe/GenericIpmi.inf | 1 + > .../GenericIpmi/Pei/PeiGenericIpmi.inf | 1 + > .../GenericIpmi/Smm/SmmGenericIpmi.inf | 1 + > .../IpmiFeaturePkg/IpmiFru/IpmiFru.inf | 1 + > .../IpmiFeaturePkg/OsWdt/OsWdt.inf | 1 + > .../IpmiFeaturePkg/SolStatus/SolStatus.inf | 1 + > .../Include/Library/IpmiCommandLib.h | 314 ------------------ > 9 files changed, 8 insertions(+), 314 deletions(-) > delete mode 100644 > Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/Ipm > iCommandLib.h > > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/BmcElo > g.inf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/BmcElo > g.inf > index 388dd2740c..1e7a7658b7 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/BmcElo > g.inf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/BmcElo > g.inf > @@ -21,6 +21,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Frb/FrbPei.inf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Frb/FrbPei.inf > index 797dbe6a07..bfd80d4a98 100644 > --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Frb/FrbPei.inf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Frb/FrbPei.inf > @@ -20,6 +20,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Dxe/ > GenericIpmi.inf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Dxe/ > GenericIpmi.inf > index 1564ceb08a..d37d1c5046 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Dxe/ > GenericIpmi.inf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Dxe/ > GenericIpmi.inf > @@ -37,6 +37,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Pei/P > eiGenericIpmi.inf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Pei/ > PeiGenericIpmi.inf > index 3a73180ce6..d7fb7f1c5b 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Pei/P > eiGenericIpmi.inf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Pei/ > PeiGenericIpmi.inf > @@ -36,6 +36,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Sm > m/SmmGenericIpmi.inf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Sm > m/SmmGenericIpmi.inf > index 12dc17ae84..75162007ce 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Sm > m/SmmGenericIpmi.inf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Sm > m/SmmGenericIpmi.inf > @@ -28,6 +28,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiFru/IpmiFru.i > nf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiFru/IpmiFru.i > nf > index 322f061a0f..f5778f3468 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiFru/IpmiFru.i > nf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiFru/IpmiFru.i > nf > @@ -21,6 +21,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/OsWdt/OsWdt.in > f > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/OsWdt/OsWdt.in > f > index 3fd1078271..e90cd4d55e 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/OsWdt/OsWdt.in > f > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/OsWdt/OsWdt.in > f > @@ -20,6 +20,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [LibraryClasses] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/SolStatus/SolStat > us.inf > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/SolStatus/SolStat > us.inf > index 9019b849ac..8690c493a1 100644 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/SolStatus/SolStat > us.inf > +++ > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/SolStatus/SolStat > us.inf > @@ -21,6 +21,7 @@ > > [Packages] > MdePkg/MdePkg.dec > + MdeModulePkg/MdeModulePkg.dec > IpmiFeaturePkg/IpmiFeaturePkg.dec > > [Pcd] > diff --git > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/I > pmiCommandLib.h > b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/I > pmiCommandLib.h > deleted file mode 100644 > index d5f8f1d01b..0000000000 > --- > a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/I > pmiCommandLib.h > +++ /dev/null > @@ -1,314 +0,0 @@ > -/** @file > - This library abstract how to send/receive IPMI command. > - > -Copyright (c) 2018-2021, Intel Corporation. All rights reserved.
> -Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
> - > -SPDX-License-Identifier: BSD-2-Clause-Patent > - > -**/ > - > -#ifndef _IPMI_COMMAND_LIB_H_ > -#define _IPMI_COMMAND_LIB_H_ > - > -#include > -#include > - > -// > -// NetFnApp > -// > -EFI_STATUS > -EFIAPI > -IpmiGetDeviceId ( > - OUT IPMI_GET_DEVICE_ID_RESPONSE *DeviceId > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSelfTestResult ( > - OUT IPMI_SELF_TEST_RESULT_RESPONSE *SelfTestResult > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiResetWatchdogTimer ( > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiSetWatchdogTimer ( > - IN IPMI_SET_WATCHDOG_TIMER_REQUEST *SetWatchdogTimer, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetWatchdogTimer ( > - OUT IPMI_GET_WATCHDOG_TIMER_RESPONSE *GetWatchdogTimer > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiSetBmcGlobalEnables ( > - IN IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST *SetBmcGlobalEnables, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetBmcGlobalEnables ( > - OUT IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE *GetBmcGlobalEnables > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiClearMessageFlags ( > - IN IPMI_CLEAR_MESSAGE_FLAGS_REQUEST *ClearMessageFlagsRequest, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetMessageFlags ( > - OUT IPMI_GET_MESSAGE_FLAGS_RESPONSE *GetMessageFlagsResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetMessage ( > - OUT IPMI_GET_MESSAGE_RESPONSE *GetMessageResponse, > - IN OUT UINT32 *GetMessageResponseSize > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiSendMessage ( > - IN IPMI_SEND_MESSAGE_REQUEST *SendMessageRequest, > - IN UINT32 SendMessageRequestSize, > - OUT IPMI_SEND_MESSAGE_RESPONSE *SendMessageResponse, > - IN OUT UINT32 *SendMessageResponseSize > - ); > - > -/** > - This function gets the system UUID. > - > - @param[out] SystemGuid The pointer to retrieve system UUID. > - > - @retval EFI_SUCCESS UUID is returned. > - @retval EFI_INVALID_PARAMETER SystemGuid is a NULL pointer. > - @retval Others Other errors. > - > -**/ > -EFI_STATUS > -EFIAPI > -IpmiGetSystemUuid ( > - OUT EFI_GUID *SystemGuid > - ); > - > -/** > - This function gets the channel information. > - > - @param[in] GetChannelInfoRequest The get channel informatio= n > request. > - @param[out] GetChannelInfoResponse The get channel informatio= n > response. > - @param[out] GetChannelInfoResponseSize When input, the expected s= ize > of response. > - When output, the exact siz= e of the returned > - response. > - > - @retval EFI_SUCCESS Get channel information successfully. > - @retval EFI_INVALID_PARAMETER One of the given input parameters is > invalid. > - @retval Others Other errors. > - > -**/ > -EFI_STATUS > -EFIAPI > -IpmiGetChannelInfo ( > - IN IPMI_GET_CHANNEL_INFO_REQUEST *GetChannelInfoRequest, > - OUT IPMI_GET_CHANNEL_INFO_RESPONSE *GetChannelInfoResponse, > - OUT UINT32 *GetChannelInfoResponseSize > - ); > - > -// > -// NetFnTransport > -// > -EFI_STATUS > -EFIAPI > -IpmiSolActivating ( > - IN IPMI_SOL_ACTIVATING_REQUEST *SolActivatingRequest, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiSetSolConfigurationParameters ( > - IN IPMI_SET_SOL_CONFIGURATION_PARAMETERS_REQUEST > *SetConfigurationParametersRequest, > - IN UINT32 SetConfigurationPar= ametersRequestSize, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSolConfigurationParameters ( > - IN IPMI_GET_SOL_CONFIGURATION_PARAMETERS_REQUEST > *GetConfigurationParametersRequest, > - OUT IPMI_GET_SOL_CONFIGURATION_PARAMETERS_RESPONSE > *GetConfigurationParametersResponse, > - IN OUT UINT32 > *GetConfigurationParametersResponseSize > - ); > - > -/** > - This function gets the LAN configuration parameter. > - > - @param[in] GetLanConfigurationParametersRequest Request data > - @param[out] GetLanConfigurationParametersResponse Response data > - @param[in,out] GetLanConfigurationParametersSize When input, the > expected size of response data. > - When out, the ex= act size of response data. > - > - @retval EFI_SUCCESS Lan configuration parameter is returned= in the > response. > - @retval EFI_INVALID_PARAMETER One of the given input parameters is > invalid. > - @retval Others Other errors. > - > -**/ > - > -EFI_STATUS > -EFIAPI > -IpmiGetLanConfigurationParameters ( > - IN IPMI_GET_LAN_CONFIGURATION_PARAMETERS_REQUEST > *GetLanConfigurationParametersRequest, > - OUT IPMI_GET_LAN_CONFIGURATION_PARAMETERS_RESPONSE > *GetLanConfigurationParametersResponse, > - IN OUT UINT32 *GetLanConfigura= tionParametersSize > - ); > - > -// > -// NetFnChasis > -// > -EFI_STATUS > -EFIAPI > -IpmiGetChassisCapabilities ( > - OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE > *GetChassisCapabilitiesResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetChassisStatus ( > - OUT IPMI_GET_CHASSIS_STATUS_RESPONSE *GetChassisStatusResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiChassisControl ( > - IN IPMI_CHASSIS_CONTROL_REQUEST *ChassisControlRequest, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiSetPowerRestorePolicy ( > - IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST *ChassisControlRequest, > - OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE > *ChassisControlResponse > - ); > - > -// > -// NetFnStorage > -// > -EFI_STATUS > -EFIAPI > -IpmiSetSystemBootOptions ( > - IN IPMI_SET_BOOT_OPTIONS_REQUEST *BootOptionsRequest, > - OUT IPMI_SET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSystemBootOptions ( > - IN IPMI_GET_BOOT_OPTIONS_REQUEST *BootOptionsRequest, > - OUT IPMI_GET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse > - ); > - > -// > -// NetFnStorage > -// > -EFI_STATUS > -EFIAPI > -IpmiGetFruInventoryAreaInfo ( > - IN IPMI_GET_FRU_INVENTORY_AREA_INFO_REQUEST > *GetFruInventoryAreaInfoRequest, > - OUT IPMI_GET_FRU_INVENTORY_AREA_INFO_RESPONSE > *GetFruInventoryAreaInfoResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiReadFruData ( > - IN IPMI_READ_FRU_DATA_REQUEST *ReadFruDataRequest, > - OUT IPMI_READ_FRU_DATA_RESPONSE *ReadFruDataResponse, > - IN OUT UINT32 *ReadFruDataResponseSize > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiWriteFruData ( > - IN IPMI_WRITE_FRU_DATA_REQUEST *WriteFruDataRequest, > - IN UINT32 WriteFruDataRequestSize, > - OUT IPMI_WRITE_FRU_DATA_RESPONSE *WriteFruDataResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSelInfo ( > - OUT IPMI_GET_SEL_INFO_RESPONSE *GetSelInfoResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSelEntry ( > - IN IPMI_GET_SEL_ENTRY_REQUEST *GetSelEntryRequest, > - OUT IPMI_GET_SEL_ENTRY_RESPONSE *GetSelEntryResponse, > - IN OUT UINT32 *GetSelEntryResponseSize > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiAddSelEntry ( > - IN IPMI_ADD_SEL_ENTRY_REQUEST *AddSelEntryRequest, > - OUT IPMI_ADD_SEL_ENTRY_RESPONSE *AddSelEntryResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiPartialAddSelEntry ( > - IN IPMI_PARTIAL_ADD_SEL_ENTRY_REQUEST *PartialAddSelEntryRequest, > - IN UINT32 PartialAddSelEntryRequestSize= , > - OUT IPMI_PARTIAL_ADD_SEL_ENTRY_RESPONSE > *PartialAddSelEntryResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiClearSel ( > - IN IPMI_CLEAR_SEL_REQUEST *ClearSelRequest, > - OUT IPMI_CLEAR_SEL_RESPONSE *ClearSelResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSelTime ( > - OUT IPMI_GET_SEL_TIME_RESPONSE *GetSelTimeResponse > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiSetSelTime ( > - IN IPMI_SET_SEL_TIME_REQUEST *SetSelTimeRequest, > - OUT UINT8 *CompletionCode > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSdrRepositoryInfo ( > - OUT IPMI_GET_SDR_REPOSITORY_INFO_RESPONSE > *GetSdrRepositoryInfoResp > - ); > - > -EFI_STATUS > -EFIAPI > -IpmiGetSdr ( > - IN IPMI_GET_SDR_REQUEST *GetSdrRequest, > - OUT IPMI_GET_SDR_RESPONSE *GetSdrResponse, > - IN OUT UINT32 *GetSdrResponseSize > - ); > - > -#endif > -- > 2.37.1.windows.1 > > > >=20 > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109707): https://edk2.groups.io/g/devel/message/109707 Mute This Topic: https://groups.io/mt/102033908/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-