From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (NAM02-SN1-obe.outbound.protection.outlook.com [40.107.96.87]) by mx.groups.io with SMTP id smtpd.web10.79911.1673589837550661324 for ; Thu, 12 Jan 2023 22:03:57 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=CTem0hps; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.96.87, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nRRx+3i/5roRAmQvi6ChtnQsf6SiHkfe27fIHYCve67QsC8vDkI4fa62b5oXf+xC9XcOCOU/tzMTM3uXdSe36Z2vjdOloayPpaTEXB4PUplV84lx/O6P1RbUbDnnXI7Bj3Ew0SlYQNJaNbZQbHAhs2Ow3i+hihXSy/cikvQ3HUmSAmJLIBatFrUGzeLNuiGTTO1N1tiKOeEo3+mJXh54XH55jb0KFL2YgAPQwwfzlLBHGtGNHEYhN6cSWSJhyAfKC3nFxNOG+clXAsR7FMfCm75A2wc0Xeg0of1Zcq4t33gSQuYTXGzanolYH1v7Ewem/bsNPOpLUaPCxFWlDGGQ5g== 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=wmsWnmebLzjfbDgXix/Nr/3dcvd5Zx740uZm+OqH2fo=; b=lnUg8u+CuYjSh/yAMIeedrX9x5tBRa6IccYbpnd4SJ01p8kqdQ4KeMClafil2W3xiDsXz5Zcd+8RzSt4nFzlirgcvh5o8UzLL9RrrTqur2FNAAq7TYRYtXROtcicw9w7LnWVqziLLNwvn7qiCvX5ZhrrjGPxBmTDKWAahR0mN9wXsaZ9WzsRL1TrRA6EM0nxT9B6+G6ABIc8Hi3FWqYqnDVpdrNM2z2zLISsJlEGz5+yziOquTmvXUUV6U29Co8RkrcQ5TEmGJ8q6fCk/XN5pxEfAg/E3MRTs6crVAtH9n5b23sB7EuFZXtJMJSpCm6ZB1bwf+AUkZem98VpgppNtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wmsWnmebLzjfbDgXix/Nr/3dcvd5Zx740uZm+OqH2fo=; b=CTem0hpsSTTtl6wTiapl4GebSCCPAbUm6LaTZUPvSnaW6lU0MoSYUwb4qSfvdz5yMq7zRFhrZUHSLxIOhY8AR8Y1t229AAprtIJO2ly7cC/8kZrI2OmxUSOVn8/sAbjCuiJxc2TR3vDsB4y66QCmq1N7ez7yjw8t3iRF2U/EFqs= Received: from BN0PR02CA0020.namprd02.prod.outlook.com (2603:10b6:408:e4::25) by DS0PR12MB8294.namprd12.prod.outlook.com (2603:10b6:8:f4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.19; Fri, 13 Jan 2023 06:03:55 +0000 Received: from BN8NAM11FT074.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e4:cafe::46) by BN0PR02CA0020.outlook.office365.com (2603:10b6:408:e4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.14 via Frontend Transport; Fri, 13 Jan 2023 06:03:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT074.mail.protection.outlook.com (10.13.176.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6002.13 via Frontend Transport; Fri, 13 Jan 2023 06:03:55 +0000 Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 13 Jan 2023 00:03:51 -0600 From: "Chang, Abner" To: CC: Jian J Wang , Liming Gao , Nickle Wang , Igor Kulchytskyy , Isaac Oram , Nate DeSimone Subject: [PATCH V2 3/3] MdeModulePkg: Add IpmiCommandLib Date: Fri, 13 Jan 2023 14:03:18 +0800 Message-ID: <20230113060318.610-4-abner.chang@amd.com> X-Mailer: git-send-email 2.37.1.windows.1 In-Reply-To: <20230113060318.610-1-abner.chang@amd.com> References: <20230113060318.610-1-abner.chang@amd.com> MIME-Version: 1.0 Return-Path: Abner.Chang@amd.com X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT074:EE_|DS0PR12MB8294:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a4fd48f-0c92-4dcb-ae56-08daf52bf3ee X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gRUyS2Z4I+/MyUpBRsa/lMIdqdhhm142WdTubfJsiYZTXlnokE5W+7HpKxwM912DV/Cl3HVW9f3uzDJ+0QxGzMHNHHnTVSADZPyDcpeDCcEecXpWx5+fRD5SKTS9Q9l63e3F3rOWTOzTV1yIcafxpbMyHvGiWrRVv0/biCboODrXif0YE/XAXc3HTl6TYCduslWR1ATnS9U2bs79Xx7++iMowGo3tevOqqOz8cAOpybrZ54HVh6ql4Xppq6EiGWqzEZQz1SBNbHSIXn5BxhccCF5K4kGCM/Tba+nSU3QyiaJU1Ovx/WpB5/nIcpNp/ygjE2G+mJX22bLmNIHY3m2jcla1NIO8TaBmMIs6UeBDuB7ah4FwF7+GAREJChaathYDyW9gSoHe5ifWEQODX972aRjsfd7+T8EBRBfnjx3mx3nV3iDoOvSS2eQVIjzk+ptCeIDXwIADG9KRIKigHrOai49gzOOa0tN6iLPjXuB5FKMAqsPxJmwsRJAyAIE7Jh9hKlbFEYfFAliZwUpAo2BN1/D6YTMM8y5KVU8Vrs5LqUwII2pCvQIIJBW+yiW+DM6vuJFWbH1Q9b9t5zYxaz7maHRAHK8ztIGqd4ha1L8STNujtYoS7AFMEvt2N88BK1Zh2fTOCa0lYSG+kaE/FEiGxUoCK+++UaWc+Nu69TGVIOXuG1YqflbdtWVhKbP65wclhCF6nzYOGFcfmrdSbH8urjipa/AAnCXVf7k41sMw1I= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(346002)(396003)(39860400002)(136003)(376002)(451199015)(46966006)(40470700004)(36840700001)(83380400001)(8936002)(5660300002)(41300700001)(86362001)(426003)(47076005)(81166007)(82740400003)(82310400005)(36756003)(40460700003)(356005)(2906002)(40480700001)(2876002)(36860700001)(45080400002)(478600001)(26005)(186003)(7696005)(16526019)(336012)(6916009)(8676002)(4326008)(316002)(1076003)(70206006)(54906003)(2616005)(70586007)(6666004)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 06:03:55.0782 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a4fd48f-0c92-4dcb-ae56-08daf52bf3ee X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT074.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8294 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang Add IpmiCommandLib to MdeModulePkg DEC/DSC files. Signed-off-by: Abner Chang Cc: Jian J Wang Cc: Liming Gao Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Isaac Oram Cc: Nate DeSimone Reviewed-by: Isaac Oram --- MdeModulePkg/MdeModulePkg.dec | 5 +++++ MdeModulePkg/MdeModulePkg.dsc | 3 +++ 2 files changed, 8 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index be5e829ca9c..9605c617b7a 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -9,6 +9,7 @@ # (C) Copyright 2016 - 2019 Hewlett Packard Enterprise Development LP
# Copyright (c) 2017, AMD Incorporated. All rights reserved.
# Copyright (c) Microsoft Corporation.
+# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -117,6 +118,10 @@ # IpmiLib|Include/Library/IpmiLib.h =20 + ## @libraryclass Provides interfaces to send/receive IPMI command. + # + IpmiCommandLib|Include/Library/IpmiCommandLib.h + ## @libraryclass Provides interfaces for platform to return root bridge= information to PciHostBridgeDxe driver. # PciHostBridgeLib|Include/Library/PciHostBridgeLib.h diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 659482ab737..1014598f31c 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -4,6 +4,7 @@ # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation. +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -104,6 +105,7 @@ VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Var= iablePolicyHelperLib.inf MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibN= ull.inf VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseV= ariableFlashInfoLib.inf + IpmiCommandLib|MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiComma= ndLibNull.inf =20 [LibraryClasses.EBC.PEIM] IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf @@ -333,6 +335,7 @@ MdeModulePkg/Library/DxeIpmiLibIpmiProtocol/DxeIpmiLibIpmiProtocol.inf MdeModulePkg/Library/PeiIpmiLibIpmiPpi/PeiIpmiLibIpmiPpi.inf MdeModulePkg/Library/SmmIpmiLibSmmIpmiProtocol/SmmIpmiLibSmmIpmiProtocol= .inf + MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiCommandLibNull.inf MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverabl= eDeviceRegistrationLib.inf MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf --=20 2.37.1.windows.1