From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (NAM02-BN1-obe.outbound.protection.outlook.com [40.107.212.57]) by mx.groups.io with SMTP id smtpd.web09.5183.1667184671925413469 for ; Sun, 30 Oct 2022 19:51:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=hRbpu0mQ; 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.212.57, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CdCpYyZevMUYFdklUFVDCexHiD9Sg4c1AgamwqhgSR6YdYImIuhNcrP2t7y2neZTM9NU7ZKRo/GqQSI6Sbe4atnVTHoF2EqSad4u1B6xuQbJTls+OGRUB0bg0vtnv/EXlzCUUmnlt2OkCZ5hWo90MajTTkMWY0ds0kMDwUOUC60SfHSyoou0wY0yefXLvc6khb3fheRbvsyiWHQKnCRpwwTMAQ7IFTFjvgPSlXd0OpTW3j2J6dwZvsYvRf97/cuYeQnlOphzI0uXKiIEqwkkBcVx3V6nJbUg51TPlXkWnzHdW7MQGwfWC5Qsny9MA+Pm4XcZtlOcHKju9agbRlOAkA== 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=87KaGxY9h0oA/AODkHH2Wl17e8oQyEQkOESaLugSvdY=; b=TPWokUuaJPg3IpYn3/clrglc1nmX/DDvC40kbZoD/ZQJ2+ASmfeDP1e4Hifs3tTeSks+k8aanOkWxmGMIf3MZdA1qfPc/5Mn4z7Ft4gMSQp4IzLJ0186T2xtnedXXvWmOVpxE/7mwml26qhe9c6i3uiSwzVyguivkIxkjrodQUhDE7+/3OJj5IjS4JUxsCX3vQ0GezPuo/SzRvGDIa7boUQn6sU8oiCDj0KquQgZz662NJL1SmoChxQqxeltrl+S2gAp/ESxoySsgEsg4LY2AFr3JFnIgJUiU7fSL5f1sZPVtaKTwGIWbbXX1OoUX54Ct28V51VS9XKPuDdZWzaaqQ== 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=87KaGxY9h0oA/AODkHH2Wl17e8oQyEQkOESaLugSvdY=; b=hRbpu0mQVwW4e/vRE8aAtDKyeip12wKi1m1tqEt3JSZoJOu2GO+kzoH8tnELQj/bbldaeLFrxp10+2zMPu4GSDe1lRiw9BaNSrN7POu9w+HykXPpBBB5Y1rd3yw94TYItIcObQgl+46l0S307gWSU9HySEDBX5TeRXcJLtDl+/o= Received: from DS7PR03CA0105.namprd03.prod.outlook.com (2603:10b6:5:3b7::20) by SA0PR12MB4445.namprd12.prod.outlook.com (2603:10b6:806:95::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Mon, 31 Oct 2022 02:51:09 +0000 Received: from DM6NAM11FT088.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b7:cafe::60) by DS7PR03CA0105.outlook.office365.com (2603:10b6:5:3b7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19 via Frontend Transport; Mon, 31 Oct 2022 02:51:09 +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 DM6NAM11FT088.mail.protection.outlook.com (10.13.172.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5769.14 via Frontend Transport; Mon, 31 Oct 2022 02:51:09 +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.31; Sun, 30 Oct 2022 21:50:27 -0500 From: "Chang, Abner" To: CC: Abdul Lateef Attar , Garrett Kirkendall , Paul Grimes , Eric Dong , Ray Ni , Rahul Kumar Subject: [PATCH V3 1/3] UefiCpuPkg/SmmCpuFeaturesLib: Rename the common C file Date: Mon, 31 Oct 2022 10:49:10 +0800 Message-ID: <20221031024912.60-1-abner.chang@amd.com> X-Mailer: git-send-email 2.37.1.windows.1 MIME-Version: 1.0 Return-Path: Abner.Chang@amd.com X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT088:EE_|SA0PR12MB4445:EE_ X-MS-Office365-Filtering-Correlation-Id: 152dd88d-6e8d-462d-e641-08dabaeac395 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /w4iysYOxXHNp8RPRIg8Af0v0rEQlFqhwsu60tRA6ysfEVv9tAw+yVzKVXO0xpsntEn40oJtuzMMIEitetoC+OQu6XXoqzrix1fv0NOHLK8mGn9a+MrYsuruQR4euG3/IrINcqxLUn0mwAiTJfMdfvTyAQP/ZQdwS3NY1dvsQwOV5oF/Q98qzlbVfH03PUrXVbxRsVbW0M0lwiAdLck1ILXaiiPt9LIR621wdbKZ8//M4Y5FGtENfiYrihAUU6t5evAn9rlMNA6rM8Vx/dtJKBAa4WqJZvCB1grlq6TDh+wwZ3efB/ntT62l5OjAhSI4HhbMHrDbP3bTbZgFGH/lyJhZFZ0J6u2zhUK+LHwh7kzOaN9qdYAaE2DQmIAljPC3KHIzLA/rYHLw3Vsmxmya59PBP7Dp93wlx9wEwzfLZbekc9jSSfm2nbB/37rLd01wy2zmsPAYaMWY2pXTdIacqe6aUzgQ2OsX+tfDZW2QH0oVFSj93W43oFWPIin6MqLam/jv2/pw9z1iROPbqGHIbRsRM1AHnM1i6RPO0ImBD0OQGXgAyDxNEY+xpkXEKkz34YLv/nGAmqA/WaWKP8g/3WC/YnuAwX9tESfgsu3o1M8vUHYn+BJ3m6NCt4u1de5P/zIz3qOmApohJUQi3/t8RQnpSnYI65jL58G2Uq5CigVacLbsgLfFtdiZJFVOfnG39e7HEYwRrwO61XkSOnyxCNb0v/OkGHhLyBCayvHF5FJ2fo8WJF416PpApdz5dPjBj+iLofPDsVCqjib+l038RnGidp/ImWqLC5otionCKq4= 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)(136003)(396003)(376002)(39860400002)(346002)(451199015)(40470700004)(46966006)(36840700001)(2616005)(82310400005)(186003)(1076003)(16526019)(356005)(81166007)(40480700001)(8676002)(4326008)(70586007)(70206006)(7696005)(6666004)(40460700003)(6916009)(316002)(54906003)(36756003)(8936002)(5660300002)(86362001)(41300700001)(26005)(83380400001)(47076005)(36860700001)(336012)(426003)(2906002)(2876002)(82740400003)(478600001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2022 02:51:09.2059 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 152dd88d-6e8d-462d-e641-08dabaeac395 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: DM6NAM11FT088.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4445 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang BZ# 4093: Abstract SmmCpuFeaturesLib for sharing common code Rename SmmCpuFeaturesLiCommon.c to IntelSmmCpuFeaturesLib, because it was developed specifically for Intel implementation. The code that can be shared by other archs or vendors will be stripped away and put in the common file in the next patch. Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Garrett Kirkendall Cc: Paul Grimes Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar --- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf | 2 +- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf | 2 +- .../Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf | 2 +- .../{SmmCpuFeaturesLibCommon.c =3D> IntelSmmCpuFeaturesLib.c} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{SmmCpuFeaturesLibCommon.c =3D= > IntelSmmCpuFeaturesLib.c} (100%) diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf b/U= efiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf index 7b5cef97008..6254a14698a 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf @@ -18,8 +18,8 @@ =20 [Sources] CpuFeaturesLib.h + IntelSmmCpuFeaturesLib.c SmmCpuFeaturesLib.c - SmmCpuFeaturesLibCommon.c SmmCpuFeaturesLibNoStm.c TraditionalMmCpuFeaturesLib.c =20 diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf = b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf index 85214ee31cd..d64d8e66b38 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf @@ -19,7 +19,7 @@ =20 [Sources] CpuFeaturesLib.h - SmmCpuFeaturesLibCommon.c + IntelSmmCpuFeaturesLib.c SmmStm.c SmmStm.h TraditionalMmCpuFeaturesLib.c diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLi= b.inf b/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf index 3eacab48db3..5935b3e1fd6 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf @@ -20,8 +20,8 @@ =20 [Sources] CpuFeaturesLib.h + IntelSmmCpuFeaturesLib.c StandaloneMmCpuFeaturesLib.c - SmmCpuFeaturesLibCommon.c SmmCpuFeaturesLibNoStm.c =20 [Packages] diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c= b/UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c --=20 2.37.1.windows.1