mirror_edk2/ShellPkg/Library/UefiDpLib
Cinnamon Shia 69af847603 ShellPkg/UefiDpLib: Fix the error message "Timer library instance error!"
When executing shell dp command, there is an error message "Timer library
instance error!"

The error message "Timer library instance error!" should be for the case about
duration > EndTimeStamp if CountUp or duration > StartTimeStamp if CountDown.

But if the EndTimeStamp of an entry is not added, it should not the case to catch.

This change fixes the error message "Timer library instance error!" from the
"BdsAttempt" entry which is logged when trying to boot a boot option.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2016-05-03 12:37:51 +08:00
..
Dp.c ShellPkg/UefiDpLib: Fix a memory leak issue in Dp. 2016-03-29 09:16:25 +08:00
Dp.h ShellPkg: Add "dp" command library to ShellPkg. 2013-03-04 22:02:59 +00:00
DpInternal.h ShellPkg/UefiDpLib: Support execution break 2016-03-08 18:23:53 +08:00
DpProfile.c ShellPkg: Add "dp" command library to ShellPkg. 2013-03-04 22:02:59 +00:00
DpTrace.c ShellPkg/UefiDpLib: Support execution break 2016-03-08 18:23:53 +08:00
DpUtilities.c ShellPkg/UefiDpLib: Fix the error message "Timer library instance error!" 2016-05-03 12:37:51 +08:00
Literals.c ShellPkg: Add "dp" command library to ShellPkg. 2013-03-04 22:02:59 +00:00
Literals.h ShellPkg: Add "dp" command library to ShellPkg. 2013-03-04 22:02:59 +00:00
PerformanceTokens.h ShellPkg: Remove PerformancePkg requirement and add the header itself. 2013-03-19 20:17:47 +00:00
Readme.txt Update code to follow coding style. 2013-03-11 01:22:51 +00:00
UefiDpLib.c ShellPkg: Add "dp" command library to ShellPkg. 2013-03-04 22:02:59 +00:00
UefiDpLib.h ShellPkg/UefiDpLib: Support execution break 2016-03-08 18:23:53 +08:00
UefiDpLib.inf ShellPkg: Refine the fomat in INF/DEC files to follow spec. 2015-01-22 01:44:11 +00:00
UefiDpLib.uni ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00

from PerformancePkg\Dp_App
SVN 13406