## @file
# Component description file for the PeiSaPolicy library.
#
# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##


[Defines]
INF_VERSION = 0x00010017
BASE_NAME = PeiSaPolicyLib
FILE_GUID = d7022865-ef1b-449d-8c3f-ac36488c408b
VERSION_STRING = 1.0
MODULE_TYPE = PEIM
LIBRARY_CLASS = PeiSaPolicyLib


[LibraryClasses]
DebugLib
IoLib
PeiServicesLib
BaseMemoryLib
MemoryAllocationLib
ConfigBlockLib
CpuMailboxLib
SiConfigBlockLib
RngLib
SmbusLib
PchCycleDecodingLib

[Packages]
MdePkg/MdePkg.dec
UefiCpuPkg/UefiCpuPkg.dec
KabylakeSiliconPkg/SiPkg.dec

[Pcd]
gSiPkgTokenSpaceGuid.PcdTsegSize
gSiPkgTokenSpaceGuid.PcdMchBaseAddress
gSiPkgTokenSpaceGuid.PcdSmbusBaseAddress
gSiPkgTokenSpaceGuid.PcdPeiMinMemorySize

[Sources]
PeiSaPolicyLib.c
PeiSaPolicyLibrary.h
MrcOemPlatform.c
MrcOemPlatform.h
SaPrintPolicy.c
PeiSaPolicyLibSample.c

[Sources.IA32]
Ia32/MrcOemPlatform.asm     | MSFT
Ia32/MrcOemPlatform.S    | GCC
# Ia32/MrcOemPlatform.nasm    | GCC # To support Nasm

[Ppis]
gSiPreMemPolicyPpiGuid        ## CONSUMES
gSiPolicyPpiGuid              ## CONSUMES

[Guids]
gSaMiscPeiPreMemConfigGuid      ## PRODUCES
gMemoryConfigGuid               ## PRODUCES
gMemoryConfigNoCrcGuid          ## PRODUCES
gGraphicsPeiConfigGuid          ## CONSUMES
gVtdConfigGuid                  ## PRODUCES
