This repository has been archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WhitleyOpenBoardPkg/AcpiTablesLib: Add library for AcpiPlatform driver
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
Showing
19 changed files
with
9,642 additions
and
0 deletions.
There are no files selected for viewing
534 changes: 534 additions & 0 deletions
534
Platform/Intel/WhitleyOpenBoardPkg/Library/AcpiPlatformTableLib/AcpiPlatformLib.c
Large diffs are not rendered by default.
Oops, something went wrong.
127 changes: 127 additions & 0 deletions
127
Platform/Intel/WhitleyOpenBoardPkg/Library/AcpiPlatformTableLib/AcpiPlatformLib.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.