PrmPkg/Application/PrmInfo: Add initial application
Adds a new UEFI application called "PrmInfo" that allows a user to display and test Platform Runtime Mechanism (PRM) modules. Execute the application help command for detailed usage instructions and examples of how to use the application: "PrmInfo -?" This application is intended to be helpful during PRM enabling by allowing the user to: 1. Confirm that their firmware port of the PRM infrastructure implemented in this package is functioning correctly. 2. Quickly get information about what PRM modules and handlers are present on a given system. 3. Quickly test PRM handlers without booting to a fully featured operating system. 4. Develop and exercise PRM handlers prior to the availability of an operating system that is PRM aware. Adds a brief section to Readme.md about the PrmInfo UEFI application with a link to allow the reader to find more information about the application if interested. Cc: Andrew Fish <afish@apple.com> Cc: Kang Gao <kang.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Liu Yun <yun.y.liu@intel.com> Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Ankit Sinha <ankit.sinha@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
6b7dde7cdd
commit
4348c72ad0
66
PrmPkg/Application/PrmInfo/PrmInfo.inf
Normal file
66
PrmPkg/Application/PrmInfo/PrmInfo.inf
Normal file
@@ -0,0 +1,66 @@
|
||||
## @file
|
||||
# PrmInfo.inf
|
||||
#
|
||||
# Reports information about the PRM configuration currently loaded on the system.
|
||||
#
|
||||
# Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010017
|
||||
BASE_NAME = PrmInfo
|
||||
FILE_GUID = F26C503B-BD8E-4274-A80B-2C4E20FADA6E
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = UefiMain
|
||||
UEFI_HII_RESOURCE_SECTION = TRUE
|
||||
MODULE_UNI_FILE = PrmInfo.uni
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
PrmInfoStrings.uni
|
||||
PrmInfo.h
|
||||
PrmInfo.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
ShellPkg/ShellPkg.dec
|
||||
PrmPkg/PrmPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
BaseMemoryLib
|
||||
DebugLib
|
||||
HiiLib
|
||||
MemoryAllocationLib
|
||||
PcdLib
|
||||
PrmContextBufferLib
|
||||
PrmModuleDiscoveryLib
|
||||
PrmPeCoffLib
|
||||
ShellLib
|
||||
TimerLib
|
||||
UefiApplicationEntryPoint
|
||||
UefiBootServicesTableLib
|
||||
UefiHiiServicesLib
|
||||
UefiLib
|
||||
|
||||
[Pcd]
|
||||
gPrmPkgTokenSpaceGuid.PcdPrmInfoPrintHandlerExecutionTime
|
||||
|
||||
[Protocols]
|
||||
gEfiHiiPackageListProtocolGuid ## CONSUMES
|
||||
|
||||
[Guids]
|
||||
gPrmHiiGuid
|
||||
gZeroGuid
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
PrmInfoExtra.uni
|
Reference in New Issue
Block a user