ReactOS  0.4.15-dev-2977-ge996662
cmdata.c File Reference
#include "ntoskrnl.h"
#include "debug.h"
#include "./../mm/ARM3/miarm.h"
Include dependency graph for cmdata.c:

Go to the source code of this file.

Macros

#define NDEBUG
 
#define WTEXT(s)   L##s
 
#define CM_DEBUG_PRINT_FILTER(Name)
 

Functions

 DATA_SEG ("INITDATA")
 

Variables

ULONG DummyData
 
ULONG CmNtGlobalFlag
 
ULONG MmProductType
 
WCHAR CmDefaultLanguageId [12]
 
ULONG CmDefaultLanguageIdLength = sizeof(CmDefaultLanguageId)
 
ULONG CmDefaultLanguageIdType
 
WCHAR CmInstallUILanguageId [12]
 
ULONG CmInstallUILanguageIdLength = sizeof(CmInstallUILanguageId)
 
ULONG CmInstallUILanguageIdType
 
WCHAR CmSuiteBuffer [128]
 
ULONG CmSuiteBufferLength = sizeof(CmSuiteBuffer)
 
ULONG CmSuiteBufferType
 
CMHIVE CmControlHive
 
ULONG CmpConfigurationAreaSize = PAGE_SIZE * 4
 
PCM_FULL_RESOURCE_DESCRIPTOR CmpConfigurationData
 
EX_PUSH_LOCK CmpHiveListHeadLock
 
EX_PUSH_LOCK CmpLoadHiveLock
 
HIVE_LIST_ENTRY CmpMachineHiveList []
 
UNICODE_STRING CmSymbolicLinkValueName
 
UNICODE_STRING CmpLoadOptions
 
BOOLEAN CmpShareSystemHives
 
BOOLEAN CmSelfHeal = TRUE
 
BOOLEAN CmpSelfHeal = TRUE
 
BOOLEAN CmpMiniNTBoot
 
ULONG CmpBootType
 
USHORT CmpUnknownBusCount
 
ULONG CmpTypeCount [MaximumType+1]
 
HANDLE CmpRegistryRootHandle
 

Macro Definition Documentation

◆ CM_DEBUG_PRINT_FILTER

#define CM_DEBUG_PRINT_FILTER (   Name)
Value:
{ \
L"Session Manager\\Debug Print Filter", \
WTEXT(#Name), \
&Kd_##Name##_Mask, \
NULL, \
NULL \
}

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file cmdata.c.

◆ WTEXT

#define WTEXT (   s)    L##s

Function Documentation

◆ DATA_SEG()

DATA_SEG ( "INITDATA"  )

Definition at line 68 of file cmdata.c.

69 {
70  RTL_CONSTANT_STRING(L"System"),
71  RTL_CONSTANT_STRING(L"Processor"),
72  RTL_CONSTANT_STRING(L"Cache"),
73  RTL_CONSTANT_STRING(L"Adapter"),
74  RTL_CONSTANT_STRING(L"Controller"),
75  RTL_CONSTANT_STRING(L"Peripheral"),
76  RTL_CONSTANT_STRING(L"MemoryClass"),
77  RTL_CONSTANT_STRING(L"Undefined")
78 };
static const WCHAR L[]
Definition: oid.c:1250
#define RTL_CONSTANT_STRING(s)
Definition: tunneltest.c:14

Variable Documentation

◆ CmControlHive

CMHIVE CmControlHive

Definition at line 34 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmDefaultLanguageId

WCHAR CmDefaultLanguageId[12]

Definition at line 22 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmDefaultLanguageIdLength

ULONG CmDefaultLanguageIdLength = sizeof(CmDefaultLanguageId)

Definition at line 23 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmDefaultLanguageIdType

ULONG CmDefaultLanguageIdType

Definition at line 24 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmInstallUILanguageId

WCHAR CmInstallUILanguageId[12]

Definition at line 26 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmInstallUILanguageIdLength

ULONG CmInstallUILanguageIdLength = sizeof(CmInstallUILanguageId)

Definition at line 27 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmInstallUILanguageIdType

ULONG CmInstallUILanguageIdType

Definition at line 28 of file cmdata.c.

Referenced by CmGetSystemControlValues().

◆ CmNtGlobalFlag

ULONG CmNtGlobalFlag

Definition at line 19 of file cmdata.c.

Referenced by ExpInitializeExecutive().

◆ CmpBootType

ULONG CmpBootType

Definition at line 61 of file cmdata.c.

Referenced by CmpInitializeSystemHive().

◆ CmpConfigurationAreaSize

ULONG CmpConfigurationAreaSize = PAGE_SIZE * 4

◆ CmpConfigurationData

◆ CmpHiveListHeadLock

◆ CmpLoadHiveLock

EX_PUSH_LOCK CmpLoadHiveLock

Definition at line 39 of file cmdata.c.

Referenced by CmInitSystem1(), CmLoadKey(), CmUnloadKey(), and NtUnloadKey2().

◆ CmpLoadOptions

UNICODE_STRING CmpLoadOptions

Definition at line 55 of file cmdata.c.

Referenced by CmInitSystem1(), CmpInitializeSystemHive(), and CmpSetSystemValues().

◆ CmpMachineHiveList

HIVE_LIST_ENTRY CmpMachineHiveList[]
Initial value:
=
{
{ L"HARDWARE", L"MACHINE\\", NULL, HIVE_VOLATILE , 0 , NULL, FALSE, FALSE, FALSE},
{ L"SECURITY", L"MACHINE\\", NULL, 0 , 0 , NULL, FALSE, FALSE, FALSE},
{ L"SOFTWARE", L"MACHINE\\", NULL, 0 , 0 , NULL, FALSE, FALSE, FALSE},
{ L"SYSTEM", L"MACHINE\\", NULL, 0 , 0 , NULL, FALSE, FALSE, FALSE},
{ L"DEFAULT", L"USER\\.DEFAULT", NULL, 0 , 0 , NULL, FALSE, FALSE, FALSE},
{ L"SAM", L"MACHINE\\", NULL, HIVE_NOLAZYFLUSH , 0 , NULL, FALSE, FALSE, FALSE},
{ NULL, NULL, 0, 0 , 0 , NULL, FALSE, FALSE, FALSE}
}
#define HIVE_VOLATILE
Definition: hivedata.h:23
#define FALSE
Definition: types.h:117
static const WCHAR L[]
Definition: oid.c:1250
#define NULL
Definition: types.h:112
#define HIVE_NOLAZYFLUSH
Definition: hivedata.h:24

Definition at line 41 of file cmdata.c.

Referenced by _Function_class_(), CmInitSystem1(), CmpInitializeHiveList(), and CmpInitializeSystemHive().

◆ CmpMiniNTBoot

BOOLEAN CmpMiniNTBoot

Definition at line 60 of file cmdata.c.

Referenced by CmInitSystem1(), CmpCmdInit(), and CmpOpenHiveFiles().

◆ CmpRegistryRootHandle

HANDLE CmpRegistryRootHandle

Definition at line 66 of file cmdata.c.

Referenced by CmpCreateRegistryRoot().

◆ CmpSelfHeal

BOOLEAN CmpSelfHeal = TRUE

Definition at line 59 of file cmdata.c.

Referenced by CmpInitializeSystemHive().

◆ CmpShareSystemHives

◆ CmpTypeCount

ULONG CmpTypeCount[MaximumType+1]

Definition at line 64 of file cmdata.c.

Referenced by CmpSetupConfigurationTree().

◆ CmpUnknownBusCount

USHORT CmpUnknownBusCount

Definition at line 63 of file cmdata.c.

Referenced by CmpSetupConfigurationTree().

◆ CmSelfHeal

BOOLEAN CmSelfHeal = TRUE

Definition at line 58 of file cmdata.c.

Referenced by CmpInitializeSystemHive().

◆ CmSuiteBuffer

WCHAR CmSuiteBuffer[128]

Definition at line 30 of file cmdata.c.

◆ CmSuiteBufferLength

ULONG CmSuiteBufferLength = sizeof(CmSuiteBuffer)

Definition at line 31 of file cmdata.c.

◆ CmSuiteBufferType

ULONG CmSuiteBufferType

Definition at line 32 of file cmdata.c.

◆ CmSymbolicLinkValueName

UNICODE_STRING CmSymbolicLinkValueName
Initial value:
=
RTL_CONSTANT_STRING(L"SymbolicLinkValue")
static const WCHAR L[]
Definition: oid.c:1250
#define RTL_CONSTANT_STRING(s)
Definition: tunneltest.c:14

Definition at line 52 of file cmdata.c.

Referenced by CmpCreateControlSet(), CmpGetSymbolicLink(), CmpLinkKeyToHive(), and CmSetValueKey().

◆ DummyData

ULONG DummyData

Definition at line 18 of file cmdata.c.

Referenced by AtapiReadyCheck(), and GetPrinterDataExW().

◆ MmProductType

ULONG MmProductType

Definition at line 325 of file mminit.c.

Referenced by MmIsThisAnNtAsSystem().