From 9c3ba3b52603a2477341b2bc2681a850f3668d5b Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Sat, 20 Sep 2008 14:11:25 +0000 Subject: [PATCH] - Fix CMTRACE macro svn path=/trunk/; revision=36351 --- reactos/ntoskrnl/config/cmsysini.c | 1 + reactos/ntoskrnl/include/internal/cm.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/config/cmsysini.c b/reactos/ntoskrnl/config/cmsysini.c index 53d722f4169..302bfbec886 100644 --- a/reactos/ntoskrnl/config/cmsysini.c +++ b/reactos/ntoskrnl/config/cmsysini.c @@ -29,6 +29,7 @@ BOOLEAN CmpSpecialBootCondition; BOOLEAN CmpNoWrite; BOOLEAN CmpForceForceFlush; BOOLEAN CmpWasSetupBoot; +ULONG CmpTraceLevel = 0; extern BOOLEAN CmFirstTime; diff --git a/reactos/ntoskrnl/include/internal/cm.h b/reactos/ntoskrnl/include/internal/cm.h index 6b17ba3ca81..9a4b33c9ef8 100644 --- a/reactos/ntoskrnl/include/internal/cm.h +++ b/reactos/ntoskrnl/include/internal/cm.h @@ -11,7 +11,7 @@ // // Define this if you want debugging support // -#define _CM_DEBUG_ 0x00 +#define _CM_DEBUG_ 0x01 // // These define the Debug Masks Supported @@ -1438,6 +1438,7 @@ CmShutdownSystem( // // Global variables accessible from all of Cm // +extern ULONG CmpTraceLevel; extern BOOLEAN CmpSpecialBootCondition; extern BOOLEAN CmpFlushOnLockRelease; extern BOOLEAN CmpShareSystemHives;