From 963cbacb5f911b31b0ea4c9610750c4b20ba14f3 Mon Sep 17 00:00:00 2001 From: xli24 Date: Mon, 29 Jan 2007 06:09:43 +0000 Subject: Further check-in to smooth Intel IPF compiler building. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'EdkModulePkg/Library/PeiPerformanceLib') 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); } -- cgit v1.2.3