Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

kernldat.c File Reference

#include "ki.h"

Go to the source code of this file.

Variables

LIST_ENTRY KiDispatcherReadyListHead [MAXIMUM_PRIORITY]
KAFFINITY KiIdleSummary = 0
ULONG KiReadySummary = 0
LIST_ENTRY KiTimerTableListHead [TIMER_TABLE_SIZE]
PSWAP_CONTEXT_NOTIFY_ROUTINE KiSwapContextNotifyRoutine
PTHREAD_SELECT_NOTIFY_ROUTINE KiThreadSelectNotifyRoutine
PTIME_UPDATE_NOTIFY_ROUTINE KiTimeUpdateNotifyRoutine
KAFFINITY KeActiveProcessors = 0
LARGE_INTEGER KeBootTime
ULONGLONG KeBootTimeBias
ULONGLONG KeInterruptTimeBias
LIST_ENTRY KeBugCheckCallbackListHead
KSPIN_LOCK KeBugCheckCallbackLock
ULONG KeDcacheFlushCount = 0
ULONG KeIcacheFlushCount = 0
PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch
PLOADER_PARAMETER_BLOCK KeLoaderBlock = NULL
ULONG KeMinimumIncrement
CCHAR KeNumberProcessors = 0
ULONG KeRegisteredProcessors = 2
ULONG KeLicensedProcessors
USHORT KeProcessorArchitecture = PROCESSOR_ARCHITECTURE_UNKNOWN
USHORT KeProcessorLevel = 0
USHORT KeProcessorRevision = 0
ULONG KeFeatureBits = 0
KSERVICE_TABLE_DESCRIPTOR KeServiceDescriptorTable [NUMBER_SERVICE_TABLES]
KSERVICE_TABLE_DESCRIPTOR KeServiceDescriptorTableShadow [NUMBER_SERVICE_TABLES]
KTHREAD_SWITCH_COUNTERS KeThreadSwitchCounters
ULONG KeTimeIncrement
BOOLEAN KeTimeSynchronization = TRUE
PVOID KeUserApcDispatcher
PVOID KeUserCallbackDispatcher
PVOID KeUserExceptionDispatcher
PVOID KeRaiseUserExceptionDispatcher
ULONG KiDmaIoCoherency
ULONG KiMaximumSearchCount = 0
PKDEBUG_ROUTINE KiDebugRoutine
PKDEBUG_SWITCH_ROUTINE KiDebugSwitchRoutine
KSPIN_LOCK KiDispatcherLock
CCHAR KiFindFirstSetRight [256]
CCHAR KiFindFirstSetLeft [256]
KSPIN_LOCK KiFreezeExecutionLock
KSPIN_LOCK KiFreezeLockBackup
ULONG KiFreezeFlag
volatile ULONG KiSuspendState
UCHAR KiFindLeftNibbleBitTable []
PKPRCB KiProcessorBlock [MAXIMUM_PROCESSORS]
KEVENT KiSwapEvent
LIST_ENTRY KiProcessInSwapListHead
LIST_ENTRY KiProcessOutSwapListHead
LIST_ENTRY KiStackInSwapListHead
LIST_ENTRY KiProfileSourceListHead
BOOLEAN KiProfileAlignmentFixup
ULONG KiProfileAlignmentFixupInterval
ULONG KiProfileAlignmentFixupCount
ULONG KiProfileInterval = DEFAULT_PROFILE_INTERVAL
LIST_ENTRY KiProfileListHead
KSPIN_LOCK KiProfileLock
KDPC KiTimerExpireDpc
LARGE_INTEGER KiTimeIncrementReciprocal
CCHAR KiTimeIncrementShiftCount
LIST_ENTRY KiWaitInListHead
LIST_ENTRY KiWaitOutListHead
ULONG KiEnableTimerWatchdog = 0


Variable Documentation

KAFFINITY KeActiveProcessors = 0
 

Definition at line 91 of file kernldat.c.

Referenced by IoConnectInterrupt(), Ke386SetIoAccessMap(), KeBugCheckEx(), KeChangeColorPage(), KeDetachSessionSpace(), KeFlushEntireTb(), KeFlushIoBuffers(), KeFlushMultipleTb(), KeFlushMultipleTb64(), KeFlushSingleTb(), KeFlushSingleTb64(), KeFreezeExecution(), KeI386SetGdtSelector(), KeInitializeProfile(), KeInvalidateAllCaches(), KeQueryActiveProcessors(), KeSetSystemAffinityThread(), KeSetup80387OrEmulate(), KeSweepCacheRange(), KeSweepDcache(), KeSweepDcacheRange(), KeSweepIcache(), KeSweepIcacheRange(), KeSynchronizeMemoryAccess(), KeThawExecution(), KiCompleteEffectiveRangeChange(), KiFlushSingleTbSynchronous(), KiGetNewRid(), KiInitializeKernel(), KiInitializePAT(), KiInitMachineDependent(), KiIpiGenericCall(), KiIpiStallOnPacketTargets(), KiSyncNewRegionId(), MmCreatePeb(), NtQuerySystemInformation(), NtSetInformationJobObject(), NtSetInformationProcess(), and PspCreateProcess().

LARGE_INTEGER KeBootTime
 

Definition at line 97 of file kernldat.c.

Referenced by IopCopyBootLogRegistryToFile(), KeSetSystemTime(), NtQuerySystemInformation(), and ViInjectResourceFailure().

ULONGLONG KeBootTimeBias
 

Definition at line 103 of file kernldat.c.

Referenced by KeSetSystemTime(), and NtQuerySystemInformation().

LIST_ENTRY KeBugCheckCallbackListHead
 

Definition at line 116 of file kernldat.c.

KSPIN_LOCK KeBugCheckCallbackLock
 

Definition at line 123 of file kernldat.c.

Referenced by KeDeregisterBugCheckCallback(), KeRegisterBugCheckCallback(), and KiInitSystem().

ULONG KeDcacheFlushCount = 0
 

Definition at line 130 of file kernldat.c.

Referenced by main().

ULONG KeFeatureBits = 0
 

Definition at line 216 of file kernldat.c.

Referenced by KeI386VdmInitialize(), KeRestoreMtrr(), KeRestorePAT(), KeSetPhysicalCacheTypeRange(), KeSetup80387OrEmulate(), KiInitializeKernel(), KiInitializeMTRR(), KiInitializePAT(), KiInitMachineDependent(), KiLoadMTRR(), MiInitMachineDependent(), MmMapIoSpace(), and NtQuerySystemInformation().

PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch
 

Definition at line 144 of file kernldat.c.

Referenced by KeUserModeCallback(), and PsEstablishWin32Callouts().

ULONG KeIcacheFlushCount = 0
 

Definition at line 137 of file kernldat.c.

Referenced by main().

ULONGLONG KeInterruptTimeBias
 

Definition at line 109 of file kernldat.c.

Referenced by KiCalibrateTimeAdjustment(), and NtQuerySystemInformation().

ULONG KeLicensedProcessors
 

Definition at line 184 of file kernldat.c.

PLOADER_PARAMETER_BLOCK KeLoaderBlock = NULL
 

Definition at line 151 of file kernldat.c.

Referenced by CmpCreateHwProfileFriendlyName(), KeDumpMachineState(), KeStartAllProcessors(), KiInitializeAbios(), KiInitializeKernel(), KiInitializeMachineType(), and KiPcToFileHeader().

ULONG KeMinimumIncrement
 

Definition at line 158 of file kernldat.c.

Referenced by KeSetTimeIncrement(), and VdmpDelayInterrupt().

CCHAR KeNumberProcessors = 0
 

Definition at line 167 of file kernldat.c.

Referenced by CcInitializeCacheManager(), CmpConfigureProcessors(), CmpInitializeMachineDependentConfiguration(), ExpCheckForResource(), IoInitSystem(), IopInitializeDCB(), KdpGetContext(), KdpGetStateChange(), KdpReadControlSpace(), KdpReportLoadSymbolsStateChange(), KdpSetContext(), KdpSetStateChange(), KdpWriteControlSpace(), Ke386ConfigureCyrixProcessor(), KeConnectInterrupt(), KeFlushIoBuffers(), KeI386FlatToGdtSelector(), KeInitializeQueue(), KeInitializeThread(), KeSetIdealProcessorThread(), KeStartAllProcessors(), KeStartProfile(), KeSwitchFrozenProcessor(), KiAdjustInterruptTime(), KiInitializeKernel(), KiInitMachineDependent(), KiSynchronizeMTRRLoad(), KiSynchronizePATLoad(), KiTimerExpiration(), MmCreatePeb(), MmSetKernelDumpRange(), MmVerifyImageIsOkForMpUse(), NtQuerySystemInformation(), and ObInitSystem().

USHORT KeProcessorArchitecture = PROCESSOR_ARCHITECTURE_UNKNOWN
 

Definition at line 195 of file kernldat.c.

Referenced by IopInitializeDCB(), KiInitializeKernel(), and NtQuerySystemInformation().

USHORT KeProcessorLevel = 0
 

Definition at line 202 of file kernldat.c.

Referenced by KdpPrintString(), KdpPromptString(), KdpReportLoadSymbolsStateChange(), KdpSetStateChange(), KiDisableAlignmentExceptions(), KiEnableAlignmentExceptions(), KiInitializeKernel(), MmDbgTranslatePhysicalAddress64(), and NtQuerySystemInformation().

USHORT KeProcessorRevision = 0
 

Definition at line 209 of file kernldat.c.

Referenced by KiInitializeKernel(), and NtQuerySystemInformation().

PVOID KeRaiseUserExceptionDispatcher
 

Definition at line 282 of file kernldat.c.

Referenced by KeRaiseUserException(), and PspLookupKernelUserEntryPoints().

ULONG KeRegisteredProcessors = 2
 

Definition at line 183 of file kernldat.c.

KSERVICE_TABLE_DESCRIPTOR KeServiceDescriptorTable[NUMBER_SERVICE_TABLES]
 

Definition at line 224 of file kernldat.c.

Referenced by KeAddSystemServiceTable(), KeInitializeThread(), KiInitSystem(), NtW32Call(), and PsConvertToGuiThread().

KSERVICE_TABLE_DESCRIPTOR KeServiceDescriptorTableShadow[NUMBER_SERVICE_TABLES]
 

Definition at line 225 of file kernldat.c.

Referenced by KeAddSystemServiceTable(), KiInitSystem(), NtQuerySystemInformation(), and PsConvertToGuiThread().

KTHREAD_SWITCH_COUNTERS KeThreadSwitchCounters
 

Definition at line 233 of file kernldat.c.

Referenced by NtQuerySystemInformation().

ULONG KeTimeIncrement
 

Definition at line 242 of file kernldat.c.

BOOLEAN KeTimeSynchronization = TRUE
 

Definition at line 250 of file kernldat.c.

Referenced by NtQuerySystemInformation(), and NtSetSystemInformation().

PVOID KeUserApcDispatcher
 

Definition at line 258 of file kernldat.c.

Referenced by KiInitializeUserApc(), and PspLookupKernelUserEntryPoints().

PVOID KeUserCallbackDispatcher
 

Definition at line 266 of file kernldat.c.

Referenced by KdInitSystem(), KdpGetVersion(), KdUpdateDataBlock(), and PspLookupKernelUserEntryPoints().

PVOID KeUserExceptionDispatcher
 

Definition at line 274 of file kernldat.c.

Referenced by KiDispatchException(), and PspLookupKernelUserEntryPoints().

PKDEBUG_ROUTINE KiDebugRoutine
 

Definition at line 317 of file kernldat.c.

PKDEBUG_SWITCH_ROUTINE KiDebugSwitchRoutine
 

Definition at line 325 of file kernldat.c.

KSPIN_LOCK KiDispatcherLock
 

Definition at line 332 of file kernldat.c.

Referenced by KiInitializeKernel().

LIST_ENTRY KiDispatcherReadyListHead[MAXIMUM_PRIORITY]
 

Definition at line 36 of file kernldat.c.

Referenced by KeSetAffinityThread(), KiFindReadyThread(), KiInitSystem(), KiReadyThread(), KiScanReadyQueues(), KiSetPriorityThread(), and NtYieldExecution().

ULONG KiDmaIoCoherency
 

Definition at line 301 of file kernldat.c.

Referenced by KeFlushIoBuffers(), KeSetDmaIoCoherency(), and KiInitializeKernel().

ULONG KiEnableTimerWatchdog = 0
 

Definition at line 597 of file kernldat.c.

CCHAR KiFindFirstSetLeft[256]
 

Initial value:

{ 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7}

Definition at line 352 of file kernldat.c.

CCHAR KiFindFirstSetRight[256]
 

Initial value:

{ 0, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 6, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 7, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 6, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0}

Definition at line 334 of file kernldat.c.

UCHAR KiFindLeftNibbleBitTable[]
 

Initial value:

{0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3}

Definition at line 402 of file kernldat.c.

KSPIN_LOCK KiFreezeExecutionLock
 

Definition at line 375 of file kernldat.c.

ULONG KiFreezeFlag
 

Definition at line 389 of file kernldat.c.

Referenced by KdEnterDebugger(), KeFreezeExecution(), and KeThawExecution().

KSPIN_LOCK KiFreezeLockBackup
 

Definition at line 382 of file kernldat.c.

KAFFINITY KiIdleSummary = 0
 

Definition at line 44 of file kernldat.c.

Referenced by KiInitializeKernel(), KiReadyThread(), and KiSelectNextThread().

ULONG KiMaximumSearchCount = 0
 

Definition at line 308 of file kernldat.c.

Referenced by KiInsertTimerTable().

LIST_ENTRY KiProcessInSwapListHead
 

Definition at line 428 of file kernldat.c.

Referenced by KeSwapProcessOrStack(), KiAttachProcess(), KiInitSystem(), KiInSwapProcesses(), KiOutSwapProcesses(), and KiReadyThread().

PKPRCB KiProcessorBlock[MAXIMUM_PROCESSORS]
 

Definition at line 413 of file kernldat.c.

Referenced by CcInitializeCacheManager(), CmpInitializeMachineDependentConfiguration(), IoInitSystem(), KdpGetContext(), KdpGetStateChange(), KdpReadControlSpace(), KdpSetContext(), KdpWriteControlSpace(), KeFreezeExecution(), KeI386SetGdtSelector(), KeInsertQueueDpc(), KeSetAffinityThread(), KeStartAllProcessors(), KeSwitchFrozenProcessor(), KeThawExecution(), KiFlushForwardProgressTbBuffer(), KiInitializeKernel(), KiInitializePcr(), KiInvalidateForwardProgressTbBuffer(), KiIpiSend(), KiIpiSendPacket(), KiReadyThread(), KiSelectNextThread(), KiSetPriorityThread(), MmSetKernelDumpRange(), NtQuerySystemInformation(), and ObInitSystem().

LIST_ENTRY KiProcessOutSwapListHead
 

Definition at line 435 of file kernldat.c.

Referenced by KeDetachProcess(), KeSwapProcessOrStack(), KeTerminateThread(), KeUnstackDetachProcess(), KiInitSystem(), KiOutSwapKernelStacks(), and KiOutSwapProcesses().

BOOLEAN KiProfileAlignmentFixup
 

Definition at line 458 of file kernldat.c.

Referenced by KeStartProfile(), KeStopProfile(), and KiEmulateReference().

ULONG KiProfileAlignmentFixupCount
 

Definition at line 472 of file kernldat.c.

Referenced by KiEmulateReference().

ULONG KiProfileAlignmentFixupInterval
 

Definition at line 465 of file kernldat.c.

Referenced by KeQueryIntervalProfile(), KeSetIntervalProfile(), and KiEmulateReference().

ULONG KiProfileInterval = DEFAULT_PROFILE_INTERVAL
 

Definition at line 478 of file kernldat.c.

Referenced by KeQueryIntervalProfile(), and KeSetIntervalProfile().

LIST_ENTRY KiProfileListHead
 

Definition at line 484 of file kernldat.c.

Referenced by KeProfileInterruptWithSource(), KeStartProfile(), and KiInitSystem().

KSPIN_LOCK KiProfileLock
 

Definition at line 490 of file kernldat.c.

LIST_ENTRY KiProfileSourceListHead
 

Definition at line 451 of file kernldat.c.

Referenced by KeStartProfile(), KeStopProfile(), and KiInitSystem().

ULONG KiReadySummary = 0
 

Definition at line 52 of file kernldat.c.

Referenced by KeSetAffinityThread(), KiFindReadyThread(), KiReadyThread(), KiScanReadyQueues(), KiSetPriorityThread(), and NtYieldExecution().

LIST_ENTRY KiStackInSwapListHead
 

Definition at line 444 of file kernldat.c.

Referenced by KeSwapProcessOrStack(), KiInitSystem(), KiInSwapKernelStacks(), and KiReadyThread().

volatile ULONG KiSuspendState
 

Definition at line 395 of file kernldat.c.

PSWAP_CONTEXT_NOTIFY_ROUTINE KiSwapContextNotifyRoutine
 

Definition at line 66 of file kernldat.c.

Referenced by KeSetSwapContextNotifyRoutine().

KEVENT KiSwapEvent
 

Definition at line 421 of file kernldat.c.

Referenced by KeBalanceSetManager(), KeDetachProcess(), KeSwapProcessOrStack(), KeTerminateThread(), KeUnstackDetachProcess(), KiAttachProcess(), KiInitSystem(), and KiReadyThread().

PTHREAD_SELECT_NOTIFY_ROUTINE KiThreadSelectNotifyRoutine
 

Definition at line 74 of file kernldat.c.

Referenced by KeSetThreadSelectNotifyRoutine(), and KiFindReadyThread().

LARGE_INTEGER KiTimeIncrementReciprocal
 

Definition at line 505 of file kernldat.c.

Referenced by KiInitializeKernel().

CCHAR KiTimeIncrementShiftCount
 

Definition at line 512 of file kernldat.c.

Referenced by KiInitializeKernel().

KDPC KiTimerExpireDpc
 

Definition at line 497 of file kernldat.c.

Referenced by KiCalibrateTimeAdjustment(), KiChkTimerExpireSysDpc(), and KiInitSystem().

LIST_ENTRY KiTimerTableListHead[TIMER_TABLE_SIZE]
 

Definition at line 59 of file kernldat.c.

Referenced by KeCheckForTimer(), KeSetSystemTime(), KiChkTimerExpireSysDpc(), KiInitSystem(), KiInsertTimerTable(), KiTimerExpiration(), and VerifierKeInitializeTimerEx().

PTIME_UPDATE_NOTIFY_ROUTINE KiTimeUpdateNotifyRoutine
 

Definition at line 82 of file kernldat.c.

Referenced by KeSetTimeUpdateNotifyRoutine().

LIST_ENTRY KiWaitInListHead
 

Definition at line 519 of file kernldat.c.

Referenced by KiInitSystem(), and KiOutSwapKernelStacks().

LIST_ENTRY KiWaitOutListHead
 

Definition at line 527 of file kernldat.c.

Referenced by KiInitSystem(), and KiOutSwapKernelStacks().


Generated on Sat May 15 19:44:28 2004 for test by doxygen 1.3.7