ReactOS  0.4.15-dev-1201-gb2cf5a4
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 //
298 // Components specified in Windows 8
299 //
305 //
306 // Components specified in Windows 10
307 //
312 // End Mask
314 
315 //
316 // Debug Filter Component Table
317 //
319 {
321  &Kd_SMSS_Mask,
322  &Kd_SETUP_Mask,
323  &Kd_NTFS_Mask,
324  &Kd_FSTUB_Mask,
327  &Kd_CDROM_Mask,
329  &Kd_DISK_Mask,
344  &Kd_ACPI_Mask,
345  &Kd_AMLI_Mask,
347  &Kd_VIDEO_Mask,
350  &Kd_TCPIP_Mask,
354  &Kd_SAMSS_Mask,
361  &Kd_UHCD_Mask,
366  &Kd_SIS_Mask,
370  &Kd_IMAPI_Mask,
371  &Kd_SXS_Mask,
375  &Kd_TAPE_Mask,
376  &Kd_MCHGR_Mask,
377  &Kd_IDEP_Mask,
380  &Kd_FDC_Mask,
386  &Kd_PCI_Mask,
387  &Kd_DMIO_Mask,
391  &Kd_VSS_Mask,
395  &Kd_SR_Mask,
403  &Kd_HPS_Mask,
405  &Kd_LDR_Mask,
408  &Kd_SHPC_Mask,
414  &Kd_VDS_Mask,
416  &Kd_VDSDYN_Mask, // Specified in Vista+
418  &Kd_VDSLDR_Mask, // Specified in Vista+
422  &Kd_MM_Mask,
423  &Kd_DFSC_Mask,
424  &Kd_WOW64_Mask,
425 //
426 // Components specified in Vista+, some of which we also use in ReactOS
427 //
428  &Kd_ALPC_Mask,
429  &Kd_WDI_Mask,
431  &Kd_KTM_Mask,
433  &Kd_HEAP_Mask,
434  &Kd_WHEA_Mask,
436  &Kd_MMCSS_Mask,
437  &Kd_TPM_Mask,
440  &Kd_EMS_Mask,
441  &Kd_WDT_Mask,
443  &Kd_NDIS_Mask,
445  &Kd_LUAFV_Mask,
452  &Kd_CFR_Mask,
453  &Kd_TXF_Mask,
456  &Kd_MPIO_Mask,
457  &Kd_MSDSM_Mask,
458  &Kd_UDFS_Mask,
459  &Kd_PSHED_Mask,
461  &Kd_LSASS_Mask,
463  &Kd_CNG_Mask,
464  &Kd_EXFAT_Mask,
466  &Kd_XSAVE_Mask,
467  &Kd_SE_Mask,
469 //
470 // Components specified in Windows 8
471 //
472  &Kd_POWER_Mask,
474  &Kd_GPIO_Mask,
475  &Kd_REFS_Mask,
476  &Kd_WER_Mask,
477 //
478 // Components specified in Windows 10
479 //
481  &Kd_VPCI_Mask,
483  &Kd_FSLIB_Mask,
484 // End Mask
486 };
487 
489 
490 //
491 // Debugger Data
492 //
495 
496 //
497 // Debugger Version and Data Block
498 //
500 {
501  0,
502  0,
505 #if defined(_M_AMD64) || defined(_M_ARM64)
507 #else
509 #endif
510  IMAGE_FILE_MACHINE_NATIVE,
512  0,
513  0,
515  {0},
516  0,
517  0,
518  0
519 };
521 {
522  {{0}},
523  0,
525  0,
526  FIELD_OFFSET(KTHREAD, CallbackStack),
527 #if defined(_M_ARM) || defined(_M_AMD64)
528  0,
529  0,
530 #else
531  FIELD_OFFSET(KCALLOUT_FRAME, CallbackStack),
532  FIELD_OFFSET(KCALLOUT_FRAME, CBSTACK_FRAME_POINTER),
533 #endif
534  FALSE,
536  0,
567  PAGE_SIZE,
575  {0},
593  {(ULONG_PTR)&NtBuildLab},
594  {0},
609  {0},
610  {0},
611  FIELD_OFFSET(KTHREAD, NextProcessor),
612  FIELD_OFFSET(KTHREAD, Teb),
613  FIELD_OFFSET(KTHREAD, KernelStack),
614  FIELD_OFFSET(KTHREAD, InitialStack),
615  FIELD_OFFSET(KTHREAD, ApcState.Process),
617  0,
618  0,
619  sizeof(EPROCESS),
621  FIELD_OFFSET(EPROCESS, InheritedFromUniqueProcessId),
622  FIELD_OFFSET(EPROCESS, Pcb.DirectoryTableBase),
623  sizeof(KPRCB),
624  FIELD_OFFSET(KPRCB, DpcRoutineActive),
625  FIELD_OFFSET(KPRCB, CurrentThread),
626  FIELD_OFFSET(KPRCB, MHz),
627  FIELD_OFFSET(KPRCB, CpuType),
628  FIELD_OFFSET(KPRCB, VendorString),
629  FIELD_OFFSET(KPRCB, ProcessorState.ContextFrame),
631  sizeof(ETHREAD),
635  sizeof(KPCR),
636  KPCR_SELF_PCR_OFFSET,
637  KPCR_CURRENT_PRCB_OFFSET,
638  KPCR_CONTAINED_PRCB_OFFSET,
639  0,
640  0,
641 #if defined(_M_ARM)
642  _WARN("KPCR_INITIAL_STACK_OFFSET, KPCR_STACK_LIMIT_OFFSET and KPRCB_PCR_PAGE_OFFSET not properly defined on ARM")
643  0,
644  0,
645  0,
646 #else
647  KPCR_INITIAL_STACK_OFFSET,
648  KPCR_STACK_LIMIT_OFFSET,
649  KPRCB_PCR_PAGE_OFFSET,
650 #endif
651  FIELD_OFFSET(KPRCB, ProcessorState.SpecialRegisters),
652 #if defined(_M_IX86)
653  //
654  // x86 GDT/LDT/TSS constants
655  //
656  KGDT_R0_CODE,
657  KGDT_R0_DATA,
658  KGDT_R0_PCR,
659  KGDT_R3_CODE,
660  KGDT_R3_DATA,
661  KGDT_R3_TEB,
662  KGDT_LDT,
663  KGDT_TSS,
664  0,
665  0,
666 #elif defined(_M_AMD64)
667  //
668  // AMD64 GDT/LDT/TSS constants
669  //
676  0,
678  0,
679  0,
680 #else
681  //
682  // No GDT/LDT/TSS on other architectures
683  //
684  0,
685  0,
686  0,
687  0,
688  0,
689  0,
690  0,
691  0,
692  0,
693  0,
694 #endif
697 };
ULONG Kd_VSS_Mask
Definition: kddata.c:219
ULONG Kd_POWER_Mask
Definition: kddata.c:300
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:451
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:442
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:318
PVOID MmUnloadedDrivers
Definition: sysldr.c:43
ULONG Kd_WMILIB_Mask
Definition: kddata.c:171
ULONG Kd_STORMINIPORT_Mask
Definition: kddata.c:238
ULONG Kd_GPIO_Mask
Definition: kddata.c:302
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:592
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:65
#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_WER_Mask
Definition: kddata.c:304
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
#define FALSE
Definition: types.h:117
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:494
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_FSLIB_Mask
Definition: kddata.c:311
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:493
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:31
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:22
#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_VPCI_Mask
Definition: kddata.c:309
ULONG Kd_SERMOUSE_Mask
Definition: kddata.c:164
ULONG KdComponentTableSize
Definition: kddata.c:488
#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:119
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_STORAGECLASSMEMORY_Mask
Definition: kddata.c:310
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:581
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
ULONG Kd_CRASHDUMPXHCI_Mask
Definition: kddata.c:301
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
#define RTL_NUMBER_OF(x)
Definition: RtlRegistry.c:12
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
ULONG Kd_REFS_Mask
Definition: kddata.c:303
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
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:57
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:520
#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:62
DBGKD_GET_VERSION64 KdVersionBlock
Definition: kddata.c:499
KDPC KdpTimeSlipDpc
Definition: kddata.c:120
ULONG Kd_ALPC_Mask
Definition: kddata.c:256
ULONG Kd_ENDOFTABLE_Mask
Definition: kddata.c:313
SIZE_T MmDriverCommit
Definition: freelist.c:32
BREAKPOINT_ENTRY KdpBreakpointTable[KD_BREAKPOINT_MAX]
Definition: kddata.c:100
ULONG Kd_CAPIMG_Mask
Definition: kddata.c:308
#define DBGKD_VERS_FLAG_PTR64
Definition: wdbgexts.h:23
ULONG Kd_CACHEMGR_Mask
Definition: kddata.c:278