From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.56]) by mx.groups.io with SMTP id smtpd.web11.956.1589925100696833396 for ; Tue, 19 May 2020 14:51:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=Rr2iY9z7; spf=none, err=SPF record not found (domain: amd.com, ip: 40.107.220.56, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KrcKvIyDRIbjFr0DYSXPaAx2Mdn2N55lmfj809fz/xpl3tGM4ATikRjBfWQ44/IhZ+pf/GytnC83Epxg//phTbf8TSTzYNWotiGO4UcAInw9vQ0DiTr+ZOXhQ/dbWlONiccX9KqbcC4VlL/TuMae8P7Fs1HULXmsNumu2/jW0b61sboonCotJhm9GI56GGJM6vc2RPVH3XA9QqQZ5rpCooP4z3wiuimwSav6yPFe1aTyw4kJjZFOBMT0V4itWIgCWywFy4imIPTd5GCIeOrc6lVFyjxHrtnoJVLOCjuhCA0ISWAQjG/U2XawLf0BqIMmsbMdBU540U/gZQQsi/MgqQ== 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=j7a/tBtXoA1sxyy9CFowgvmE+PvBfmLepSZfF7FmpRI=; b=RCjMlJCgQyGDMqg9WgUfWt6pQpgDViWVIl0jW/gWrm7fhw8bFMrK5/pskbljh2MYZTVu9T0P8dAGwF34O3kzCfY6Rkf7pLLzsPEG7KbCX7Y8AZE0bZHBeKgFlBaue5/iRr4Y524KRcbmEbF89hjD7T9wG1L+vvOH9cOl6zc27LWsJzSoQrPpBgtF5/j93nnlNzW1QUcasPs78kBkFJaHtz1N/ranYi/bk0OSnkZEkERpgY4GKe9ckiCUMliXGXKUV6VlMsVKKScj0bqaG8alulAyJObBEblJf1LOgdfwficECz3P5sdPCj4hWaZGDf3X+VaPeJYkIwatwGQxgurHsg== 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=j7a/tBtXoA1sxyy9CFowgvmE+PvBfmLepSZfF7FmpRI=; b=Rr2iY9z7yu141Xq/g49v+KoZeemK4w33PUKhN7tdblqFc42oAqTahIo2uC/7T9Iq5kkI5gKNbA4zDD9o1yX2oFpo1/JaBob7o9ZaOSDIxSjO/3AFMBM9T3kp6ErgU5dzuIzlg2pu2Xv3Y/PZLBSlFGIMF+PSmSrNqNmRkDlxbfE= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) by DM5PR12MB2504.namprd12.prod.outlook.com (2603:10b6:4:b5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Tue, 19 May 2020 21:51:39 +0000 Received: from DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::4ce1:9947:9681:c8b1]) by DM5PR12MB1355.namprd12.prod.outlook.com ([fe80::4ce1:9947:9681:c8b1%10]) with mapi id 15.20.3000.034; Tue, 19 May 2020 21:51:39 +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 , Maurice Ma , Guo Dong , Benjamin You Subject: [PATCH v8 10/46] UefiPayloadPkg: Prepare UefiPayloadPkg to use the VmgExitLib library Date: Tue, 19 May 2020 16:50:38 -0500 Message-Id: <21041fa953f3a95d5e673bbe7cff3420578e0608.1589925074.git.thomas.lendacky@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ClientProxiedBy: DM6PR11CA0048.namprd11.prod.outlook.com (2603:10b6:5:14c::25) To DM5PR12MB1355.namprd12.prod.outlook.com (2603:10b6:3:6e::7) 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 DM6PR11CA0048.namprd11.prod.outlook.com (2603:10b6:5:14c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25 via Frontend Transport; Tue, 19 May 2020 21:51:38 +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: 0809d91a-f6fb-4c8c-c54e-08d7fc3ecf12 X-MS-TrafficTypeDiagnostic: DM5PR12MB2504: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2733; X-Forefront-PRVS: 040866B734 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l4lfcqABL74yNZgAekRYB+aU0l3iq2MWTyn1lGsMDgFLRoTuFLsgS/kCoadYU/qRrhx5lUKkHTr4X1XIcWwWZkrAtC6NaTh/y04pgeAtPxFoyJ52kIoDNX5X/X1XLWQpW3rYKgfJfRQKIgmjDhvNjKvLRyr7+xqryvjlSkwY6blJ17lWESHn3McZZ1k+B1mmBBD3WmPIdCzoj31mIsXjC9QBHiSARPLcYs3OdsGW3/Pmboe5Wks0wkjAntSFb7sb+wT0eHTlDI0I/3e4zY+tk7twWRPZDAyweQqONNI2H2+Ao0aKmsTOKln4wcotIOz33GosXz7gZqmgLC4LBUY/HqWx9QJbgiG1L2ePJZoeSaNTW4hlTwcVbBvMQQi3iNBj0Y47BcRsuwekjYBz8AHign3cENQh4BjZCRW6+CgCw5Ovxr5cqmUD/QUu6KnblJpP8bTGkWVDv7IwypUnQh3Mh7DmtFHflCvh9x4d9PGumlpu+JD3OWgZpSbuYviILtbjV6XE4+ePXX6eq3qdSiWEvvje4DWFXzObt4gT7nZhxkQkfirGHNJbVEzHKM0Lr28D8PEjir3fLufbti8d9qFOZA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1355.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(376002)(39860400002)(136003)(346002)(396003)(366004)(316002)(86362001)(2906002)(54906003)(7696005)(52116002)(2616005)(956004)(66946007)(66476007)(19627235002)(66556008)(36756003)(26005)(16526019)(186003)(7416002)(4326008)(8676002)(5660300002)(966005)(6486002)(8936002)(6916009)(478600001)(136400200001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: mJwSH6kOqRjYjpueJfCFQW9HAfXyqHX8j/Jsappcf84FsA6BFNb0yDfqMTuLv12bAIIEZzl7BZicH59PmxvgGYF0aaq8SgH2BYobRPTqjNbkr6SN0SqIqF/JxTfLoNdO1cCcvw0zX3YE4BN2ZZYubIZJ2UBl2PTmfG936Imuo+BdDe0WBXhOWOjTx3FVfC32cZcDiD/+/5dvsxBqge5Cx9xqXZSId07x8/WAkx+Bocn1d3C9CFqvNnl1QYqH+GGWAemKsk1rXN5KZn3gRkiE/u3OmG/smIUVP3GN0ZqrrWMrfcDvrs80eYrAmtxxV/YusL/E+JwHTPieS7Ejxbph1hby19lueTbYpYR43kuNjTWsNfuT8532+KRWjFDuRdqEQaaxv81f6OQ+9n2Km6L3weB8ZaLBb5kkw/7CFHT9m0OBaKeTiGoHafszozeKtb7NefSkwAWUhTVKlmp72x2XaitLHBy0slwQjaA8zYrgSGI= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0809d91a-f6fb-4c8c-c54e-08d7fc3ecf12 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2020 21:51:39.1139 (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: 5grSOHg/fFon59NM/IkMS0BY9lAao1B7U8sAAwTCllPrIO8c6wkWb298mGlJtjKKOdYeg/tp6jzdvpSBXlfwlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2504 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: Maurice Ma Cc: Guo Dong Cc: Benjamin You 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..810de274652c 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/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -245,6 +246,7 @@ [LibraryClasses.common.DXE_DRIVER] !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.DXE_RUNTIME_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf diff --git a/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc b/UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc index 0736cd995476..adb754b28baa 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/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.DXE_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -246,6 +247,7 @@ [LibraryClasses.common.DXE_DRIVER] !endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf [LibraryClasses.common.DXE_RUNTIME_DRIVER] PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf -- 2.17.1