This patch update the shell ping command to use timer service to calculate the RTT time, instead of using the timer arch protocol. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Cc: Ni Ruiyu <ruiyu.ni@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
		
			
				
	
	
		
			65 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
##  @file
 | 
						|
# Provides shell network2 functions
 | 
						|
#
 | 
						|
# 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                      = UefiShellNetwork2CommandsLib
 | 
						|
  FILE_GUID                      = D94E3B82-908E-46bf-A7B9-C7B7F17B1B7D
 | 
						|
  MODULE_TYPE                    = UEFI_APPLICATION
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  LIBRARY_CLASS                  = NULL|UEFI_APPLICATION UEFI_DRIVER
 | 
						|
  CONSTRUCTOR                    = ShellNetwork2CommandsLibConstructor
 | 
						|
  DESTRUCTOR                     = ShellNetwork2CommandsLibDestructor
 | 
						|
 | 
						|
[Sources.common]
 | 
						|
  UefiShellNetwork2CommandsLib.uni
 | 
						|
  UefiShellNetwork2CommandsLib.c
 | 
						|
  UefiShellNetwork2CommandsLib.h
 | 
						|
  Ping6.c
 | 
						|
  Ifconfig6.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  ShellPkg/ShellPkg.dec
 | 
						|
  MdeModulePkg/MdeModulePkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  MemoryAllocationLib
 | 
						|
  BaseLib
 | 
						|
  BaseMemoryLib
 | 
						|
  DebugLib
 | 
						|
  ShellCommandLib
 | 
						|
  ShellLib
 | 
						|
  UefiLib
 | 
						|
  UefiRuntimeServicesTableLib
 | 
						|
  UefiBootServicesTableLib
 | 
						|
  PcdLib
 | 
						|
  HiiLib
 | 
						|
  FileHandleLib
 | 
						|
  NetLib
 | 
						|
 | 
						|
[Pcd]
 | 
						|
  gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask ## CONSUMES
 | 
						|
 | 
						|
[Protocols]
 | 
						|
  gEfiCpuArchProtocolGuid                       ## CONSUMES
 | 
						|
  gEfiTimerArchProtocolGuid
 | 
						|
  gEfiIp6ProtocolGuid                           ## SOMETIMES_CONSUMES
 | 
						|
  gEfiIp6ServiceBindingProtocolGuid             ## SOMETIMES_CONSUMES
 | 
						|
  gEfiIp6ConfigProtocolGuid                     ## SOMETIMES_CONSUMES
 | 
						|
 | 
						|
[Guids]
 | 
						|
  gShellNetwork2HiiGuid                         ## SOMETIMES_CONSUMES ## HII
 |