UEFI Shell spec defines Shell Dynamic Command protocol which is just for the purpose to extend internal command. So tftp command is changed from NULL class library to be a driver producing DynamicCommand protocol. The guideline is: 1. Only use NULL class library for Shell spec defined commands. 2. New commands can be provided as not only a standalone application but also a dynamic command. So it can be used either as an internal command, but also as a standalone application. TftpApp.inf is to provide a standalone application. TftpDynamicCommand.inf is to provide a standalone driver producing Dynamic Command protocol. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com>
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
##  @file
 | 
						|
# Provides Shell 'tftp' standalone application.
 | 
						|
#
 | 
						|
# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR>
 | 
						|
# Copyright (c) 2015, ARM Ltd. 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                      = tftp
 | 
						|
  FILE_GUID                      = 8DC58D0D-67F5-4B97-9DFC-E442BB9A5648
 | 
						|
  MODULE_TYPE                    = UEFI_APPLICATION
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  ENTRY_POINT                    = TftpAppInitialize
 | 
						|
#
 | 
						|
#  This flag specifies whether HII resource section is generated into PE image.
 | 
						|
#
 | 
						|
  UEFI_HII_RESOURCE_SECTION      = TRUE
 | 
						|
 | 
						|
[Sources.common]
 | 
						|
  Tftp.uni
 | 
						|
  Tftp.h
 | 
						|
  Tftp.c
 | 
						|
  TftpApp.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  ShellPkg/ShellPkg.dec
 | 
						|
  MdeModulePkg/MdeModulePkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  MemoryAllocationLib
 | 
						|
  BaseLib
 | 
						|
  BaseMemoryLib
 | 
						|
  DebugLib
 | 
						|
  ShellLib
 | 
						|
  UefiLib
 | 
						|
  UefiRuntimeServicesTableLib
 | 
						|
  UefiBootServicesTableLib
 | 
						|
  UefiApplicationEntryPoint
 | 
						|
  UefiHiiServicesLib
 | 
						|
  HiiLib
 | 
						|
  FileHandleLib
 | 
						|
  NetLib
 | 
						|
 | 
						|
[Protocols]
 | 
						|
  gEfiManagedNetworkServiceBindingProtocolGuid   ## CONSUMES
 | 
						|
  gEfiMtftp4ServiceBindingProtocolGuid           ## CONSUMES
 | 
						|
  gEfiMtftp4ProtocolGuid                         ## CONSUMES
 | 
						|
  gEfiHiiPackageListProtocolGuid                 ## CONSUMES
 |