MdeModulePkg/CapsuleApp: Add CapsuleApp application.
This CapsuleApp can help perform capsule update in UEFI shell environment. It can also dump capsule information, capsule status variable, ESRT and FMP. Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Tested-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
71
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
Normal file
71
MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
Normal file
@@ -0,0 +1,71 @@
|
||||
## @file
|
||||
# A shell application that triggers capsule update process.
|
||||
#
|
||||
# This application can trigger capsule update process. It can also
|
||||
# generate capsule image, or dump capsule variable information.
|
||||
#
|
||||
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
# 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 = CapsuleApp
|
||||
MODULE_UNI_FILE = CapsuleApp.uni
|
||||
FILE_GUID = 4CEF31DA-8682-4274-9CC4-AEE7516A5E7B
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = UefiMain
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
CapsuleApp.c
|
||||
CapsuleDump.c
|
||||
AppSupport.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[Guids]
|
||||
gEfiFileInfoGuid
|
||||
gEfiPartTypeSystemPartGuid
|
||||
gEfiGlobalVariableGuid
|
||||
gEfiCapsuleReportGuid
|
||||
gEfiFmpCapsuleGuid
|
||||
gWindowsUxCapsuleGuid
|
||||
gEfiCertTypeRsa2048Sha256Guid
|
||||
gEfiCertPkcs7Guid
|
||||
gEfiSystemResourceTableGuid
|
||||
|
||||
[Protocols]
|
||||
gEfiLoadedImageProtocolGuid
|
||||
gEfiSimpleFileSystemProtocolGuid
|
||||
gEfiGraphicsOutputProtocolGuid
|
||||
gEfiFirmwareManagementProtocolGuid
|
||||
gEfiShellParametersProtocolGuid
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
UefiApplicationEntryPoint
|
||||
DebugLib
|
||||
MemoryAllocationLib
|
||||
UefiBootServicesTableLib
|
||||
UefiRuntimeServicesTableLib
|
||||
UefiLib
|
||||
PrintLib
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
CapsuleAppExtra.uni
|
Reference in New Issue
Block a user