https://bugzilla.tianocore.org/show_bug.cgi?id=967 Request to add a library function for GetAcpiTable() in order to get ACPI table using signature as input. After evaluation, we found there are many duplicated code to find ACPI table by signature in different modules. This patch updates DpDynamicCommand to use new EfiLocateFirstAcpiTable() and remove the duplicated code. Cc: Younas khan <pmdyounaskhan786@gmail.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
72 lines
2.1 KiB
INI
72 lines
2.1 KiB
INI
## @file
|
|
# Provides Shell 'dp' standalone application.
|
|
#
|
|
# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010006
|
|
BASE_NAME = dp
|
|
FILE_GUID = 1831A379-2D48-45BD-9744-D4059D93815D
|
|
MODULE_TYPE = UEFI_APPLICATION
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = DpAppInitialize
|
|
#
|
|
# This flag specifies whether HII resource section is generated into PE image.
|
|
#
|
|
UEFI_HII_RESOURCE_SECTION = TRUE
|
|
|
|
[Sources.common]
|
|
Dp.uni
|
|
Dp.c
|
|
Dp.h
|
|
Literals.h
|
|
Literals.c
|
|
DpInternal.h
|
|
DpUtilities.c
|
|
DpTrace.c
|
|
DpApp.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
ShellPkg/ShellPkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
MemoryAllocationLib
|
|
BaseLib
|
|
BaseMemoryLib
|
|
DebugLib
|
|
ShellLib
|
|
UefiLib
|
|
UefiRuntimeServicesTableLib
|
|
UefiBootServicesTableLib
|
|
UefiApplicationEntryPoint
|
|
SortLib
|
|
PrintLib
|
|
DevicePathLib
|
|
PerformanceLib
|
|
DxeServicesLib
|
|
PeCoffGetEntryPointLib
|
|
|
|
[Guids]
|
|
gPerformanceProtocolGuid ## CONSUMES ## SystemTable
|
|
|
|
[Protocols]
|
|
gEfiLoadedImageProtocolGuid ## CONSUMES
|
|
gEfiDriverBindingProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiComponentName2ProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiLoadedImageDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiHiiPackageListProtocolGuid ## CONSUMES
|
|
|
|
[Pcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize ## CONSUMES
|