Reviewed-by: Ray Ni <ray...@intel.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ard Biesheuvel
Sent: Friday, March 31, 2023 5:21 AM
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <a...@kernel.org>; Ni; Ni, Ray <ray...@intel.com>; Andrew 
Fish <af...@apple.com>; Kinney, Michael D <michael.d.kin...@intel.com>; Liu, 
Zhiguang <zhiguang....@intel.com>; Rebecca Cran <rebe...@bsdio.com>; Tom 
Lendacky <thomas.lenda...@amd.com>
Subject: [edk2-devel] [RFT PATCH v2 6/6] UefiCpuPkg/CpuExceptionHandlerLib: 
Drop special XCODE5 version

This library is no longer used or needed, so let's remove it.

Signed-off-by: Ard Biesheuvel <a...@kernel.org>
---
 
UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
 | 65 --------------------
 
UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.uni
 | 18 ------
 2 files changed, 83 deletions(-)

diff --git 
a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
 
b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
deleted file mode 100644
index c58fbb0d74500e48..0000000000000000
--- 
a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
+++ /dev/null
@@ -1,65 +0,0 @@
-## @file

-#  CPU Exception Handler library instance for SEC/PEI modules.

-#

-#  Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>

-#  Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>

-#  SPDX-License-Identifier: BSD-2-Clause-Patent

-#

-#  This is the XCODE5 variant of the SEC/PEI CpuExceptionHandlerLib. This

-#  variant performs binary patching to fix up addresses that allow the

-#  XCODE5 toolchain to be used.

-#

-##

-

-[Defines]

-  INF_VERSION                    = 0x00010005

-  BASE_NAME                      = Xcode5SecPeiCpuExceptionHandlerLib

-  MODULE_UNI_FILE                = Xcode5SecPeiCpuExceptionHandlerLib.uni

-  FILE_GUID                      = 49C481AF-1621-42F3-8FA1-27C64143E304

-  MODULE_TYPE                    = PEIM

-  VERSION_STRING                 = 1.1

-  LIBRARY_CLASS                  = CpuExceptionHandlerLib|SEC PEI_CORE PEIM

-

-#

-# The following information is for reference only and not required by the 
build tools.

-#

-#  VALID_ARCHITECTURES           = IA32 X64

-#

-

-[Sources.Ia32]

-  Ia32/ExceptionHandlerAsm.nasm

-  Ia32/ExceptionTssEntryAsm.nasm

-  Ia32/ArchExceptionHandler.c

-  Ia32/ArchInterruptDefs.h

-

-[Sources.X64]

-  X64/SecPeiExceptionHandlerAsm.nasm

-  X64/ArchExceptionHandler.c

-  X64/ArchInterruptDefs.h

-

-[Sources.common]

-  CpuExceptionCommon.h

-  CpuExceptionCommon.c

-  SecPeiCpuException.c

-

-[Packages]

-  MdePkg/MdePkg.dec

-  MdeModulePkg/MdeModulePkg.dec

-  UefiCpuPkg/UefiCpuPkg.dec

-

-[LibraryClasses]

-  BaseLib

-  SerialPortLib

-  PrintLib

-  LocalApicLib

-  PeCoffGetEntryPointLib

-  CcExitLib

-

-[Pcd]

-  gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize

-

-[FeaturePcd]

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard                    ## CONSUMES

-

diff --git 
a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.uni
 
b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.uni
deleted file mode 100644
index a63b25f39d992775..0000000000000000
--- 
a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.uni
+++ /dev/null
@@ -1,18 +0,0 @@
-// /** @file

-// XCODE5 CPU Exception Handler library instance for SEC/PEI modules.

-//

-// CPU Exception Handler library instance for SEC/PEI modules when built

-// using the XCODE5 toolchain.

-//

-// Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>

-// Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>

-//

-// SPDX-License-Identifier: BSD-2-Clause-Patent

-//

-// **/

-

-

-#string STR_MODULE_ABSTRACT             #language en-US "CPU Exception Handler 
library instance for SEC/PEI modules with the XCODE5 toolchain."

-

-#string STR_MODULE_DESCRIPTION          #language en-US "CPU Exception Handler 
library instance for SEC/PEI modules with the XCODE5 toolchain."

-

-- 
2.39.2



-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102217): https://edk2.groups.io/g/devel/message/102217
Mute This Topic: https://groups.io/mt/97960772/1712937
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [ray...@intel.com]
-=-=-=-=-=-=




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102231): https://edk2.groups.io/g/devel/message/102231
Mute This Topic: https://groups.io/mt/97960772/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to