X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FLibrary%2FPeiPerformanceLib%2FPeiPerformanceLib.c;h=c71f1e7167e0da29dde4cb892e82da0254afa8de;hp=dcb360c5e70379b0b22fc4d813bdc9e4136065bd;hb=963cbacb5f911b31b0ea4c9610750c4b20ba14f3;hpb=2c9b03f219d7ebececf0a8e86019fe622ac0cc42 diff --git a/EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c b/EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c index dcb360c5e7..c71f1e7167 100644 --- a/EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c +++ b/EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c @@ -36,6 +36,7 @@ Abstract: @retval The index of log entry in the array. **/ +STATIC PEI_PERFORMANCE_LOG_HEADER * InternalGetPerformanceHobLog ( VOID @@ -83,6 +84,7 @@ InternalGetPerformanceHobLog ( @retval The index of log entry in the array. **/ +STATIC UINT32 InternalSearchForLogEntry ( IN PEI_PERFORMANCE_LOG_HEADER *PeiPerformanceLog, @@ -326,5 +328,5 @@ PerformanceMeasurementEnabled ( VOID ) { - return ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0); }