mirror of https://github.com/acidanthera/audk.git
PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
9802d6d50c
commit
e085023050
|
@ -399,7 +399,7 @@ InitializeDp (
|
||||||
// StartCount = Value loaded into the counter when it starts counting
|
// StartCount = Value loaded into the counter when it starts counting
|
||||||
// EndCount = Value counter counts to before it needs to be reset
|
// EndCount = Value counter counts to before it needs to be reset
|
||||||
//
|
//
|
||||||
Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
|
Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));
|
PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));
|
||||||
goto Done;
|
goto Done;
|
||||||
|
|
Loading…
Reference in New Issue