From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web11.39168.1680211290833043342 for ; Thu, 30 Mar 2023 14:21:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CYSisgH+; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 598BAB82A43; Thu, 30 Mar 2023 21:21:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39BBFC433A1; Thu, 30 Mar 2023 21:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680211288; bh=rCegH3sxhR/pkTWKWjPC+ghtWRO06ZiX+Ak2dcSxCSw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CYSisgH+8xM07oWP7GbFBTH0VsZZVgKL8+Umngp6uYVWOMLUEIADERp1B6NHVuTF7 JukV0N58i6PANhpHv0PN8peYzTkS7CHbf64Bajbf+eiPbQL2Zy31ABM51Wi+glyIxV Y9L/fVSu62rWf8R6+c3MMGLiNT9RoNQVM9Uw6VAPaTkb+tx5ZAa7d7O/5nWGjq4bAd I4lIbwn8OjdB7eFTczeOvoS7d7i2PvXTbGQaVr2mF0IyP182evtkTNw2FRkqqf8hQm o3sx/aNN5+n95X9dizRNkh7OItqOn7a9GSYJfRMiO5NucE2lvOM82VwXkBBDSwkjwF zWRsV8ead+9Jw== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Ni, Ray , Andrew Fish , "Kinney, Michael D" , "Liu, Zhiguang" , Rebecca Cran , Tom Lendacky Subject: [RFT PATCH v2 6/6] UefiCpuPkg/CpuExceptionHandlerLib: Drop special XCODE5 version Date: Thu, 30 Mar 2023 23:21:01 +0200 Message-Id: <20230330212101.1566931-7-ardb@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230330212101.1566931-1-ardb@kernel.org> References: <20230330212101.1566931-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This library is no longer used or needed, so let's remove it. Signed-off-by: Ard Biesheuvel --- UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerL= ib.inf | 65 -------------------- UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerL= ib.uni | 18 ------ 2 files changed, 83 deletions(-) diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExcep= tionHandlerLib.inf b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPei= CpuExceptionHandlerLib.inf deleted file mode 100644 index c58fbb0d74500e48..0000000000000000 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHan= dlerLib.inf +++ /dev/null @@ -1,65 +0,0 @@ -## @file=0D -# CPU Exception Handler library instance for SEC/PEI modules.=0D -#=0D -# Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.=0D -# Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.
= =0D -# SPDX-License-Identifier: BSD-2-Clause-Patent=0D -#=0D -# This is the XCODE5 variant of the SEC/PEI CpuExceptionHandlerLib. This= =0D -# variant performs binary patching to fix up addresses that allow the=0D -# XCODE5 toolchain to be used.=0D -#=0D -##=0D -=0D -[Defines]=0D - INF_VERSION =3D 0x00010005=0D - BASE_NAME =3D Xcode5SecPeiCpuExceptionHandlerLib=0D - MODULE_UNI_FILE =3D Xcode5SecPeiCpuExceptionHandlerLib.un= i=0D - FILE_GUID =3D 49C481AF-1621-42F3-8FA1-27C64143E304= =0D - MODULE_TYPE =3D PEIM=0D - VERSION_STRING =3D 1.1=0D - LIBRARY_CLASS =3D CpuExceptionHandlerLib|SEC PEI_CORE P= EIM=0D -=0D -#=0D -# The following information is for reference only and not required by the = build tools.=0D -#=0D -# VALID_ARCHITECTURES =3D IA32 X64=0D -#=0D -=0D -[Sources.Ia32]=0D - Ia32/ExceptionHandlerAsm.nasm=0D - Ia32/ExceptionTssEntryAsm.nasm=0D - Ia32/ArchExceptionHandler.c=0D - Ia32/ArchInterruptDefs.h=0D -=0D -[Sources.X64]=0D - X64/SecPeiExceptionHandlerAsm.nasm=0D - X64/ArchExceptionHandler.c=0D - X64/ArchInterruptDefs.h=0D -=0D -[Sources.common]=0D - CpuExceptionCommon.h=0D - CpuExceptionCommon.c=0D - SecPeiCpuException.c=0D -=0D -[Packages]=0D - MdePkg/MdePkg.dec=0D - MdeModulePkg/MdeModulePkg.dec=0D - UefiCpuPkg/UefiCpuPkg.dec=0D -=0D -[LibraryClasses]=0D - BaseLib=0D - SerialPortLib=0D - PrintLib=0D - LocalApicLib=0D - PeCoffGetEntryPointLib=0D - CcExitLib=0D -=0D -[Pcd]=0D - gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard=0D - gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList=0D - gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize=0D -=0D -[FeaturePcd]=0D - gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard ## CONS= UMES=0D -=0D diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExcep= tionHandlerLib.uni b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPei= CpuExceptionHandlerLib.uni deleted file mode 100644 index a63b25f39d992775..0000000000000000 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHan= dlerLib.uni +++ /dev/null @@ -1,18 +0,0 @@ -// /** @file=0D -// XCODE5 CPU Exception Handler library instance for SEC/PEI modules.=0D -//=0D -// CPU Exception Handler library instance for SEC/PEI modules when built=0D -// using the XCODE5 toolchain.=0D -//=0D -// Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.=0D -// Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.
= =0D -//=0D -// SPDX-License-Identifier: BSD-2-Clause-Patent=0D -//=0D -// **/=0D -=0D -=0D -#string STR_MODULE_ABSTRACT #language en-US "CPU Exception Han= dler library instance for SEC/PEI modules with the XCODE5 toolchain."=0D -=0D -#string STR_MODULE_DESCRIPTION #language en-US "CPU Exception Han= dler library instance for SEC/PEI modules with the XCODE5 toolchain."=0D -=0D --=20 2.39.2