summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Library/PeiPerformanceLib
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-29 06:09:43 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-29 06:09:43 +0000
commit963cbacb5f911b31b0ea4c9610750c4b20ba14f3 (patch)
tree04e220ca90b47f5f25960984bd535261f12ca2e7 /EdkModulePkg/Library/PeiPerformanceLib
parent2c9b03f219d7ebececf0a8e86019fe622ac0cc42 (diff)
downloadedk2-platforms-963cbacb5f911b31b0ea4c9610750c4b20ba14f3.tar.xz
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
Diffstat (limited to 'EdkModulePkg/Library/PeiPerformanceLib')
-rw-r--r--EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c4
1 files changed, 3 insertions, 1 deletions
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);
}