Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
WhitleyOpenBoardPkg/AcpiTablesLib: Add library for AcpiPlatform driver
Browse files Browse the repository at this point in the history
AcpiTablesLib allows for board specific updates to ACPI tables.

Cc: Nate DeSimone <[email protected]>
Cc: Chasel Chiu <[email protected]>
Signed-off-by: Isaac Oram <[email protected]>
Reviewed-by: Nate DeSimone <[email protected]>
  • Loading branch information
iworam committed Mar 11, 2022
1 parent 34aa744 commit c7bc548
Show file tree
Hide file tree
Showing 19 changed files with 9,642 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
## @file
# Library functions for ACPI Table Update library.
#
# @copyright
# Copyright 2015 - 2020 Intel Corporation. <BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

################################################################################
#
# Defines Section - statements that will be processed to create a Makefile.
#
################################################################################
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = AcpiPlatformTableLib
FILE_GUID = 09114814-BF6D-4B2D-BD61-C1F0668DE06E
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = AcpiPlatformTableLib
CONSTRUCTOR = AcpiPlatformLibConstructor

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

################################################################################
#
# Sources Section - list of files that are required for the build to succeed.
#
################################################################################

[Sources]
AcpiPlatformLibApic.c
AcpiPlatformLibBdat.c
AcpiPlatformLibDsdt.c
AcpiPlatformLibFadt.c
AcpiPlatformLibMcfg.c
AcpiPlatformLibMsct.c
AcpiPlatformLib.c
AcpiPlatformLibLocal.h
AcpiPlatformLibNfit.c
AcpiPlatformLibPcat.c
AcpiPlatformLibSlit.c
AcpiPlatformLibSrat.c
AcpiPlatformLibSsdt.c
AcpiPlatformLibMigt.c
AcpiPlatformLibPmtt.c
AcpiPlatformLibHmat.c

################################################################################
#
# Package Dependency Section - list of Package files that are required for
# this module.
#
################################################################################

[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
UefiCpuPkg/UefiCpuPkg.dec
WhitleyOpenBoardPkg/PlatformPkg.dec
WhitleySiliconPkg/SiliconPkg.dec
WhitleySiliconPkg/CpRcPkg.dec
WhitleySiliconPkg/Cpu/CpuRcPkg.dec
WhitleySiliconPkg/WhitleySiliconPkg.dec

[LibraryClasses]
BaseLib
DebugLib
PcdLib
MemoryAllocationLib
BuildAcpiTablesLib
CrcLib
UbaPlatLib
PlatformSpecificAcpiTableLib
CompressDxeLib
UefiDecompressLib

[Protocols]
gDxePchPlatformPolicyProtocolGuid
gEfiNfitTableUpdateProtocolGuid
gSmbiosMemInfoProtocolGuid
gAcpiPlatformProtocolGuid
gEfiSmbiosProtocolGuid
gEfiCpuCsrAccessGuid
gDynamicSiLibraryProtocolGuid ## CONSUMES
gDynamicSiLibraryProtocol2Guid ## CONSUMES

[Guids]
gEfiPlatformInfoGuid
gFpgaSocketVariableGuid
gEwlBdatSchemaGuid
gSpdBdatSchemaGuid
gSpdVersion1Guid
gSpdVariableGuid
gMemTrainingDataBdatSchemaGuid
gMemTrainingDataVersion1Guid
gMemTrainingDataHobGuid

[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision
gPlatformTokenSpaceGuid.ReservedB
gSiPkgTokenSpaceGuid.PcdAcpiBaseAddress
gOemSkuTokenSpaceGuid.PcdOemSkuAcpiName
gPlatformTokenSpaceGuid.PcdPlatformNotSupportAcpiTable
gPlatformTokenSpaceGuid.PcdPlatformNotSupportAcpiBdatTable
gPlatformModuleTokenSpaceGuid.PcdWsmtProtectionFlags
gPlatformTokenSpaceGuid.PcdHalfWidth
gCpuPkgTokenSpaceGuid.PcdCpuConfigContextBuffer ## CONSUMES

[FixedPcd]
gEfiCpRcPkgTokenSpaceGuid.PcdMaxCpuSocketCount
gEfiCpRcPkgTokenSpaceGuid.PcdMaxCpuCoreCount
gEfiCpRcPkgTokenSpaceGuid.PcdMaxCpuThreadCount
gEfiCpRcPkgTokenSpaceGuid.SaveSpdToBdat
gEfiCpRcPkgTokenSpaceGuid.SaveMrcTrainingDataToBdat

[Depex]
gDynamicSiLibraryProtocolGuid AND
gDynamicSiLibraryProtocol2Guid
Loading

0 comments on commit c7bc548

Please sign in to comment.