ReactOS  0.4.15-dev-3165-gdf6fff7
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 //
76 
77 //
78 // Debugger Configuration Settings
79 //
92 
93 //
94 // Breakpoint Data
95 //
101 
102 //
103 // Symbol Data
104 //
106 
107 //
108 // Tracepoint Data
109 //
112 
113 //
114 // Time Slip Support
115 //
123 
124 //
125 // Buffers
126 //
129 
130 //
131 // KdPrint Buffers
132 //
139 
140 //
141 // Debug Filter Masks
142 //
240 ULONG Kd_VDSDYN_Mask; // Specified in Vista+
242 ULONG Kd_VDSLDR_Mask; // Specified in Vista+
249 //
250 // Components specified in Vista+, some of which we also use in ReactOS
251 //
293 //
294 // Components specified in Windows 8
295 //
301 //
302 // Components specified in Windows 10
303 //
308 // End Mask
310 
311 //
312 // Debug Filter Component Table
313 //
315 {
317  &Kd_SMSS_Mask,
318  &Kd_SETUP_Mask,
319  &Kd_NTFS_Mask,
320  &Kd_FSTUB_Mask,
323  &Kd_CDROM_Mask,
325  &Kd_DISK_Mask,
340  &Kd_ACPI_Mask,
341  &Kd_AMLI_Mask,
343  &Kd_VIDEO_Mask,
346  &Kd_TCPIP_Mask,
350  &Kd_SAMSS_Mask,
357  &Kd_UHCD_Mask,
362  &Kd_SIS_Mask,
366  &Kd_IMAPI_Mask,
367  &Kd_SXS_Mask,
371  &Kd_TAPE_Mask,
372  &Kd_MCHGR_Mask,
373  &Kd_IDEP_Mask,
376  &Kd_FDC_Mask,
382  &Kd_PCI_Mask,
383  &Kd_DMIO_Mask,
387  &Kd_VSS_Mask,
391  &Kd_SR_Mask,
399  &Kd_HPS_Mask,
401  &Kd_LDR_Mask,
404  &Kd_SHPC_Mask,
410  &Kd_VDS_Mask,
412  &Kd_VDSDYN_Mask, // Specified in Vista+
414  &Kd_VDSLDR_Mask, // Specified in Vista+
418  &Kd_MM_Mask,
419  &Kd_DFSC_Mask,
420  &Kd_WOW64_Mask,
421 //
422 // Components specified in Vista+, some of which we also use in ReactOS
423 //
424  &Kd_ALPC_Mask,
425  &Kd_WDI_Mask,
427  &Kd_KTM_Mask,
429  &Kd_HEAP_Mask,
430  &Kd_WHEA_Mask,
432  &Kd_MMCSS_Mask,
433  &Kd_TPM_Mask,
436  &Kd_EMS_Mask,
437  &Kd_WDT_Mask,
439  &Kd_NDIS_Mask,
441  &Kd_LUAFV_Mask,
448  &Kd_CFR_Mask,
449  &Kd_TXF_Mask,
452  &Kd_MPIO_Mask,
453  &Kd_MSDSM_Mask,
454  &Kd_UDFS_Mask,
455  &Kd_PSHED_Mask,
457  &Kd_LSASS_Mask,
459  &Kd_CNG_Mask,
460  &Kd_EXFAT_Mask,
462  &Kd_XSAVE_Mask,
463  &Kd_SE_Mask,
465 //
466 // Components specified in Windows 8
467 //
468  &Kd_POWER_Mask,
470  &Kd_GPIO_Mask,
471  &Kd_REFS_Mask,
472  &Kd_WER_Mask,
473 //
474 // Components specified in Windows 10
475 //
477  &Kd_VPCI_Mask,
479  &Kd_FSLIB_Mask,
480 // End Mask
482 };
483 
485 
486 //
487 // Debugger Data
488 //
491 
492 //
493 // Debugger Version and Data Block
494 //
496 {
497  0,
498  0,
501 #if defined(_M_AMD64) || defined(_M_ARM64)
503 #else
505 #endif
506  IMAGE_FILE_MACHINE_NATIVE,
508  0,
509  0,
511  {0},
512  0,
513  0,
514  0
515 };
517 {
518  {{0}},
519  0,
521  0,
522  FIELD_OFFSET(KTHREAD, CallbackStack),
523 #if defined(_M_ARM) || defined(_M_AMD64)
524  0,
525  0,
526 #else
527  FIELD_OFFSET(KCALLOUT_FRAME, CallbackStack),
528  FIELD_OFFSET(KCALLOUT_FRAME, CBSTACK_FRAME_POINTER),
529 #endif
530  FALSE,
532  0,
563  PAGE_SIZE,
571  {0},
589  {(ULONG_PTR)&NtBuildLab},
590  {0},
605  {0},
606  {0},
607  FIELD_OFFSET(KTHREAD, NextProcessor),
608  FIELD_OFFSET(KTHREAD, Teb),
609  FIELD_OFFSET(KTHREAD, KernelStack),
610  FIELD_OFFSET(KTHREAD, InitialStack),
611  FIELD_OFFSET(KTHREAD, ApcState.Process),
613  0,
614  0,
615  sizeof(EPROCESS),
617  FIELD_OFFSET(EPROCESS, InheritedFromUniqueProcessId),
618  FIELD_OFFSET(EPROCESS, Pcb.DirectoryTableBase),
619  sizeof(KPRCB),
620  FIELD_OFFSET(KPRCB, DpcRoutineActive),
621  FIELD_OFFSET(KPRCB, CurrentThread),
622  FIELD_OFFSET(KPRCB, MHz),
623  FIELD_OFFSET(KPRCB, CpuType),
624  FIELD_OFFSET(KPRCB, VendorString),
625  FIELD_OFFSET(KPRCB, ProcessorState.ContextFrame),
627  sizeof(ETHREAD),
631  sizeof(KPCR),
632  KPCR_SELF_PCR_OFFSET,
633  KPCR_CURRENT_PRCB_OFFSET,
634  KPCR_CONTAINED_PRCB_OFFSET,
635  0,
636  0,
637 #if defined(_M_ARM)
638  _WARN("KPCR_INITIAL_STACK_OFFSET, KPCR_STACK_LIMIT_OFFSET and KPRCB_PCR_PAGE_OFFSET not properly defined on ARM")
639  0,
640  0,
641  0,
642 #else
643  KPCR_INITIAL_STACK_OFFSET,
644  KPCR_STACK_LIMIT_OFFSET,
645  KPRCB_PCR_PAGE_OFFSET,
646 #endif
647  FIELD_OFFSET(KPRCB, ProcessorState.SpecialRegisters),
648 #if defined(_M_IX86)
649  //
650  // x86 GDT/LDT/TSS constants
651  //
652  KGDT_R0_CODE,
653  KGDT_R0_DATA,
654  KGDT_R0_PCR,
655  KGDT_R3_CODE,
656  KGDT_R3_DATA,
657  KGDT_R3_TEB,
658  KGDT_LDT,
659  KGDT_TSS,
660  0,
661  0,
662 #elif defined(_M_AMD64)
663  //
664  // AMD64 GDT/LDT/TSS constants
665  //
672  0,
674  0,
675  0,
676 #else
677  //
678  // No GDT/LDT/TSS on other architectures
679  //
680  0,
681  0,
682  0,
683  0,
684  0,
685  0,
686  0,
687  0,
688  0,
689  0,
690 #endif
693 };
ULONG Kd_VSS_Mask
Definition: kddata.c:215
ULONG Kd_POWER_Mask
Definition: kddata.c:296
ULONG MmUserProbeAddress
Definition: init.c:50
signed char * PCHAR
Definition: retypes.h:7
#define KGDT64_R3_CODE
Definition: ketypes.h:76
BOOLEAN KdDebuggerEnabled
Definition: kddata.c:83
ULONG Kd_PCI_Mask
Definition: kddata.c:210
KD_CONTEXT KdpContext
Definition: kddata.c:65
ULONG_PTR MmSubsectionBase
Definition: section.c:197
ULONG Kd_VDSDYNDR_Mask
Definition: kddata.c:241
PFN_NUMBER MmResidentAvailablePages
Definition: freelist.c:27
ULONG Kd_PNPMGR_Mask
Definition: kddata.c:179
ULONG Kd_IHVDRIVER_Mask
Definition: kddata.c:221
ULONG Kd_HALIA64_Mask
Definition: kddata.c:170
ULONG Kd_WOW64_Mask
Definition: kddata.c:248
BOOLEAN KdpOweBreakpoint
Definition: kddata.c:98
#define MAX_KD_COMPONENT_TABLE_ENTRIES
Definition: kd64.h:569
SIZE_T MmtotalCommitLimitMaximum
Definition: freelist.c:36
PPEB Peb
Definition: dllmain.c:27
ULONG Kd_SR_Mask
Definition: kddata.c:219
CHAR KdpPathBuffer[0x1000]
Definition: kddata.c:128
ULONG Kd_FCPORT_Mask
Definition: kddata.c:209
ULONG Kd_NTFS_Mask
Definition: kddata.c:147
ULONG MmSessionSize
Definition: init.c:34
ULONG Kd_FLOPPY_Mask
Definition: kddata.c:203
ULONG Kd_PCIIDE_Mask
Definition: kddata.c:202
ULONG Kd_WDI_Mask
Definition: kddata.c:253
CHAR KdpMessageBuffer[0x1000]
Definition: kddata.c:127
PMMPTE MmSystemPtesEnd[MaximumPtePoolTypes]
Definition: syspte.c:23
PVOID MmSystemCacheStart
Definition: init.c:53
ULONG Kd_RTLTHREADPOOL_Mask
Definition: kddata.c:228
ULONG Kd_UNIMODEM_Mask
Definition: kddata.c:189
KSPIN_LOCK KdpDebuggerLock
Definition: kddata.c:67
ULONG IopNumTriageDumpDataBlocks
Definition: iomgr.c:46
BOOLEAN KdPreviouslyEnabled
Definition: kddata.c:87
NTSTATUS NTAPI KiCallUserMode(IN PVOID *OutputBuffer, IN PULONG OutputLength)
Definition: usercall.c:321
char CHAR
Definition: xmlstorage.h:175
BOOLEAN KdBreakAfterSymbolLoad
Definition: kddata.c:80
LARGE_INTEGER KdTimerStart
Definition: kddata.c:122
ULONG Kd_WMICORE_Mask
Definition: kddata.c:192
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:285
BOOLEAN BreakpointsSuspended
Definition: kddata.c:99
LONG KdpTimeSlipPending
Definition: kddata.c:119
BOOLEAN KdBlockEnable
Definition: kddata.c:85
SIZE_T MmSharedCommit
Definition: freelist.c:31
ULONG Kd_SBP2PORT_Mask
Definition: kddata.c:272
ULONG Kd_VDSLDR_Mask
Definition: kddata.c:242
ULONG Kd_ISAPNP_Mask
Definition: kddata.c:231
ULONG_PTR KiBugCheckData[5]
Definition: bug.c:27
#define KGDT_R0_CODE
Definition: ketypes.h:75
VOID NTAPI RtlpBreakWithStatusInstruction(VOID)
ULONG Kd_SVCHOST_Mask
Definition: kddata.c:172
#define PACKET_TYPE_MAX
Definition: windbgkd.h:53
PVOID MmPagedPoolEnd
Definition: init.c:26
PFN_NUMBER MmLowestPhysicalPage
Definition: meminit.c:30
ULONG Kd_MPIO_Mask
Definition: kddata.c:280
#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:314
PVOID MmUnloadedDrivers
Definition: sysldr.c:43
ULONG Kd_WMILIB_Mask
Definition: kddata.c:167
ULONG Kd_STORMINIPORT_Mask
Definition: kddata.c:234
ULONG Kd_GPIO_Mask
Definition: kddata.c:298
PHANDLE_TABLE PspCidTable
Definition: psmgr.c:48
ULONG Kd_IHVBUS_Mask
Definition: kddata.c:226
LIST_ENTRY IopErrorLogListHead
Definition: error.c:30
ULONG Kd_EXFAT_Mask
Definition: kddata.c:288
ULONG Kd_TERMSRV_Mask
Definition: kddata.c:205
PKDEBUG_SWITCH_ROUTINE KiDebugSwitchRoutine
Definition: kddata.c:75
ULONG Kd_SMSS_Mask
Definition: kddata.c:145
LIST_ENTRY PsActiveProcessHead
Definition: process.c:22
PCHAR KdPrintCircularBuffer
Definition: kddata.c:136
ULONG Kd_COVERAGE_Mask
Definition: kddata.c:273
PFN_NUMBER MmAvailablePages
Definition: freelist.c:26
ULONG KdDisableCount
Definition: kddata.c:90
MMPFNLIST MmZeroedPageListHead
Definition: pfnlist.c:41
ULONG Kd_MOUCLASS_Mask
Definition: kddata.c:165
ULONG Kd_WIN2000_Mask
Definition: kddata.c:143
ULONG Kd_APPCOMPAT_Mask
Definition: kddata.c:270
ULONG Kd_SERENUM_Mask
Definition: kddata.c:184
ULONG Kd_RSFILTER_Mask
Definition: kddata.c:208
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:195
PMMPFN MmPfnDatabase
Definition: freelist.c:24
ULONG Kd_CDAUDIO_Mask
Definition: kddata.c:150
ULONG Kd_SYSTEM_Mask
Definition: kddata.c:144
ULONG Kd_DISK_Mask
Definition: kddata.c:153
SIZE_T MmSizeOfPagedPoolInBytes
Definition: miarm.h:590
ULONG Kd_SIS_Mask
Definition: kddata.c:190
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:269
KTIMER KdpTimeSlipTimer
Definition: kddata.c:117
ULONG Kd_PSHED_Mask
Definition: kddata.c:283
ULONG Kd_NETAPI_Mask
Definition: kddata.c:180
ULONG Kd_ENVIRON_Mask
Definition: kddata.c:263
#define KD_DEFAULT_LOG_BUFFER_SIZE
Definition: kd64.h:17
BOOLEAN KdDebuggerNotPresent
Definition: kddata.c:82
PVOID MmSessionBase
Definition: init.c:33
ULONG Kd_KTM_Mask
Definition: kddata.c:255
KSPIN_LOCK KdpTimeSlipEventLock
Definition: kddata.c:121
#define KGDT_LDT
Definition: ketypes.h:83
ULONG MmSpecialPoolTag
Definition: pool.c:27
ULONG Kd_WER_Mask
Definition: kddata.c:300
ULONG Kd_UDFS_Mask
Definition: kddata.c:282
PVOID MmNonPagedSystemStart
Definition: init.c:23
ULONG_PTR KdpCurrentSymbolEnd
Definition: kddata.c:105
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
ULONG TraceDataBuffer[40]
Definition: kddata.c:110
#define FALSE
Definition: types.h:117
ULONG Kd_DRIVEEXTENDER_Mask
Definition: kddata.c:292
SIZE_T MmTotalCommitLimit
Definition: mminit.c:359
ULONG Kd_HEAP_Mask
Definition: kddata.c:257
#define _WARN(msg)
Definition: debug.h:263
long LONG
Definition: pedump.c:60
#define KGDT64_R3_DATA
Definition: ketypes.h:75
struct _KPRCB KPRCB
ULONG Kd_MMCSS_Mask
Definition: kddata.c:260
ULONG Kd_BURNENG_Mask
Definition: kddata.c:193
LARGE_INTEGER KdTimerStop
Definition: kddata.c:122
ULONG Kd_IDEP_Mask
Definition: kddata.c:201
KD_BREAKPOINT_TYPE KdpBreakpointInstruction
Definition: kddata.c:97
ULONG Kd_TXF_Mask
Definition: kddata.c:277
ULONG Kd_SCSERVER_Mask
Definition: kddata.c:181
ULONG Kd_SCCLIENT_Mask
Definition: kddata.c:182
ULONG Kd_CLASSPNP_Mask
Definition: kddata.c:152
PKEVENT KdpTimeSlipEvent
Definition: kddata.c:120
MM_PAGED_POOL_INFO MmPagedPoolInfo
Definition: pool.c:25
ULONG KdPrintBufferSize
Definition: kddata.c:137
unsigned char BOOLEAN
SIZE_T MmPeakCommitment
Definition: freelist.c:35
MMSUPPORT MmSystemCacheWs
Definition: init.c:55
ULONG Kd_STORPROP_Mask
Definition: kddata.c:155
ULONG Kd_USERGDI_Mask
Definition: kddata.c:259
ULONG ExpNumberOfPagedPools
Definition: expool.c:41
ULONG Kd_FASTFAT_Mask
Definition: kddata.c:177
ULONG Kd_VDSDYN_Mask
Definition: kddata.c:240
ULONG Kd_PRINTSPOOLER_Mask
Definition: kddata.c:235
ULONG Kd_CNG_Mask
Definition: kddata.c:287
ULONG Kd_I8042PRT_Mask
Definition: kddata.c:159
ULONG Kd_PERFLIB_Mask
Definition: kddata.c:254
#define KGDT_R3_DATA
Definition: ketypes.h:78
ULONG Kd_FDC_Mask
Definition: kddata.c:204
KSPIN_LOCK KdpDataSpinLock
Definition: kddata.c:490
PVOID MmSystemCacheEnd
Definition: init.c:54
ULONG Kd_DMADMIN_Mask
Definition: kddata.c:213
ULONG Kd_KSECDD_Mask
Definition: kddata.c:278
ULONG Kd_DCOMSS_Mask
Definition: kddata.c:188
SIZE_T MmTotalCommittedPages
Definition: freelist.c:30
PLOADER_PARAMETER_BLOCK KeLoaderBlock
Definition: krnlinit.c:29
ULONG Kd_DFRGIFC_Mask
Definition: kddata.c:244
ULONG Kd_IHVNETWORK_Mask
Definition: kddata.c:224
ULONG Kd_SETUP_Mask
Definition: kddata.c:146
ULONG Kd_VDS_Mask
Definition: kddata.c:238
PPHYSICAL_MEMORY_DESCRIPTOR MmPhysicalMemoryBlock
Definition: init.c:45
ULONG Kd_IHVAUDIO_Mask
Definition: kddata.c:223
ULONG Kd_MOUNTMGR_Mask
Definition: kddata.c:275
ULONG Kd_INFINIBAND_Mask
Definition: kddata.c:220
ULONG Kd_DMSERVER_Mask
Definition: kddata.c:218
PMMPTE MmSystemPtesStart[MaximumPtePoolTypes]
Definition: syspte.c:22
ULONG Kd_DFSC_Mask
Definition: kddata.c:247
ULONG Kd_TPM_Mask
Definition: kddata.c:261
ULONG KdPrintBufferChanges
Definition: kddata.c:138
ULONG Kd_REDBOOK_Mask
Definition: kddata.c:154
BOOLEAN KdpDebuggerStructuresInitialized
Definition: kddata.c:88
ULONG Kd_VERIFIER_Mask
Definition: kddata.c:237
#define KGDT_TSS
Definition: ketypes.h:79
ULONG Kd_CDROM_Mask
Definition: kddata.c:151
PPOOL_TRACKER_TABLE PoolTrackTable
Definition: expool.c:49
#define KGDT_R0_DATA
Definition: ketypes.h:76
ULONG Kd_SHPC_Mask
Definition: kddata.c:232
ULONG Kd_MOUHID_Mask
Definition: kddata.c:163
PPOOL_DESCRIPTOR ExpPagedPoolDescriptor[16+1]
Definition: expool.c:43
ULONG Kd_STORPORT_Mask
Definition: kddata.c:233
ULONG Kd_FSLIB_Mask
Definition: kddata.c:307
ULONG Kd_DMCONFIG_Mask
Definition: kddata.c:212
LIST_ENTRY PsLoadedModuleList
Definition: sysldr.c:34
ULONG Kd_IMAPI_Mask
Definition: kddata.c:194
BOOLEAN KdPitchDebugger
Definition: kddata.c:81
LIST_ENTRY KdpDebuggerDataListHead
Definition: kddata.c:489
ULONG Kd_TWOTRACK_Mask
Definition: kddata.c:166
ULONG Kd_SAMSS_Mask
Definition: kddata.c:178
ULONG Kd_USBSTOR_Mask
Definition: kddata.c:271
struct _EPROCESS EPROCESS
POOL_DESCRIPTOR NonPagedPoolDescriptor
Definition: expool.c:42
PVOID KernelVerifier
Definition: drvmgmt.c:28
ULONG Kd_LSERMOUS_Mask
Definition: kddata.c:161
#define KGDT_R3_TEB
Definition: ketypes.h:81
MMPFNLIST MmModifiedPageListHead
Definition: pfnlist.c:45
ULONG Kd_PNPMEM_Mask
Definition: kddata.c:216
ULONG_PTR KdpCurrentSymbolStart
Definition: kddata.c:105
LIST_ENTRY KeBugcheckCallbackListHead
Definition: bug.c:18
#define KGDT_R0_PCR
Definition: ketypes.h:80
ULONG Kd_IDLETASK_Mask
Definition: kddata.c:197
#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:258
ULONG Kd_FILETRACE_Mask
Definition: kddata.c:289
ULONG Kd_NDIS_Mask
Definition: kddata.c:267
ULONG Kd_KBDCLASS_Mask
Definition: kddata.c:164
Definition: ketypes.h:687
#define KGDT64_SYS_TSS
Definition: ketypes.h:77
ULONG Kd_VPCI_Mask
Definition: kddata.c:305
ULONG Kd_SERMOUSE_Mask
Definition: kddata.c:160
ULONG KdComponentTableSize
Definition: kddata.c:484
#define PAGE_SIZE
Definition: env_spec_w32.h:49
ULONG Kd_WSOCKTRANSPORT_Mask
Definition: kddata.c:214
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:176
ULONG Kd_STORVSP_Mask
Definition: kddata.c:284
ULONG KdPrintRolloverCount
Definition: kddata.c:135
ULONG Kd_SE_Mask
Definition: kddata.c:291
ULONG Kd_SERIAL_Mask
Definition: kddata.c:183
ULONG Kd_KBDHID_Mask
Definition: kddata.c:162
_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:306
ULONG Kd_PROCESSOR_Mask
Definition: kddata.c:217
LARGE_INTEGER KdTimerDifference
Definition: kddata.c:122
PVOID IopTriageDumpDataBlocks[64]
Definition: iomgr.c:47
ULONG Kd_UHCD_Mask
Definition: kddata.c:185
PVOID MmPagedPoolStart
Definition: miarm.h:579
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:230
#define KD_BREAKPOINT_TYPE
Definition: ke.h:117
BOOLEAN KdIgnoreUmExceptions
Definition: kddata.c:86
SIZE_T MmPagedPoolCommit
Definition: freelist.c:34
ULONG Kd_CFR_Mask
Definition: kddata.c:276
ULONG Kd_EMS_Mask
Definition: kddata.c:264
ULONG Kd_DEFAULT_Mask
Definition: kddata.c:245
ULONG Kd_DMIO_Mask
Definition: kddata.c:211
ULONG Kd_FUSION_Mask
Definition: kddata.c:196
PFN_COUNT MmNumberOfPhysicalPages
Definition: init.c:48
ULONG Kd_VDSBAS_Mask
Definition: kddata.c:239
BOOLEAN KdAutoEnableOnEvent
Definition: kddata.c:84
ULONG Kd_IHVSTREAMING_Mask
Definition: kddata.c:225
ULONG Kd_TCPIP_Mask
Definition: kddata.c:174
BOOLEAN KdpContextSent
Definition: kddata.c:69
ULONG Kd_CRASHDUMPXHCI_Mask
Definition: kddata.c:297
WORK_QUEUE_ITEM KdpTimeSlipWorkItem
Definition: kddata.c:118
CHAR KdPrintDefaultCircularBuffer[KD_DEFAULT_LOG_BUFFER_SIZE]
Definition: kddata.c:133
ULONG Kd_VSSDYNDISK_Mask
Definition: kddata.c:236
ULONG Kd_VDSUTIL_Mask
Definition: kddata.c:243
#define RTL_NUMBER_OF(x)
Definition: RtlRegistry.c:12
ULONG Kd_AMLI_Mask
Definition: kddata.c:169
struct _ETHREAD ETHREAD
ULONG Kd_MCHGR_Mask
Definition: kddata.c:200
PKPRCB KiProcessorBlock[]
Definition: krnlinit.c:32
ULONG Kd_MSDSM_Mask
Definition: kddata.c:281
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
_Out_ PKAPC_STATE ApcState
Definition: mm.h:1679
ULONG Kd_W32TIME_Mask
Definition: kddata.c:206
ULONG MmMaximumNonPagedPoolInBytes
Definition: init.c:22
ULONG Kd_REFS_Mask
Definition: kddata.c:299
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
ULONG Kd_RPCPROXY_Mask
Definition: kddata.c:186
ULONG Kd_HPS_Mask
Definition: kddata.c:227
ULONG Kd_ACPI_Mask
Definition: kddata.c:168
struct _KPCR KPCR
BOOLEAN KdpControlCPressed
Definition: kddata.c:68
ULONG Kd_TAPE_Mask
Definition: kddata.c:199
ULONG Kd_FLTREGRESS_Mask
Definition: kddata.c:279
unsigned int * PULONG
Definition: retypes.h:1
ULONG Kd_SSPICLI_Mask
Definition: kddata.c:286
PVOID MmHighestUserAddress
Definition: rtlcompat.c:29
LIST_ENTRY ExpSystemResourcesList
Definition: resource.c:76
ULONG Kd_LDR_Mask
Definition: kddata.c:229
ULONG Kd_MM_Mask
Definition: kddata.c:246
BOOLEAN KdEnteredDebugger
Definition: kddata.c:89
MM_DRIVER_VERIFIER_DATA MmVerifierData
Definition: drvmgmt.c:20
ULONG Kd_SCSIPORT_Mask
Definition: kddata.c:156
ULONG MmNumberOfPagingFiles
Definition: pagefile.c:46
ULONG TraceDataBufferPosition
Definition: kddata.c:111
static POBJECT_TYPE ObpTypeObjectType
Definition: ObTypes.c:122
ULONG Kd_CONFIG_Mask
Definition: kddata.c:158
ULONG Kd_VIDEOPRT_Mask
Definition: kddata.c:173
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:256
#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:265
LARGE_INTEGER KdPerformanceCounterRate
Definition: kddata.c:91
unsigned int ULONG
Definition: retypes.h:1
#define DBGKD_64BIT_PROTOCOL_VERSION2
Definition: windbgkd.h:154
ULONG KdpNumInternalBreakpoints
Definition: kddata.c:100
#define ULONG_PTR
Definition: config.h:101
ULONG Kd_THREADORDER_Mask
Definition: kddata.c:262
ULONG Kd_IHVVIDEO_Mask
Definition: kddata.c:222
ULONG Kd_DMSYNTH_Mask
Definition: kddata.c:175
PFN_NUMBER MmHighestPhysicalPage
Definition: meminit.c:31
PCHAR KdPrintWritePointer
Definition: kddata.c:134
ULONG Kd_FLTMGR_Mask
Definition: kddata.c:191
ULONG Kd_CRASHDUMP_Mask
Definition: kddata.c:149
ULONG Kd_FSTUB_Mask
Definition: kddata.c:148
ULONG Kd_VIDEO_Mask
Definition: kddata.c:171
MMPFNLIST MmFreePageListHead
Definition: pfnlist.c:42
ULONG Kd_AUTOCHK_Mask
Definition: kddata.c:187
ULONG Kd_PREFETCHER_Mask
Definition: kddata.c:207
ULONG Kd_NVCTRACE_Mask
Definition: kddata.c:268
Definition: kd64.h:48
BOOLEAN KdpPortLocked
Definition: kddata.c:66
ULONG Kd_XSAVE_Mask
Definition: kddata.c:290
ULONG Kd_SOFTPCI_Mask
Definition: kddata.c:198
KDDEBUGGER_DATA64 KdDebuggerDataBlock
Definition: kddata.c:516
#define MmSystemRangeStart
Definition: mm.h:32
ULONG Kd_SCSIMINIPORT_Mask
Definition: kddata.c:157
PKDEBUG_ROUTINE KiDebugRoutine
Definition: kddata.c:74
ULONG Kd_FVEVOL_Mask
Definition: kddata.c:266
CHAR NtBuildLab[]
Definition: init.c:62
DBGKD_GET_VERSION64 KdVersionBlock
Definition: kddata.c:495
KDPC KdpTimeSlipDpc
Definition: kddata.c:116
ULONG Kd_ALPC_Mask
Definition: kddata.c:252
ULONG Kd_ENDOFTABLE_Mask
Definition: kddata.c:309
SIZE_T MmDriverCommit
Definition: freelist.c:32
BREAKPOINT_ENTRY KdpBreakpointTable[KD_BREAKPOINT_MAX]
Definition: kddata.c:96
ULONG Kd_CAPIMG_Mask
Definition: kddata.c:304
#define DBGKD_VERS_FLAG_PTR64
Definition: wdbgexts.h:23
ULONG Kd_CACHEMGR_Mask
Definition: kddata.c:274