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.50]) by mx.groups.io with SMTP id smtpd.web12.1284.1585071680004078486 for ; Tue, 24 Mar 2020 10:41:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=husJclEM; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.243.50, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N0F6Ta/fGiC1CMvokW71TBVEUBAazCOXvi/LJmIEPGqeYPL6r9+Cwb2qph1eqnwEfZH7oRjDPJkeotEP3xD+GL5faDo6CMusW5a2bRJ7KsrCJuY9xfW3ZSUwbEgGGi8RaHcqveuiscFst3YYdaqY6X3tNfUAH0MzdRmn0fnzu2/QhTmP07DWX7Nm3wzHUmLEHz/QZASBbkIqghIxAx5MW1kEkKxJeqamzIjAOtjX1B0yryRqW+pPqcoTBSTh2cNP8woowezaoWg2JCrEXoOpv7ArvWhSIoSA2QdJP1+CMbFsrz42vdx/6zRL0XTBseaPn0uAt+hRs58gmQvk6itNkg== 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-SenderADCheck; bh=1uMrdqyhmnTSV4l8Jx4+UTvsDoxuK6hLAppQ5LNqeOY=; b=guJZmYtic0yhv2fownLHNqsB1vIZ6acv8hs2aP9Ff4mG3s7ikm4Xm6NZ7jxvtOpMLfyN2rkLTGpNVZTBxYjXeMPl97yAkCCDV5NlJrVDuflvrxqfGfCAGpzuUQ2okVfB/vlCDWVRK6juFWuOmAqGilRKhERWkvlv0r+biRz6l0S/lpJcLrVCZ9uVxq+DA2uhOB1sUDxgKRItb2ecjChceIslczfBX0VTA4sws6+FRRdMN0KD2McX6yA2cz4dQW8lN46EFizqelxFNYH85Y5mEvmYyVNdyp268NUNBdxQNOIgaG/3RZvgBt4EPzHWIeXaGXvFMq7Y1tX5dOc0wTfT2A== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1uMrdqyhmnTSV4l8Jx4+UTvsDoxuK6hLAppQ5LNqeOY=; b=husJclEMMIAgBZjVn5GXcJV14LXdZ2XhGAWFasw772JOVRT3oIwGW1Wv5+jHzB2CH6bsjXsm1g0ENjvNPyOBrJgPpvV3HOO2WQQ1Jf8s5EW2QYWvvbRgdW3yzDe+7T1836v6aszYXme9mwXoprJX3uP2HvPTu52Zsxo5KuNE/CY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; Received: from DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:15e::26) by DM6PR12MB3915.namprd12.prod.outlook.com (2603:10b6:5:1c4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Tue, 24 Mar 2020 17:41:18 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::f0f9:a88f:f840:2733]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::f0f9:a88f:f840:2733%7]) with mapi id 15.20.2835.023; Tue, 24 Mar 2020 17:41:18 +0000 From: "Lendacky, Thomas" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Michael D Kinney , Liming Gao , Eric Dong , Ray Ni , Brijesh Singh Subject: [PATCH v6 09/42] UefiPayloadPkg: Prepare UefiPayloadPkg to use the VmgExitLib library Date: Tue, 24 Mar 2020 12:40:23 -0500 Message-Id: <0d3cb8d85e6773c54ac60de35a60862ca3eed05d.1585071656.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ClientProxiedBy: DM5PR06CA0025.namprd06.prod.outlook.com (2603:10b6:3:5d::11) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:15e::26) Return-Path: thomas.lendacky@amd.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from tlendack-t1.amd.com (165.204.77.1) by DM5PR06CA0025.namprd06.prod.outlook.com (2603:10b6:3:5d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Tue, 24 Mar 2020 17:41:17 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [165.204.77.1] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1cb4194c-7235-4fdf-279a-08d7d01a8f00 X-MS-TrafficTypeDiagnostic: DM6PR12MB3915:|DM6PR12MB3915: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2276; X-Forefront-PRVS: 03524FBD26 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(396003)(39860400002)(8676002)(8936002)(186003)(316002)(54906003)(16526019)(956004)(66476007)(36756003)(6486002)(19627235002)(66946007)(6916009)(66556008)(2616005)(26005)(4326008)(966005)(81156014)(478600001)(81166006)(5660300002)(2906002)(6666004)(7696005)(52116002)(86362001)(136400200001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3915;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sPXaoeaRtIAMlcQRFwK6TbMPe7fcdD26aro6Cjn6BCh4sqEQbfpKbZveZCqipyQJyBohh2Bm79rMbyiCJL93TrN1a2oTlxHyIhGW8OAWO+TdfwnaXcBeYkCbuh7rSCsfM0QA5jy5h/4yOZuKifJdmU460mBFlA26hxUPaec6+Au1HmPlHlfogbzQOt9OI/XpcWcgAxCC57BfXFxCG3Y6OFuj7keoES72Sm4SuKnZkoUN2NpGlDmjt9KJz3r3/aamH+zo+hScNj+7aGUUEuvRS2npWtZg9e+Fiu3nK/E2LSHiUC/PIAOAYt0l28owrwDeDmEdyp4VlPOQ4mTACMuco1EIc3eyUSO4wa0EWxifebc6yG56wDDgGH4BdJ8CBHwwPunLBC0ZgERne/CAUST05AYA/vQxTTqlZFOf+UXeZ3OLFXkgNfh7k4azqO8epPyo90R+5yqcJqsIYc7aM7rN5SgWO0em3JJVVOhLqEsvojOwHG+CyVoXyI0ZoyYzLNg4DBXx5h8GlhnQK3q5ms7qczKX2rMAxd2ZMu1v46/5b0c9iLF+zKx3lJZz59zmdK6YMrRqVX/jstAQtsMY1xDG4A== X-MS-Exchange-AntiSpam-MessageData: l+6Xw5OtC2qgIOmXCItlY66K/K+Q35k0QNSbgRSY9DsDBCxTrzJ1Rhzh9zZQZyCKhUDN+/X3j5ZMQ9jCWGTK0F+DVegkwww1K5J14aXQhjjqdxIJyVwRR98+6Ub5D5B5P5KmhBsOC1k0qBNvI6oI3w== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cb4194c-7235-4fdf-279a-08d7d01a8f00 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2020 17:41:18.5022 (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: st5TXjRVvTB7647QW4ZvKV9yWhEDlrivBNw6T7JKKHr9CNcX0fjD6bEvlJo5JsUBIRc8cbhuIiKJauKfkFvoSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3915 Content-Type: text/plain BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 Various CpuExceptionHandlerLib libraries will updated to use the new VmgExitLib library. To prevent any build breakage, update the UefiPayloadPkg DSC files that use a form of the CpuExceptionHandlerLib library to include the VmgExitLib library. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Reviewed-by: Guo Dong Signed-off-by: Tom Lendacky --- UefiPayloadPkg/UefiPayloadPkgIa32.dsc | 2 ++ UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc b/UefiPayloadPkg/UefiPayloadPkgIa32.dsc index d52945442e0e..c2f7217c964e 100644 --- a/UefiPayloadPkg/UefiPayloadPkgIa32.dsc +++ b/UefiPayloadPkg/UefiPayloadPkgIa32.dsc @@ -233,6 +233,7 @@ [LibraryClasses.common.DXE_CORE] DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -244,6 +245,7 @@ [LibraryClasses.common.DXE_DRIVER] DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf [LibraryClasses.common.DXE_RUNTIME_DRIVER] diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc index 0736cd995476..b7cfeeff9b49 100644 --- a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc +++ b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc @@ -234,6 +234,7 @@ [LibraryClasses.common.DXE_CORE] DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -245,6 +246,7 @@ [LibraryClasses.common.DXE_DRIVER] DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLib/VmgExitLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf [LibraryClasses.common.DXE_RUNTIME_DRIVER] -- 2.17.1