]> git.proxmox.com Git - mirror_edk2.git/commit
PerformancePkg/Dp_App: Fix the error message "Timer library instance error!"
authorCinnamon Shia <cinnamon.shia@hpe.com>
Mon, 2 May 2016 04:34:09 +0000 (12:34 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 3 May 2016 04:37:57 +0000 (12:37 +0800)
commit0cd1e699e5f76b3323b5881932af8a62bc5edf2a
treee557e02b145cfd5a7d5f402b36d227a2b616801e
parent69af847603ca1f6439031c4e1fee844fdb06ca6f
PerformancePkg/Dp_App: 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>
PerformancePkg/Dp_App/DpUtilities.c