summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Library/DxePerformanceLib
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/DxePerformanceLib
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/DxePerformanceLib')
-rw-r--r--EdkModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/EdkModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c b/EdkModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
index 74d71c54d9..d143039828 100644
--- a/EdkModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
+++ b/EdkModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
@@ -31,6 +31,7 @@ STATIC PERFORMANCE_PROTOCOL *mPerformance = NULL;
@retval Other Performance protocol is not located to log performance.
**/
+STATIC
EFI_STATUS
GetPerformanceProtocol (
VOID
@@ -245,5 +246,5 @@ PerformanceMeasurementEnabled (
VOID
)
{
- return ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0);
+ return (BOOLEAN) ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0);
}