ReactOS  0.4.14-dev-838-g99f979d
kddata.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Kernel
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: ntoskrnl/kd64/kddata.c
5  * PURPOSE: Contains all global variables and settings for KD64
6  * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
7  */
8 
9 /* INCLUDES ******************************************************************/
10 
11 #include <ntoskrnl.h>
12 #define NDEBUG
13 #include <debug.h>
14 #include <mm/ARM3/miarm.h>
15 #undef MmSystemRangeStart
16 
18 
19 //
20 // Apply the KIPCR WDK workaround for x86 and AMD64
21 //
22 #if defined(_M_IX86) || defined(_M_AMD64)
23 #define KPCR KIPCR
24 #endif
25 
26 #if defined(_M_IX86)
27 
28 #define KPCR_SELF_PCR_OFFSET FIELD_OFFSET(KPCR, SelfPcr)
29 #define KPCR_CURRENT_PRCB_OFFSET FIELD_OFFSET(KPCR, Prcb)
30 #define KPCR_CONTAINED_PRCB_OFFSET FIELD_OFFSET(KPCR, PrcbData)
31 #define KPCR_INITIAL_STACK_OFFSET 0
32 #define KPCR_STACK_LIMIT_OFFSET 0
33 #define KPRCB_PCR_PAGE_OFFSET 0
34 #define CBSTACK_FRAME_POINTER Ebp
35 
36 #elif defined(_M_AMD64)
37 
38 #define KPCR_SELF_PCR_OFFSET FIELD_OFFSET(KPCR, Self)
39 #define KPCR_CURRENT_PRCB_OFFSET FIELD_OFFSET(KPCR, CurrentPrcb)
40 #define KPCR_CONTAINED_PRCB_OFFSET FIELD_OFFSET(KPCR, Prcb)
41 #define KPCR_INITIAL_STACK_OFFSET 0
42 #define KPCR_STACK_LIMIT_OFFSET 0
43 #define KPRCB_PCR_PAGE_OFFSET 0
44 #define CBSTACK_FRAME_POINTER Rbp
45 
46 #elif defined(_M_ARM)
47 
48 #define KPCR_SELF_PCR_OFFSET 0
49 #define KPCR_CURRENT_PRCB_OFFSET FIELD_OFFSET(KIPCR, Prcb)
50 #define KPCR_CONTAINED_PRCB_OFFSET 0
51 #define KPCR_INITIAL_STACK_OFFSET FIELD_OFFSET(KPCR, InitialStack)
52 #define KPCR_STACK_LIMIT_OFFSET FIELD_OFFSET(KPCR, StackLimit)
53 #define KPRCB_PCR_PAGE_OFFSET FIELD_OFFSET(KPRCB, PcrPage)
54 #define CBSTACK_FRAME_POINTER DummyFramePointer
55 
56 #else
57 #error Unsupported Architecture
58 #endif
59 
60 /* GLOBALS *******************************************************************/
61 
62 //
63 // Debugger State
64 //
70 
71 //
72 // Debug Trap Handlers
73 //
74 #ifdef _WINKD_
77 #endif
78 
79 //
80 // Debugger Configuration Settings
81 //
82 #ifdef _WINKD_
95 #endif
96 
97 //
98 // Breakpoint Data
99 //
105 
106 //
107 // Symbol Data
108 //
110 
111 //
112 // Tracepoint Data
113 //
116 
117 //
118 // Time Slip Support
119 //
127 
128 //
129 // Buffers
130 //
133 
134 //
135 // KdPrint Buffers
136 //
143 
144 //
145 // Debug Filter Masks
146 //
244 ULONG Kd_VDSDYN_Mask; // Specified in Vista+
246 ULONG Kd_VDSLDR_Mask; // Specified in Vista+
253 //
254 // Components specified in Vista+, some of which we also use in ReactOS
255 //
297 // End Mask
299 
300 //
301 // Debug Filter Component Table
302 //
304 {
306  &Kd_SMSS_Mask,
307  &Kd_SETUP_Mask,
308  &Kd_NTFS_Mask,
309  &Kd_FSTUB_Mask,
312  &Kd_CDROM_Mask,
314  &Kd_DISK_Mask,
329  &Kd_ACPI_Mask,
330  &Kd_AMLI_Mask,
332  &Kd_VIDEO_Mask,
335  &Kd_TCPIP_Mask,
339  &Kd_SAMSS_Mask,
346  &Kd_UHCD_Mask,
351  &Kd_SIS_Mask,
355  &Kd_IMAPI_Mask,
356  &Kd_SXS_Mask,
360  &Kd_TAPE_Mask,
361  &Kd_MCHGR_Mask,
362  &Kd_IDEP_Mask,
365  &Kd_FDC_Mask,
371  &Kd_PCI_Mask,
372  &Kd_DMIO_Mask,
376  &Kd_VSS_Mask,
380  &Kd_SR_Mask,
388  &Kd_HPS_Mask,
390  &Kd_LDR_Mask,
393  &Kd_SHPC_Mask,
399  &Kd_VDS_Mask,
401  &Kd_VDSDYN_Mask, // Specified in Vista+
403  &Kd_VDSLDR_Mask, // Specified in Vista+
407  &Kd_MM_Mask,
408  &Kd_DFSC_Mask,
409  &Kd_WOW64_Mask,
410 
411 //
412 // Components specified in Vista+, some of which we also use in ReactOS
413 //
414  &Kd_ALPC_Mask,
415  &Kd_WDI_Mask,
417  &Kd_KTM_Mask,
419  &Kd_HEAP_Mask,
420  &Kd_WHEA_Mask,
422  &Kd_MMCSS_Mask,
423  &Kd_TPM_Mask,
426  &Kd_EMS_Mask,
427  &Kd_WDT_Mask,
429  &Kd_NDIS_Mask,
431  &Kd_LUAFV_Mask,
438  &Kd_CFR_Mask,
439  &Kd_TXF_Mask,
442  &Kd_MPIO_Mask,
443  &Kd_MSDSM_Mask,
444  &Kd_UDFS_Mask,
445  &Kd_PSHED_Mask,
447  &Kd_LSASS_Mask,
449  &Kd_CNG_Mask,
450  &Kd_EXFAT_Mask,
452  &Kd_XSAVE_Mask,
453  &Kd_SE_Mask,
455  // End Mask
457 };
458 
460 
461 //
462 // Debugger Data
463 //
466 
467 //
468 // Debugger Version and Data Block
469 //
471 {
472  0,
473  0,
476 #if defined(_M_AMD64) || defined(_M_ARM64)
478 #else
480 #endif
481  IMAGE_FILE_MACHINE_NATIVE,
483  0,
484  0,
486  {0},
487  0,
488  0,
489  0
490 };
492 {
493  {{0}},
494  0,
496  0,
497  FIELD_OFFSET(KTHREAD, CallbackStack),
498 #if defined(_M_ARM) || defined(_M_AMD64)
499  0,
500  0,
501 #else
502  FIELD_OFFSET(KCALLOUT_FRAME, CallbackStack),
503  FIELD_OFFSET(KCALLOUT_FRAME, CBSTACK_FRAME_POINTER),
504 #endif
505  FALSE,
507  0,
538  PAGE_SIZE,
546  {0},
564  {(ULONG_PTR)&NtBuildLab},
565  {0},
580  {0},
581  {0},
582  FIELD_OFFSET(KTHREAD, NextProcessor),
583  FIELD_OFFSET(KTHREAD, Teb),
584  FIELD_OFFSET(KTHREAD, KernelStack),
585  FIELD_OFFSET(KTHREAD, InitialStack),
586  FIELD_OFFSET(KTHREAD, ApcState.Process),
588  0,
589  0,
590  sizeof(EPROCESS),
592  FIELD_OFFSET(EPROCESS, InheritedFromUniqueProcessId),
593  FIELD_OFFSET(EPROCESS, Pcb.DirectoryTableBase),
594  sizeof(KPRCB),
595  FIELD_OFFSET(KPRCB, DpcRoutineActive),
596  FIELD_OFFSET(KPRCB, CurrentThread),
597  FIELD_OFFSET(KPRCB, MHz),
598  FIELD_OFFSET(KPRCB, CpuType),
599  FIELD_OFFSET(KPRCB, VendorString),
600  FIELD_OFFSET(KPRCB, ProcessorState.ContextFrame),
602  sizeof(ETHREAD),
606  sizeof(KPCR),
607  KPCR_SELF_PCR_OFFSET,
608  KPCR_CURRENT_PRCB_OFFSET,
609  KPCR_CONTAINED_PRCB_OFFSET,
610  0,
611  0,
612 #if defined(_M_ARM)
613  _WARN("KPCR_INITIAL_STACK_OFFSET, KPCR_STACK_LIMIT_OFFSET and KPRCB_PCR_PAGE_OFFSET not properly defined on ARM")
614  0,
615  0,
616  0,
617 #else
618  KPCR_INITIAL_STACK_OFFSET,
619  KPCR_STACK_LIMIT_OFFSET,
620  KPRCB_PCR_PAGE_OFFSET,
621 #endif
622  FIELD_OFFSET(KPRCB, ProcessorState.SpecialRegisters),
623 #if defined(_M_IX86)
624  //
625  // x86 GDT/LDT/TSS constants
626  //
627  KGDT_R0_CODE,
628  KGDT_R0_DATA,
629  KGDT_R0_PCR,
630  KGDT_R3_CODE,
631  KGDT_R3_DATA,
632  KGDT_R3_TEB,
633  KGDT_LDT,
634  KGDT_TSS,
635  0,
636  0,
637 #elif defined(_M_AMD64)
638  //
639  // AMD64 GDT/LDT/TSS constants
640  //
647  0,
649  0,
650  0,
651 #else
652  //
653  // No GDT/LDT/TSS on other architectures
654  //
655  0,
656  0,
657  0,
658  0,
659  0,
660  0,
661  0,
662  0,
663  0,
664  0,
665 #endif
668 };
ULONG Kd_VSS_Mask
Definition: kddata.c:219
ULONG MmUserProbeAddress
Definition: init.c:50
signed char * PCHAR
Definition: retypes.h:7
#define KGDT64_R3_CODE
Definition: ketypes.h:76
ULONG Kd_PCI_Mask
Definition: kddata.c:214
KD_CONTEXT KdpContext
Definition: kddata.c:65
ULONG_PTR MmSubsectionBase
Definition: section.c:138
ULONG Kd_VDSDYNDR_Mask
Definition: kddata.c:245
PFN_NUMBER MmResidentAvailablePages
Definition: freelist.c:27
ULONG Kd_PNPMGR_Mask
Definition: kddata.c:183
ULONG Kd_IHVDRIVER_Mask
Definition: kddata.c:225
ULONG Kd_HALIA64_Mask
Definition: kddata.c:174
ULONG Kd_WOW64_Mask
Definition: kddata.c:252
BOOLEAN KdpOweBreakpoint
Definition: kddata.c:102
#define MAX_KD_COMPONENT_TABLE_ENTRIES
Definition: kd64.h:564
SIZE_T MmtotalCommitLimitMaximum
Definition: freelist.c:36
PPEB Peb
Definition: dllmain.c:27
ULONG Kd_SR_Mask
Definition: kddata.c:223
CHAR KdpPathBuffer[0x1000]
Definition: kddata.c:132
ULONG Kd_FCPORT_Mask
Definition: kddata.c:213
ULONG Kd_NTFS_Mask
Definition: kddata.c:151
BOOLEAN KdpDebuggerStructuresInitialized
ULONG MmSessionSize
Definition: init.c:34
PKDEBUG_ROUTINE KiDebugRoutine
Definition: kdmain.c:448
ULONG Kd_FLOPPY_Mask
Definition: kddata.c:207
ULONG Kd_PCIIDE_Mask
Definition: kddata.c:206
ULONG Kd_WDI_Mask
Definition: kddata.c:257
CHAR KdpMessageBuffer[0x1000]
Definition: kddata.c:131
PMMPTE MmSystemPtesEnd[MaximumPtePoolTypes]
Definition: syspte.c:23
PVOID MmSystemCacheStart
Definition: init.c:53
ULONG Kd_RTLTHREADPOOL_Mask
Definition: kddata.c:232
ULONG Kd_UNIMODEM_Mask
Definition: kddata.c:193
KSPIN_LOCK KdpDebuggerLock
Definition: kddata.c:67
ULONG IopNumTriageDumpDataBlocks
Definition: iomgr.c:46
NTSTATUS NTAPI KiCallUserMode(IN PVOID *OutputBuffer, IN PULONG OutputLength)
Definition: stubs.c:439
char CHAR
Definition: xmlstorage.h:175
LARGE_INTEGER KdTimerStart
Definition: kddata.c:126
BOOLEAN KdAutoEnableOnEvent
ULONG Kd_WMICORE_Mask
Definition: kddata.c:196
BOOLEAN NTAPI KdpStub(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT ContextRecord, IN KPROCESSOR_MODE PreviousMode, IN BOOLEAN SecondChanceException)
Definition: kdtrap.c:266
ULONG Kd_LSASS_Mask
Definition: kddata.c:289
BOOLEAN BreakpointsSuspended
Definition: kddata.c:103
LONG KdpTimeSlipPending
Definition: kddata.c:123
BOOLEAN KdPreviouslyEnabled
SIZE_T MmSharedCommit
Definition: freelist.c:31
ULONG Kd_SBP2PORT_Mask
Definition: kddata.c:276
ULONG Kd_VDSLDR_Mask
Definition: kddata.c:246
ULONG Kd_ISAPNP_Mask
Definition: kddata.c:235
#define KGDT_R0_CODE
Definition: ketypes.h:75
VOID NTAPI RtlpBreakWithStatusInstruction(VOID)
ULONG Kd_SVCHOST_Mask
Definition: kddata.c:176
#define PACKET_TYPE_MAX
Definition: windbgkd.h:53
PVOID MmPagedPoolEnd
Definition: init.c:26
BOOLEAN KdPitchDebugger
Definition: kdmain.c:52
BOOLEAN KdBlockEnable
PFN_NUMBER MmLowestPhysicalPage
Definition: meminit.c:30
ULONG Kd_MPIO_Mask
Definition: kddata.c:284
#define CURRENT_KD_SECONDARY_VERSION
Definition: wdbgexts.h:18
PVOID MmTriageActionTaken
Definition: drvmgmt.c:27
PULONG KdComponentTable[MAX_KD_COMPONENT_TABLE_ENTRIES]
Definition: kddata.c:303
PVOID MmUnloadedDrivers
Definition: sysldr.c:43
ULONG Kd_WMILIB_Mask
Definition: kddata.c:171
ULONG Kd_STORMINIPORT_Mask
Definition: kddata.c:238
PHANDLE_TABLE PspCidTable
Definition: psmgr.c:48
ULONG Kd_IHVBUS_Mask
Definition: kddata.c:230
LIST_ENTRY IopErrorLogListHead
Definition: error.c:30
ULONG Kd_EXFAT_Mask
Definition: kddata.c:292
ULONG Kd_TERMSRV_Mask
Definition: kddata.c:209
ULONG Kd_SMSS_Mask
Definition: kddata.c:149
LIST_ENTRY PsActiveProcessHead
Definition: process.c:22
PCHAR KdPrintCircularBuffer
Definition: kddata.c:140
ULONG Kd_COVERAGE_Mask
Definition: kddata.c:277
PFN_NUMBER MmAvailablePages
Definition: freelist.c:26
MMPFNLIST MmZeroedPageListHead
Definition: pfnlist.c:41
ULONG Kd_MOUCLASS_Mask
Definition: kddata.c:169
ULONG Kd_WIN2000_Mask
Definition: kddata.c:147
ULONG Kd_APPCOMPAT_Mask
Definition: kddata.c:274
ULONG Kd_SERENUM_Mask
Definition: kddata.c:188
PKDEBUG_SWITCH_ROUTINE KiDebugSwitchRoutine
ULONG Kd_RSFILTER_Mask
Definition: kddata.c:212
MMPFNLIST MmStandbyPageListHead
Definition: pfnlist.c:43
POBJECT_DIRECTORY ObpRootDirectoryObject
Definition: obname.c:19
SIZE_T MmAllocatedNonPagedPool
Definition: pool.c:26
ULONG Kd_SXS_Mask
Definition: kddata.c:199
PMMPFN MmPfnDatabase
Definition: freelist.c:24
ULONG Kd_CDAUDIO_Mask
Definition: kddata.c:154
ULONG Kd_SYSTEM_Mask
Definition: kddata.c:148
ULONG Kd_DISK_Mask
Definition: kddata.c:157
SIZE_T MmSizeOfPagedPoolInBytes
Definition: miarm.h:600
ULONG Kd_SIS_Mask
Definition: kddata.c:194
PVOID MmNonPagedPoolEnd
Definition: mminit.c:99
MMPFNLIST MmModifiedNoWritePageListHead
Definition: pfnlist.c:47
uint32_t ULONG_PTR
Definition: typedefs.h:63
#define KD_BREAKPOINT_VALUE
Definition: ke.h:119
ULONG Kd_LUAFV_Mask
Definition: kddata.c:273
KTIMER KdpTimeSlipTimer
Definition: kddata.c:121
ULONG Kd_PSHED_Mask
Definition: kddata.c:287
ULONG Kd_NETAPI_Mask
Definition: kddata.c:184
ULONG Kd_ENVIRON_Mask
Definition: kddata.c:267
#define KD_DEFAULT_LOG_BUFFER_SIZE
Definition: kd64.h:17
PVOID MmSessionBase
Definition: init.c:33
ULONG Kd_KTM_Mask
Definition: kddata.c:259
KSPIN_LOCK KdpTimeSlipEventLock
Definition: kddata.c:125
#define KGDT_LDT
Definition: ketypes.h:83
ULONG MmSpecialPoolTag
Definition: pool.c:27
ULONG Kd_UDFS_Mask
Definition: kddata.c:286
PVOID MmNonPagedSystemStart
Definition: init.c:23
ULONG_PTR KdpCurrentSymbolEnd
Definition: kddata.c:109
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
ULONG TraceDataBuffer[40]
Definition: kddata.c:114
ULONG Kd_DRIVEEXTENDER_Mask
Definition: kddata.c:296
SIZE_T MmTotalCommitLimit
Definition: mminit.c:359
ULONG Kd_HEAP_Mask
Definition: kddata.c:261
#define _WARN(msg)
Definition: debug.h:263
long LONG
Definition: pedump.c:60
#define KGDT64_R3_DATA
Definition: ketypes.h:75
struct _KPRCB KPRCB
LARGE_INTEGER KdPerformanceCounterRate
ULONG Kd_MMCSS_Mask
Definition: kddata.c:264
ULONG Kd_BURNENG_Mask
Definition: kddata.c:197
LARGE_INTEGER KdTimerStop
Definition: kddata.c:126
BOOLEAN KdEnteredDebugger
Definition: kdmain.c:49
ULONG Kd_IDEP_Mask
Definition: kddata.c:205
KD_BREAKPOINT_TYPE KdpBreakpointInstruction
Definition: kddata.c:101
ULONG Kd_TXF_Mask
Definition: kddata.c:281
ULONG Kd_SCSERVER_Mask
Definition: kddata.c:185
ULONG Kd_SCCLIENT_Mask
Definition: kddata.c:186
ULONG Kd_CLASSPNP_Mask
Definition: kddata.c:156
PKEVENT KdpTimeSlipEvent
Definition: kddata.c:124
MM_PAGED_POOL_INFO MmPagedPoolInfo
Definition: pool.c:25
ULONG KdPrintBufferSize
Definition: kddata.c:141
unsigned char BOOLEAN
SIZE_T MmPeakCommitment
Definition: freelist.c:35
MMSUPPORT MmSystemCacheWs
Definition: init.c:55
ULONG Kd_STORPROP_Mask
Definition: kddata.c:159
ULONG Kd_USERGDI_Mask
Definition: kddata.c:263
ULONG ExpNumberOfPagedPools
Definition: expool.c:33
BOOLEAN KdDebuggerEnabled
Definition: kdmain.c:48
ULONG Kd_FASTFAT_Mask
Definition: kddata.c:181
ULONG Kd_VDSDYN_Mask
Definition: kddata.c:244
ULONG Kd_PRINTSPOOLER_Mask
Definition: kddata.c:239
ULONG Kd_CNG_Mask
Definition: kddata.c:291
ULONG Kd_I8042PRT_Mask
Definition: kddata.c:163
ULONG Kd_PERFLIB_Mask
Definition: kddata.c:258
#define KGDT_R3_DATA
Definition: ketypes.h:78
ULONG Kd_FDC_Mask
Definition: kddata.c:208
KSPIN_LOCK KdpDataSpinLock
Definition: kddata.c:465
PVOID MmSystemCacheEnd
Definition: init.c:54
ULONG Kd_DMADMIN_Mask
Definition: kddata.c:217
ULONG Kd_KSECDD_Mask
Definition: kddata.c:282
ULONG Kd_DCOMSS_Mask
Definition: kddata.c:192
SIZE_T MmTotalCommittedPages
Definition: freelist.c:30
PLOADER_PARAMETER_BLOCK KeLoaderBlock
Definition: krnlinit.c:29
ULONG Kd_DFRGIFC_Mask
Definition: kddata.c:248
ULONG Kd_IHVNETWORK_Mask
Definition: kddata.c:228
ULONG Kd_SETUP_Mask
Definition: kddata.c:150
ULONG Kd_VDS_Mask
Definition: kddata.c:242
PPHYSICAL_MEMORY_DESCRIPTOR MmPhysicalMemoryBlock
Definition: init.c:45
ULONG Kd_IHVAUDIO_Mask
Definition: kddata.c:227
BOOLEAN KdIgnoreUmExceptions
Definition: kdmain.c:53
ULONG Kd_MOUNTMGR_Mask
Definition: kddata.c:279
ULONG Kd_INFINIBAND_Mask
Definition: kddata.c:224
ULONG Kd_DMSERVER_Mask
Definition: kddata.c:222
PMMPTE MmSystemPtesStart[MaximumPtePoolTypes]
Definition: syspte.c:22
ULONG Kd_DFSC_Mask
Definition: kddata.c:251
ULONG Kd_TPM_Mask
Definition: kddata.c:265
ULONG KdPrintBufferChanges
Definition: kddata.c:142
ULONG Kd_REDBOOK_Mask
Definition: kddata.c:158
ULONG Kd_VERIFIER_Mask
Definition: kddata.c:241
#define KGDT_TSS
Definition: ketypes.h:79
ULONG Kd_CDROM_Mask
Definition: kddata.c:155
PPOOL_TRACKER_TABLE PoolTrackTable
Definition: expool.c:41
#define KGDT_R0_DATA
Definition: ketypes.h:76
ULONG Kd_SHPC_Mask
Definition: kddata.c:236
ULONG Kd_MOUHID_Mask
Definition: kddata.c:167
PPOOL_DESCRIPTOR ExpPagedPoolDescriptor[16+1]
Definition: expool.c:35
ULONG Kd_STORPORT_Mask
Definition: kddata.c:237
ULONG Kd_DMCONFIG_Mask
Definition: kddata.c:216
LIST_ENTRY PsLoadedModuleList
Definition: sysldr.c:34
ULONG Kd_IMAPI_Mask
Definition: kddata.c:198
LIST_ENTRY KdpDebuggerDataListHead
Definition: kddata.c:464
ULONG Kd_TWOTRACK_Mask
Definition: kddata.c:170
ULONG Kd_SAMSS_Mask
Definition: kddata.c:182
ULONG Kd_USBSTOR_Mask
Definition: kddata.c:275
struct _EPROCESS EPROCESS
POOL_DESCRIPTOR NonPagedPoolDescriptor
Definition: expool.c:34
PVOID KernelVerifier
Definition: drvmgmt.c:28
ULONG Kd_LSERMOUS_Mask
Definition: kddata.c:165
#define KGDT_R3_TEB
Definition: ketypes.h:81
ULONG_PTR KiBugCheckData[5]
Definition: bug.c:30
MMPFNLIST MmModifiedPageListHead
Definition: pfnlist.c:45
ULONG Kd_PNPMEM_Mask
Definition: kddata.c:220
ULONG_PTR KdpCurrentSymbolStart
Definition: kddata.c:109
LIST_ENTRY KeBugcheckCallbackListHead
Definition: bug.c:21
#define KGDT_R0_PCR
Definition: ketypes.h:80
ULONG Kd_IDLETASK_Mask
Definition: kddata.c:201
#define KGDT64_R0_CODE
Definition: ketypes.h:72
LIST_ENTRY MmLoadedUserImageList
Definition: sysldr.c:35
ULONG KeTimeIncrement
Definition: clock.c:22
ULONG Kd_WHEA_Mask
Definition: kddata.c:262
ULONG Kd_FILETRACE_Mask
Definition: kddata.c:293
ULONG KdDisableCount
ULONG Kd_NDIS_Mask
Definition: kddata.c:271
ULONG Kd_KBDCLASS_Mask
Definition: kddata.c:168
Definition: ketypes.h:687
#define KGDT64_SYS_TSS
Definition: ketypes.h:77
ULONG Kd_SERMOUSE_Mask
Definition: kddata.c:164
ULONG KdComponentTableSize
Definition: kddata.c:459
#define PAGE_SIZE
Definition: env_spec_w32.h:49
ULONG Kd_WSOCKTRANSPORT_Mask
Definition: kddata.c:218
SIZE_T MmProcessCommit
Definition: freelist.c:33
#define KD_BREAKPOINT_MAX
Definition: kd64.h:23
Definition: typedefs.h:117
ULONG Kd_NTOSPNP_Mask
Definition: kddata.c:180
ULONG Kd_STORVSP_Mask
Definition: kddata.c:288
ULONG KdPrintRolloverCount
Definition: kddata.c:139
ULONG Kd_SE_Mask
Definition: kddata.c:295
ULONG Kd_SERIAL_Mask
Definition: kddata.c:187
ULONG Kd_KBDHID_Mask
Definition: kddata.c:166
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
ULONG Kd_PROCESSOR_Mask
Definition: kddata.c:221
LARGE_INTEGER KdTimerDifference
Definition: kddata.c:126
PVOID IopTriageDumpDataBlocks[64]
Definition: iomgr.c:47
ULONG Kd_UHCD_Mask
Definition: kddata.c:189
PVOID MmPagedPoolStart
Definition: miarm.h:589
PVOID MmNonPagedPoolStart
Definition: init.c:24
BOOLEAN(NTAPI * PKDEBUG_SWITCH_ROUTINE)(IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT Context, IN BOOLEAN SecondChance)
Definition: kd64.h:72
ULONG Kd_TCPIP6_Mask
Definition: kddata.c:234
#define KD_BREAKPOINT_TYPE
Definition: ke.h:117
SIZE_T MmPagedPoolCommit
Definition: freelist.c:34
ULONG Kd_CFR_Mask
Definition: kddata.c:280
ULONG Kd_EMS_Mask
Definition: kddata.c:268
ULONG Kd_DEFAULT_Mask
Definition: kddata.c:249
ULONG Kd_DMIO_Mask
Definition: kddata.c:215
ULONG Kd_FUSION_Mask
Definition: kddata.c:200
PFN_COUNT MmNumberOfPhysicalPages
Definition: init.c:48
ULONG Kd_VDSBAS_Mask
Definition: kddata.c:243
ULONG Kd_IHVSTREAMING_Mask
Definition: kddata.c:229
ULONG Kd_TCPIP_Mask
Definition: kddata.c:178
BOOLEAN KdpContextSent
Definition: kddata.c:69
WORK_QUEUE_ITEM KdpTimeSlipWorkItem
Definition: kddata.c:122
CHAR KdPrintDefaultCircularBuffer[KD_DEFAULT_LOG_BUFFER_SIZE]
Definition: kddata.c:137
ULONG Kd_VSSDYNDISK_Mask
Definition: kddata.c:240
ULONG Kd_VDSUTIL_Mask
Definition: kddata.c:247
ULONG Kd_AMLI_Mask
Definition: kddata.c:173
struct _ETHREAD ETHREAD
ULONG Kd_MCHGR_Mask
Definition: kddata.c:204
PKPRCB KiProcessorBlock[]
Definition: krnlinit.c:32
ULONG Kd_MSDSM_Mask
Definition: kddata.c:285
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
_Out_ PKAPC_STATE ApcState
Definition: mm.h:1492
ULONG Kd_W32TIME_Mask
Definition: kddata.c:210
ULONG MmMaximumNonPagedPoolInBytes
Definition: init.c:22
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:254
ULONG Kd_RPCPROXY_Mask
Definition: kddata.c:190
ULONG Kd_HPS_Mask
Definition: kddata.c:231
ULONG Kd_ACPI_Mask
Definition: kddata.c:172
struct _KPCR KPCR
BOOLEAN KdpControlCPressed
Definition: kddata.c:68
ULONG Kd_TAPE_Mask
Definition: kddata.c:203
ULONG Kd_FLTREGRESS_Mask
Definition: kddata.c:283
unsigned int * PULONG
Definition: retypes.h:1
ULONG Kd_SSPICLI_Mask
Definition: kddata.c:290
PVOID MmHighestUserAddress
Definition: rtlcompat.c:29
LIST_ENTRY ExpSystemResourcesList
Definition: resource.c:76
BOOLEAN KdBreakAfterSymbolLoad
Definition: kdmain.c:51
ULONG Kd_LDR_Mask
Definition: kddata.c:233
ULONG Kd_MM_Mask
Definition: kddata.c:250
MM_DRIVER_VERIFIER_DATA MmVerifierData
Definition: drvmgmt.c:20
ULONG Kd_SCSIPORT_Mask
Definition: kddata.c:160
ULONG MmNumberOfPagingFiles
Definition: pagefile.c:50
ULONG TraceDataBufferPosition
Definition: kddata.c:115
static POBJECT_TYPE ObpTypeObjectType
Definition: ObTypes.c:122
ULONG Kd_CONFIG_Mask
Definition: kddata.c:162
ULONG Kd_VIDEOPRT_Mask
Definition: kddata.c:177
BOOLEAN(NTAPI * PKDEBUG_ROUTINE)(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT Context, IN KPROCESSOR_MODE PreviousMode, IN BOOLEAN SecondChance)
Definition: kd64.h:61
ULONG Kd_IOSTRESS_Mask
Definition: kddata.c:260
#define KGDT_R3_CODE
Definition: ketypes.h:77
#define DBGKD_VERS_FLAG_DATA
Definition: wdbgexts.h:22
PVOID MmLastUnloadedDrivers
Definition: sysldr.c:44
ULONG CmNtCSDVersion
Definition: init.c:56
ULONG Kd_WDT_Mask
Definition: kddata.c:269
unsigned int ULONG
Definition: retypes.h:1
#define DBGKD_64BIT_PROTOCOL_VERSION2
Definition: windbgkd.h:154
ULONG KdpNumInternalBreakpoints
Definition: kddata.c:104
#define ULONG_PTR
Definition: config.h:101
ULONG Kd_THREADORDER_Mask
Definition: kddata.c:266
ULONG Kd_IHVVIDEO_Mask
Definition: kddata.c:226
ULONG Kd_DMSYNTH_Mask
Definition: kddata.c:179
PFN_NUMBER MmHighestPhysicalPage
Definition: meminit.c:31
PCHAR KdPrintWritePointer
Definition: kddata.c:138
ULONG Kd_FLTMGR_Mask
Definition: kddata.c:195
ULONG Kd_CRASHDUMP_Mask
Definition: kddata.c:153
ULONG Kd_FSTUB_Mask
Definition: kddata.c:152
ULONG Kd_VIDEO_Mask
Definition: kddata.c:175
MMPFNLIST MmFreePageListHead
Definition: pfnlist.c:42
ULONG Kd_AUTOCHK_Mask
Definition: kddata.c:191
ULONG Kd_PREFETCHER_Mask
Definition: kddata.c:211
ULONG Kd_NVCTRACE_Mask
Definition: kddata.c:272
Definition: kd64.h:48
BOOLEAN KdpPortLocked
Definition: kddata.c:66
ULONG Kd_XSAVE_Mask
Definition: kddata.c:294
ULONG Kd_SOFTPCI_Mask
Definition: kddata.c:202
KDDEBUGGER_DATA64 KdDebuggerDataBlock
Definition: kddata.c:491
#define MmSystemRangeStart
Definition: mm.h:32
ULONG Kd_SCSIMINIPORT_Mask
Definition: kddata.c:161
BOOLEAN KdDebuggerNotPresent
Definition: kdmain.c:50
ULONG Kd_FVEVOL_Mask
Definition: kddata.c:270
CHAR NtBuildLab[]
Definition: init.c:61
DBGKD_GET_VERSION64 KdVersionBlock
Definition: kddata.c:470
KDPC KdpTimeSlipDpc
Definition: kddata.c:120
ULONG Kd_ALPC_Mask
Definition: kddata.c:256
ULONG Kd_ENDOFTABLE_Mask
Definition: kddata.c:298
SIZE_T MmDriverCommit
Definition: freelist.c:32
BREAKPOINT_ENTRY KdpBreakpointTable[KD_BREAKPOINT_MAX]
Definition: kddata.c:100
#define DBGKD_VERS_FLAG_PTR64
Definition: wdbgexts.h:23
ULONG Kd_CACHEMGR_Mask
Definition: kddata.c:278