Xcode5SecPeiCpuExceptionHandlerLib.inf 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ## @file
  2. # CPU Exception Handler library instance for SEC/PEI modules.
  3. #
  4. # Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>
  5. # Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. # This is the XCODE5 variant of the SEC/PEI CpuExceptionHandlerLib. This
  9. # variant performs binary patching to fix up addresses that allow the
  10. # XCODE5 toolchain to be used.
  11. #
  12. ##
  13. [Defines]
  14. INF_VERSION = 0x00010005
  15. BASE_NAME = Xcode5SecPeiCpuExceptionHandlerLib
  16. MODULE_UNI_FILE = Xcode5SecPeiCpuExceptionHandlerLib.uni
  17. FILE_GUID = 49C481AF-1621-42F3-8FA1-27C64143E304
  18. MODULE_TYPE = PEIM
  19. VERSION_STRING = 1.1
  20. LIBRARY_CLASS = CpuExceptionHandlerLib|SEC PEI_CORE PEIM
  21. #
  22. # The following information is for reference only and not required by the build tools.
  23. #
  24. # VALID_ARCHITECTURES = IA32 X64
  25. #
  26. [Sources.Ia32]
  27. Ia32/ExceptionHandlerAsm.nasm
  28. Ia32/ExceptionTssEntryAsm.nasm
  29. Ia32/ArchExceptionHandler.c
  30. Ia32/ArchInterruptDefs.h
  31. [Sources.X64]
  32. X64/Xcode5ExceptionHandlerAsm.nasm
  33. X64/ArchExceptionHandler.c
  34. X64/ArchInterruptDefs.h
  35. [Sources.common]
  36. CpuExceptionCommon.h
  37. CpuExceptionCommon.c
  38. SecPeiCpuException.c
  39. [Packages]
  40. MdePkg/MdePkg.dec
  41. MdeModulePkg/MdeModulePkg.dec
  42. UefiCpuPkg/UefiCpuPkg.dec
  43. [LibraryClasses]
  44. BaseLib
  45. SerialPortLib
  46. PrintLib
  47. LocalApicLib
  48. PeCoffGetEntryPointLib
  49. CcExitLib
  50. [Pcd]
  51. gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard
  52. gUefiCpuPkgTokenSpaceGuid.PcdCpuStackSwitchExceptionList
  53. gUefiCpuPkgTokenSpaceGuid.PcdCpuKnownGoodStackSize
  54. [FeaturePcd]
  55. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard ## CONSUMES