]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.uni
ShellPkg: update ping to use timer service instead of timer arch protocol .
authorFu Siyuan <siyuan.fu@intel.com>
Thu, 8 Sep 2016 03:27:12 +0000 (11:27 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Tue, 25 Oct 2016 07:16:43 +0000 (15:16 +0800)
commit2a3263303b5131e9e2cdb7106e17fc4c28b5c4b3
tree4d87d01de8634efb64e27b655f7481b87534fe2d
parent8e947c07b6dbc426d262a7070fafe3d2ae4c4e04
ShellPkg: update ping to use timer service instead of timer arch protocol .

The ping command uses PI CPU arch protocol to calculate the RTT time, which is
not allowed to use in UEFI shell. This patch updates it to use the UEFI timer
event and Stall service to estimate the system timer period.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com>
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.uni