## @file # Implement the Driver of SmmChipsetSvc. # # *************************************************************************** # * Copyright (c) 2014 - 2021, 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 = ChipsetSvcSmm FILE_GUID = D359DE86-0A1B-47bc-95D2-1D1F8FFF0AD8 MODULE_TYPE = DXE_SMM_DRIVER PI_SPECIFICATION_VERSION = 0x0001000A VERSION_STRING = 1.0 ENTRY_POINT = ChipsetSvcSmmEntryPoint [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec $(CHIPSET_REF_CODE_PKG)/$(CHIPSET_REF_CODE_DEC_NAME).dec $(PROJECT_PKG)/Project.dec $(CHIPSET_PKG)/$(CHIPSET_PKG).dec InsydeModulePkg/InsydeModulePkg.dec PerformancePkg/PerformancePkg.dec InsydeOemServicesPkg/InsydeOemServicesPkg.dec $(CHIPSET_REF_CODE_PKG)/SiPkg.dec $(PLATFORMSAMPLE_PACKAGE)/PlatformPkg.dec AlderLakeBoardPkg/BoardPkg.dec #[-start-210623-YUNLEI0104-add] !if $(LCFC_SUPPORT_ENABLE) == YES $(OEM_FEATURE_OVERRIDE_CORE_CODE)/$(OEM_FEATURE_OVERRIDE_CORE_CODE).dec $(OEM_FEATURE_COMMON_PATH)/$(OEM_FEATURE_COMMON_PATH).dec LfcPkg/LfcPkg.dec !endif #[-end-210623-YUNLEI0104-add] [Sources] ChipsetSvcSmm.c ComponentName.c ComponentName.h ResetSystem.c LegacyRegionAccessCtrl.c EnableFdWrites.c SataComReset.c CsSvcIhisiFbts.c CsSvcIhisiFbts.h CsSvcIhisiFets.c CsSvcIhisiFets.h CsSvcIhisiOemExtraDataCommunication.c CsSvcIhisiOemExtraDataCommunication.h [LibraryClasses] UefiDriverEntryPoint SmmServicesTableLib MemoryAllocationLib BaseMemoryLib BaseLib DebugLib PcdLib UefiLib PciCf8Lib IoLib BaseOemSvcKernelLibDefault MmPciLib CmosLib SpiAccessLib BaseOemSvcKernelLibDefault GpioLib HobLib PchInfoLib VariableLib ChipsetSignatureLib DxeMeLib MeShowBufferLib TimerLib SmmHeciLib PerformanceLib MsrFruLib [Protocols] gEfiDriverSupportedEfiVersionProtocolGuid gEfiComponentName2ProtocolGuid gEfiComponentNameProtocolGuid gH2OSmmChipsetServicesProtocolGuid gEfiSmmFwBlockServiceProtocolGuid gH2OIhisiProtocolGuid gEfiSmmVariableProtocolGuid gSmmBiosGuardProtocolGuid [Guids] gSaDataHobGuid gSaConfigHobGuid gSecureFlashInfoGuid gBiosGuardHobGuid gSiMemoryPlatformDataGuid gBiosInfoFlagGuid [Pcd] gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress gInsydeTokenSpaceGuid.PcdPortNumberMapTable gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress gChipsetPkgTokenSpaceGuid.PcdPchGpioBaseAddress gSiPkgTokenSpaceGuid.PcdBiosGuardEnable gInsydeTokenSpaceGuid.PcdFlashAreaBaseAddress gChipsetPkgTokenSpaceGuid.PcdFlashPartBaseAddress gInsydeTokenSpaceGuid.PcdSecureFlashSupported [FixedPcd] gSiPkgTokenSpaceGuid.PcdAmtEnable [FeaturePcd] gChipsetPkgTokenSpaceGuid.PcdEcSharedFlashSupported gChipsetPkgTokenSpaceGuid.PcdEcIdlePerWriteBlockSupported gChipsetPkgTokenSpaceGuid.PcdDisableCacheSupportInEnableFdWrites gChipsetPkgTokenSpaceGuid.PcdIhisiToolBackwardSupport [FixedPcd] gInsydeTokenSpaceGuid.PcdFlashFvMainBase gInsydeTokenSpaceGuid.PcdFlashFvMainSize gInsydeTokenSpaceGuid.PcdFlashFvRecoveryBase gInsydeTokenSpaceGuid.PcdFlashFvRecoverySize gInsydeTokenSpaceGuid.PcdFlashNvStorageMsdmDataBase gInsydeTokenSpaceGuid.PcdFlashNvStorageMsdmDataSize gInsydeTokenSpaceGuid.PcdFlashNvStorageMicrocodeBase gInsydeTokenSpaceGuid.PcdFlashNvStorageMicrocodeSize gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize #[-start-210623-YUNLEI0104-add] !if $(LCFC_SUPPORT_ENABLE) == YES gL05ServicesTokenSpaceGuid.PcdFlashFvSystemSupervisorPasswordBase gL05ServicesTokenSpaceGuid.PcdFlashFvSystemSupervisorPasswordSize gL05ServicesTokenSpaceGuid.PcdFlashFvSystemUserPasswordBase gL05ServicesTokenSpaceGuid.PcdFlashFvSystemUserPasswordSize gEfiLfcPkgTokenSpaceGuid.PcdFlashFvLvarSub1Base gEfiLfcPkgTokenSpaceGuid.PcdFlashFvLvarSub1Size gEfiLfcPkgTokenSpaceGuid.PcdFlashFvLvarSub2Base gEfiLfcPkgTokenSpaceGuid.PcdFlashFvLvarSub2Size gEfiLfcPkgTokenSpaceGuid.PcdFlashFvLvarDebugBase gEfiLfcPkgTokenSpaceGuid.PcdFlashFvLvarDebugSize gL05ServicesTokenSpaceGuid.PcdFlashFvL05ComputraceRegionBase gL05ServicesTokenSpaceGuid.PcdFlashFvL05ComputraceRegionSize !endif #[-end-210623-YUNLEI0104-add] [Depex] TRUE