This is a shell application to dump dynamic PCD settings. Type DumpDynPcd -?/h/H to get help information. Type DumpDynPcd -v/V to get version information. Type DumpDynPcd [PcdName] to get Pcd information. https://bugzilla.tianocore.org/show_bug.cgi?id=1541 v2:1.Add static for global variables. 2.Change the parameter amount of InternalStrnCatGrow in DumpDynPcd.c. 3.Add open brace according to EDK II C Coding Standards Specification. 4.Remove the dependency on ShellPkg.dec in DumpDynPcd.inf. v3:Add static for all global variables and internal functions. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
51 lines
1.3 KiB
INI
51 lines
1.3 KiB
INI
## @file
|
|
# DumpDynPcd is a shell application to dump dynamic pcd information.
|
|
#
|
|
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010006
|
|
BASE_NAME = DumpDynPcd
|
|
FILE_GUID = 31ADA2B2-62EA-4866-9B87-03FEA8425974
|
|
MODULE_TYPE = UEFI_APPLICATION
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = DumpDynPcdMain
|
|
|
|
#
|
|
# This flag specifies whether HII resource section is generated into PE image.
|
|
#
|
|
UEFI_HII_RESOURCE_SECTION = TRUE
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
DumpDynPcd.c
|
|
DumpDynPcdStr.uni
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
UefiApplicationEntryPoint
|
|
DebugLib
|
|
MemoryAllocationLib
|
|
UefiLib
|
|
UefiBootServicesTableLib
|
|
|
|
[Protocols]
|
|
gEfiUnicodeCollation2ProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiPcdProtocolGuid ## CONSUMES
|
|
gPcdProtocolGuid ## CONSUMES
|
|
gEfiGetPcdInfoProtocolGuid ## CONSUMES
|
|
gGetPcdInfoProtocolGuid ## CONSUMES
|
|
gEfiShellParametersProtocolGuid ## CONSUMES
|
|
|