From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.59]) by mx.groups.io with SMTP id smtpd.web09.2603.1663059077938950398 for ; Tue, 13 Sep 2022 01:51:18 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Dbw1qIQ8; 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.243.59, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y7AHl5HJttKADtnFOKgXtKcwa7nBkmtnr0FimO4zgdSHKkmCtWpueRjYYGbncZ7BznHiQ4oQaoYZOEFoR7nCZJfCQpvwY86Ejv7FjKTkEQqaK9abFh2WOf7CG59mMfAHBU6ZdpDR6k66bAKLw/9/I2g7R9eDvf9RLcqQE5EPqNv/aric2yaRGaovuXAYl74OTaYTTWoQjM/e5qmoZ+CiiC2ycxlYohD18BZxjZqa2RHNTRTqkySv7b0UwXj3hq5a8tG42h/U/R5cmjXMGXiwOet4iwY+xpoQrZIo7/pMfMppshvWs3t7+NM+gIZqOhbZPphErWKqqSOIITdOtBA3+g== 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=K86Yk9NE0aFKlu4A1q7J/420JYYyickBWzAkvD/CLPs=; b=P+93K2+beqW0m7AXvC6RYznLTb7TX9fml8R5zGGUfboBL6pQpPKa5XZZAMbBsnH9ZhE9WRg604xfK9DH85seg+azsZSdxuDL5VWyMdkTAaUgtzqIxXbFlkr5qK1IlUByf0MS5G5jAxVWQbD1ULZxFnmowu4rSFHOezqeKdQq0cYxIDlMnlAJ04YTLlV49F9pP6rf92SnJ6Tevj7EDp0iJ4BuyZa9wg1RCoVLcwwBg3crBVk5nrMUb9EMhyEnIAeYeTQp8cxgqtWmIHQ+fca7SgOHTgttAgVVtA4KfebTbppKNEmr3BdMR5podCkCdWn8msEKCQiuU5qFdngjEm02HQ== 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=K86Yk9NE0aFKlu4A1q7J/420JYYyickBWzAkvD/CLPs=; b=Dbw1qIQ8TE2CoeI+dpGfFzhSpbwFNQ+Hp098l0o8Zulmw4lnlBvluY6QTNdiGBVIi5xATqOCbiUs8GZB/zw6XPx1/vz+48sYAHZ4pHyi2lV/QVPs5ltSqLrdi/s/cgW2KsE0W9XoKAoxJUjgmICLqfAtcq2wWm8LQztwl7S22JE= Received: from MW4P222CA0006.NAMP222.PROD.OUTLOOK.COM (2603:10b6:303:114::11) by BY5PR12MB4164.namprd12.prod.outlook.com (2603:10b6:a03:207::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14; Tue, 13 Sep 2022 08:51:15 +0000 Received: from CO1NAM11FT017.eop-nam11.prod.protection.outlook.com (2603:10b6:303:114:cafe::99) by MW4P222CA0006.outlook.office365.com (2603:10b6:303:114::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14 via Frontend Transport; Tue, 13 Sep 2022 08:51:15 +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 CO1NAM11FT017.mail.protection.outlook.com (10.13.175.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5612.13 via Frontend Transport; Tue, 13 Sep 2022 08:51:15 +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.28; Tue, 13 Sep 2022 03:51:08 -0500 From: "Chang, Abner" To: CC: , Abdul Lateef Attar , "Garrett Kirkendall" , Paul Grimes , Eric Dong , Ray Ni , Rahul Kumar Subject: [edk2-staging/SmmCpuFeaturesLib_AMD][PATCH 1/4] Add X86 folder Date: Tue, 13 Sep 2022 16:50:51 +0800 Message-ID: <20220913085051.1280-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: 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: CO1NAM11FT017:EE_|BY5PR12MB4164:EE_ X-MS-Office365-Filtering-Correlation-Id: cf9f6b04-9329-422d-c1e4-08da95651e0f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Xhqgvve2YxOlgQKiApDNgvKjClZ/pgudPSPPpfFjVvKpVRbG5zouQverROteYu7Id3monEGbNl6w9SwCk0G5zXmLNEVE/2W667TCotabv8nCT8g0Xle6XEmmqFkS02S6/O8syifZVXx+DmFLOSw/7zX4yCKpZQNKwgaPKfrTFWRUa1P2C31IylJo2gPVeJ3DEzOnD7mbZ3m5/rNW8RhdTKgSpK+ebHKX4rTMcwjgz5XEd6jBNvI5s+PQJttqE+zKDZ97uEfheYVsDGTz3ij/99KZjnowgki3vo9TyipA0ztRnTTJFOWvizk/RK5bFkSMBrRwbDCmB49U4VwJEOsbeZZ/81dW/i//o17g96DW172Y03iGKYx+/Kz6STUnptN+U5QYcw62IEos6B9ZYZotVSUv2R5JnIpzp1u57OmMQjvp1Rchc5nehpb7q9eN7LWZIIAP309N+1a+9a/3q494Wj8H9hY7rt6ZuyP3qIPbaz8xwOhfBxUYQMvac2qw6TZBcP79UqsUM7ElOf6b1OcBIOf9+8KsGbR57DihSF59IL7RlTMrMyFyCNsdQwwlnPeryC8zcuFIaDOJgmMeRMWoy3GoWrLqIV55dGfOUno/PD08rpJE2HfQO2rgTQImovWY4kd5rd3VauqwCICMHAQccxftBV4WzYhUkSlzwyvYpDJvIv1KXL5YVsxr/8/dLdpbXeBm9bqwCE1yoMdCuH8mEd7CxWXr/LN0U2oTinoeCC2XYzr9HFo4PmFRLXktTkHhY3YRe1jl2247OHt7qAZQT4R55C1yP98pWnSZ5DuRvVgX79L4G63Xnrh3C8I/uDd9 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)(396003)(376002)(39860400002)(136003)(346002)(451199015)(40470700004)(46966006)(36840700001)(478600001)(2616005)(82740400003)(81166007)(86362001)(1076003)(19627235002)(6666004)(186003)(7696005)(356005)(54906003)(40480700001)(40460700003)(41300700001)(70586007)(4326008)(8676002)(70206006)(36756003)(82310400005)(36860700001)(2906002)(336012)(83380400001)(47076005)(26005)(316002)(6916009)(8936002)(426003)(5660300002)(16526019)(2876002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2022 08:51:15.2587 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cf9f6b04-9329-422d-c1e4-08da95651e0f 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: CO1NAM11FT017.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4164 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang 1. Add X86 folder under SmmCpuFeaturesLib to accommodate X86 implementation. 2. Move Ia32 and X64 to under \X86. Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Garrett Kirkendall Cc: Paul Grimes Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar --- .../SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf | 12 ++++++------ .../SmmCpuFeaturesLib/{ =3D> X86}/Ia32/SmmStmSupport.c | 0 .../SmmCpuFeaturesLib/{ =3D> X86}/X64/SmmStmSupport.c | 0 .../SmmCpuFeaturesLib/{ =3D> X86}/Ia32/SmiEntry.nasm | 0 .../{ =3D> X86}/Ia32/SmiException.nasm | 0 .../SmmCpuFeaturesLib/{ =3D> X86}/X64/SmiEntry.nasm | 0 .../{ =3D> X86}/X64/SmiException.nasm | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ =3D> X86}/Ia32/SmmStmSupport= .c (100%) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ =3D> X86}/X64/SmmStmSupport.= c (100%) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ =3D> X86}/Ia32/SmiEntry.nasm= (100%) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ =3D> X86}/Ia32/SmiException.= nasm (100%) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ =3D> X86}/X64/SmiEntry.nasm = (100%) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ =3D> X86}/X64/SmiException.n= asm (100%) diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf = b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf index 85214ee31cd..561bd85e780 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf @@ -25,18 +25,18 @@ TraditionalMmCpuFeaturesLib.c =20 [Sources.Ia32] - Ia32/SmmStmSupport.c + X86/Ia32/SmmStmSupport.c =20 =20 - Ia32/SmiEntry.nasm - Ia32/SmiException.nasm + X86/Ia32/SmiEntry.nasm + X86/Ia32/SmiException.nasm =20 [Sources.X64] - X64/SmmStmSupport.c + X86/X64/SmmStmSupport.c =20 =20 - X64/SmiEntry.nasm - X64/SmiException.nasm + X86/X64/SmiEntry.nasm + X86/X64/SmiException.nasm =20 [Packages] MdePkg/MdePkg.dec diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport.c b/Ue= fiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmmStmSupport.c similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport.c rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmmStmSupport.c diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmmStmSupport.c b/Uef= iCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmmStmSupport.c similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmmStmSupport.c rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmmStmSupport.c diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.nasm b/Uefi= CpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiEntry.nasm similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.nasm rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiEntry.nasm diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.nasm b/= UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiException.nasm similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.nasm rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiException.nasm diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm b/UefiC= puPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiEntry.nasm similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiEntry.nasm diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.nasm b/U= efiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiException.nasm similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.nasm rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiException.nasm --=20 2.37.1.windows.1