You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
Add feature enable PCD. Use MinPlatformPkg build include files. Fix PEI_COR typo in PEI handler lib. Build StatusCodeHandler components with unique filename GUID. Add PreMemory.fdf and PostMemory.fdf include files. Improve Readme formatting and feature enabling checklist. Cc: Eric Dong <eric.dong@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
## @file
|
|
# This package provides PostCode Debug feature.
|
|
# This package should only depend on EDK II Core packages, IntelSiliconPkg, and MinPlatformPkg.
|
|
#
|
|
# The DEC files are used by the utilities that parse DSC and
|
|
# INF files to generate AutoGen.c and AutoGen.h files
|
|
# for the build infrastructure.
|
|
#
|
|
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
DEC_SPECIFICATION = 0x00010017
|
|
PACKAGE_NAME = PostCodeDebugFeaturePkg
|
|
PACKAGE_GUID = A579E0A8-0D27-4CA6-900E-D613003729DE
|
|
PACKAGE_VERSION = 0.1
|
|
|
|
[Includes]
|
|
Include
|
|
|
|
[LibraryClasses]
|
|
## @libraryclass Provide the function to map the status code to post code.
|
|
PostCodeMapLib|Include/Library/PostCodeMapLib.h
|
|
|
|
[Guids]
|
|
gPostCodeDebugFeaturePkgTokenSpaceGuid = {0x68886ac8, 0x7a29, 0x4845, {0xa7, 0x02, 0xe9, 0x83, 0xc8, 0x7f, 0xfb, 0xab}}
|
|
|
|
[PcdsFeatureFlag]
|
|
gPostCodeDebugFeaturePkgTokenSpaceGuid.PcdPostCodeDebugFeatureEnable|FALSE|BOOLEAN|0x00000002
|
|
|
|
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
|
|
## This PCD allows for dynamic control of post code use if so desired.
|
|
#
|
|
# The PCD value can be modified at boot time to activate and deactivate the feature functionality.
|
|
#
|
|
# Note that this differs from Pcd<FeatureName>FeatureEnable which determines whether the feature is included
|
|
# as an advanced feature in the flash image. If enabled, the feature is then eligible to be activated/deactivated
|
|
# via this PCD.
|
|
#
|
|
gPostCodeDebugFeaturePkgTokenSpaceGuid.PcdStatusCodeUsePostCode|FALSE|BOOLEAN|0x00000001
|