## @file # Instance of BIOS Self-Healing Services Library. # #****************************************************************************** #* Copyright (c) 2020, Insyde Software Corp. All Rights Reserved. #* #* You may not reproduce, distribute, publish, display, perform, modify, adapt, #* transmit, broadcast, present, recite, release, license or otherwise exploit #* any part of this publication in any form, by any means, without the prior #* written permission of Insyde Software Corporation. #* #****************************************************************************** [Defines] INF_VERSION = 0x00010005 BASE_NAME = BiosSelfHealingLib FILE_GUID = CDEF7D53-0841-420D-8E7F-C9EF73620950 MODULE_TYPE = BASE VERSION_STRING = 1.0 LIBRARY_CLASS = BiosSelfHealingLib [Sources] BiosSelfHealingLib.c [Packages] $(PROJECT_PKG)/Project.dec $(OEM_FEATURE_COMMON_PATH)/$(OEM_FEATURE_COMMON_PATH).dec $(CHIPSET_PKG)/$(CHIPSET_PKG).dec !if $(L05_CHIPSET_VENDOR) == INTEL $(CHIPSET_REF_CODE_PKG)/$(CHIPSET_REF_CODE_DEC_NAME).dec !endif !if $(L05_CHIPSET_VENDOR) == AMD AgesaModulePkg/AgesaCommonModulePkg.dec AmdPspFeaturePkg/AmdPspFeaturePkg.dec AgesaPkg/AgesaPkg.dec !endif InsydeModulePkg/InsydeModulePkg.dec MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec [LibraryClasses] BaseLib DebugLib BaseMemoryLib BaseOemSvcFeatureLibDefault !if $(L05_CHIPSET_VENDOR) == INTEL PciSegmentLib # PciSegmentRead32 IoLib # MmioRead32 MmPciLib # MmPciBase PchPcrLib # PchPcrAndThenOr32 !endif !if $(L05_CHIPSET_VENDOR) == AMD AmdPspBaseLibV2 # CheckPspRecoveryFlagV2 !endif [Guids] [Pcd] gL05ServicesTokenSpaceGuid.PcdL05ChipsetName gL05ServicesTokenSpaceGuid.PcdFlashFvL05BackupIbbBase gL05ServicesTokenSpaceGuid.PcdFlashFvL05BackupIbbSize gL05ServicesTokenSpaceGuid.PcdFlashFvL05BshDataBase gL05ServicesTokenSpaceGuid.PcdFlashFvReservedBase gL05ServicesTokenSpaceGuid.PcdFlashFvReservedSize !if $(CHIPSET_PKG) == TigerLakeChipsetPkg gChipsetPkgTokenSpaceGuid.PcdFlashFirmwareBinariesFvBase !endif !if $(CHIPSET_PKG) == AlderLakeChipsetPkg gChipsetPkgTokenSpaceGuid.PcdFwResiliencyReservedBase gChipsetPkgTokenSpaceGuid.PcdFwResiliencyReservedSize !endif !if $(CHIPSET_PKG) == Fp6ChipsetPkg !if $(CZN_COMBO_SUPPORT) == YES gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashCznPspDirLv2BBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashCznPspDirLv2BSize gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashCznBiosDirLv2BBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashCznBiosDirLv2BSize gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashCznPspDirLv2ABase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashCznBiosDirLv2ABase !endif !if $(LCN_COMBO_SUPPORT) == YES gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashRnPspDirLv2BBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashRnPspDirLv2BSize gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashRnBiosDirLv2BBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashRnBiosDirLv2BSize gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashRnPspDirLv2ABase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashRnBiosDirLv2ABase !endif gPlatformPkgTokenSpaceGuid.PcdFlashFvRecoveryPadBase gPlatformPkgTokenSpaceGuid.PcdFlashFvRecoveryPadSize gChipsetPkgTokenSpaceGuid.PcdFlashFvRecovery2PadBase !endif !if $(CHIPSET_PKG) == Fp7ChipsetPkg gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashPspDirABase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashBiosDirABase gInsydeTokenSpaceGuid.PcdFlashFvRecoveryBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashPspDirBBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashPspDirBSize gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashBiosDirBBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashBiosDirBSize gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashPeiFlashBBase gAmdPspFeaturePkgTokenSpaceGuid.PcdFlashPeiFlashBSize !endif [BuildOptions] !if $(INSYDE_DEBUGGER) == YES MSFT:*_*_*_CC_FLAGS = /Od !endif