ReactOS 0.4.15-dev-8241-g63935f8
ksamd64.template.h
Go to the documentation of this file.
1
2RAW("#include <kxamd64.inc>"),
3
4SIZE(SizeofPointer, PVOID),
5
6
7HEADER("CPU type"),
11
12HEADER("CR0 flags"),
24
25HEADER("CR4 flags"),
36CONSTANT(CR4_CHANNELS), // not in win 10
38
43//CONSTANT(DEBUG_ACTIVE_SET_CONTEXT_STATE_LOCK_BIT),
44//CONSTANT(DEBUG_ACTIVE_SET_CONTEXT_STATE_LOCK),
45
53
54HEADER("DR7 debug control masks"),
59
60HEADER("EFLAGS"),
66CONSTANTX(EFLAGS_IF_BIT, EFLAGS_IF_SHIFT),
67
68HEADER("Exception codes"),
85//CONSTANT(EXCEPTION_VIRTUALIZATION_FAULT),
86
87HEADER("Legacy Floating Status Bit Masks"),
101
102HEADER("Hypervisor Enlightenment Definitions"),
103//CONSTANT(HV_MMU_USE_HYPERCALL_FOR_ADDRESS_SWITCH),
104//CONSTANT(HV_MMU_USE_HYPERCALL_FOR_LOCAL_FLUSH),
105//CONSTANT(HV_MMU_USE_HYPERCALL_FOR_REMOTE_FLUSH),
106//CONSTANT(HV_X64_MSR_APIC_EOI), // not win 10
107//CONSTANT(HV_APIC_ENLIGHTENED),
108//CONSTANT(HV_KE_USE_HYPERCALL_FOR_LONG_SPIN_WAIT),
109//CONSTANT(HV_DEPRECATE_AUTO_EOI), // win 10
110//CONSTANT(HV_X64_MSR_EOI), // win 10
111//CONSTANT(HV_VIRTUAL_APIC_NO_EOI_REQUIRED), // win 10
112//CONSTANT(HV_VIRTUAL_APIC_NO_EOI_REQUIRED_V), // not win 10
113//CONSTANT(HvApicFlags),
114//HvVirtualFaultCode equ 00044H
115//HvVirtualFaultParam equ 00048H
116//HvExtVirtualizationFaultEpf equ 00001H
117
121
122HEADER("KeFeatureBits flags"),
134//CONSTANT(KF_XSAVES_BIT),
135//CONSTANT(KF_FPU_LEAKAGE_BIT),
136
137HEADER("KGDT selectors"),
147
148//HEADER("MCE Recovery Context Flags Definitions"),
149//CONSTANT(KMRC_ALTERNATE_CONTEXT),
150//CONSTANT(KMRC_WORK_ITEM),
151//CONSTANT(KMRC_OFFLINE_PAGE),
152//CONSTANT(KMRC_TERMINATE_PROCESS),
153
154HEADER("Machine type definitions"),
158
159HEADER("Machine Specific Register Numbers"),
176
177HEADER("Flags for MSR_EFER"),
183
184HEADER("Flags for MSR_DEBUG_CTL"),
185//CONSTANT(MSR_DEBUG_CTL_LBR),
186//CONSTANT(MSR_DEBUG_CTL_BTF),
187
188HEADER("Flags for MSR_IA32_MISC_ENABLE"),
189//CONSTANT(MSR_XD_ENABLE_MASK),
190
191HEADER("Argument Home Address"),
192CONSTANT(P1Home),
193CONSTANT(P2Home),
194CONSTANT(P3Home),
195CONSTANT(P4Home),
196
197#if (NTDDI_VERSION >= NTDDI_WIN7)
198HEADER("RTL_UMS_SCHEDULER_REASON Enum Definitions"),
202
203HEADER("User mode context flag definitions"),
216
217#endif /* (NTDDI_VERSION >= NTDDI_WIN7) */
218
223
224HEADER("MXCSR Floating Control/Status Bit Masks"),
243
244HEADER("Misc constants"),
246//CONSTANT(CONTEXT_EX_LENGTH),
248//CONSTANT(KI_SPINLOCK_ORDER_PRCB_LOCK),
249//CONSTANT(KTHREAD_UMS_DIRECTED_SWITCH_ENABLE_BIT),
250//CONSTANT(KTHREAD_UMS_PERFORMING_SYSCALL_BIT),
251//CONSTANT(KUMS_UCH_VOLATILE_BIT),
252//CONSTANT(KUMS_UCH_VOLATILE_MASK),
254//CONSTANT(PF_RDWRFSGSBASE_AVAILABLE),
255//CONSTANT(PF_RDTSCP_INSTRUCTION_AVAILABLE),
256//CONSTANT(UMS_TLS_THREAD_CONTEXT),
257//CONSTANT(XHF_NOEXECUTE),
258
260
261HEADER("CPU_INFO offsets"),
262OFFSET(CpuEax, CPU_INFO, Eax),
263OFFSET(CpuEbx, CPU_INFO, Ebx),
264OFFSET(CpuEcx, CPU_INFO, Ecx),
265OFFSET(CpuEdx, CPU_INFO, Edx),
266
267HEADER("UCALLOUT_FRAME offsets (yes, Cu/Ck is ...)"),
270OFFSET(CkApiNumber, UCALLOUT_FRAME, ApiNumber),
271OFFSET(CkRsp, UCALLOUT_FRAME, MachineFrame.Rsp),
272OFFSET(CkRip, UCALLOUT_FRAME, MachineFrame.Rip),
273SIZE(CalloutFrameLength, UCALLOUT_FRAME),
274
275HEADER("KCALLOUT_FRAME offsets (yes, Cu/Ck is ...)"),
276OFFSET(CuTrapFrame, KCALLOUT_FRAME, TrapFrame),
278OFFSET(CuOutputLength, KCALLOUT_FRAME, OutputLength),
279
280HEADER("CONTEXT offsets"),
281OFFSET(CxP1Home, CONTEXT, P1Home),
282OFFSET(CxP2Home, CONTEXT, P2Home),
283OFFSET(CxP3Home, CONTEXT, P3Home),
284OFFSET(CxP4Home, CONTEXT, P4Home),
285OFFSET(CxP5Home, CONTEXT, P5Home),
286OFFSET(CxP6Home, CONTEXT, P6Home),
287OFFSET(CxContextFlags, CONTEXT, ContextFlags),
288OFFSET(CxMxCsr, CONTEXT, MxCsr),
289OFFSET(CxSegCs, CONTEXT, SegCs),
290OFFSET(CxSegDs, CONTEXT, SegDs),
291OFFSET(CxSegEs, CONTEXT, SegEs),
292OFFSET(CxSegFs, CONTEXT, SegFs),
293OFFSET(CxSegGs, CONTEXT, SegGs),
294OFFSET(CxSegSs, CONTEXT, SegSs),
295OFFSET(CxEFlags, CONTEXT, EFlags),
296OFFSET(CxDr0, CONTEXT, Dr0),
297OFFSET(CxDr1, CONTEXT, Dr1),
298OFFSET(CxDr2, CONTEXT, Dr2),
299OFFSET(CxDr3, CONTEXT, Dr3),
300OFFSET(CxDr6, CONTEXT, Dr6),
301OFFSET(CxDr7, CONTEXT, Dr7),
302OFFSET(CxRax, CONTEXT, Rax),
303OFFSET(CxRcx, CONTEXT, Rcx),
304OFFSET(CxRdx, CONTEXT, Rdx),
305OFFSET(CxRbx, CONTEXT, Rbx),
306OFFSET(CxRsp, CONTEXT, Rsp),
307OFFSET(CxRbp, CONTEXT, Rbp),
308OFFSET(CxRsi, CONTEXT, Rsi),
309OFFSET(CxRdi, CONTEXT, Rdi),
318OFFSET(CxRip, CONTEXT, Rip),
319OFFSET(CxFltSave, CONTEXT, FltSave),
320OFFSET(CxXmm0, CONTEXT, Xmm0),
321OFFSET(CxXmm1, CONTEXT, Xmm1),
322OFFSET(CxXmm2, CONTEXT, Xmm2),
323OFFSET(CxXmm3, CONTEXT, Xmm3),
324OFFSET(CxXmm4, CONTEXT, Xmm4),
325OFFSET(CxXmm5, CONTEXT, Xmm5),
326OFFSET(CxXmm6, CONTEXT, Xmm6),
327OFFSET(CxXmm7, CONTEXT, Xmm7),
328OFFSET(CxXmm8, CONTEXT, Xmm8),
329OFFSET(CxXmm9, CONTEXT, Xmm9),
330OFFSET(CxXmm10, CONTEXT, Xmm10),
331OFFSET(CxXmm11, CONTEXT, Xmm11),
332OFFSET(CxXmm12, CONTEXT, Xmm12),
333OFFSET(CxXmm13, CONTEXT, Xmm13),
334OFFSET(CxXmm14, CONTEXT, Xmm14),
335OFFSET(CxXmm15, CONTEXT, Xmm15),
336OFFSET(CxDebugControl, CONTEXT, DebugControl),
337OFFSET(CxLastBranchToRip, CONTEXT, LastBranchToRip),
338OFFSET(CxLastBranchFromRip, CONTEXT, LastBranchFromRip),
339OFFSET(CxLastExceptionToRip, CONTEXT, LastExceptionToRip),
340OFFSET(CxLastExceptionFromRip, CONTEXT, LastExceptionFromRip),
341OFFSET(CxVectorControl, CONTEXT, VectorControl),
342OFFSET(CxVectorRegister, CONTEXT, VectorRegister),
344
345HEADER("DISPATCHER_CONTEXT"),
346OFFSET(DcControlPc, DISPATCHER_CONTEXT, ControlPc),
347OFFSET(DcImageBase, DISPATCHER_CONTEXT, ImageBase),
348OFFSET(DcFunctionEntry, DISPATCHER_CONTEXT, FunctionEntry),
350OFFSET(DcTargetIp, DISPATCHER_CONTEXT, TargetIp),
352OFFSET(DcLanguageHandler, DISPATCHER_CONTEXT, LanguageHandler),
353OFFSET(DcHandlerData, DISPATCHER_CONTEXT, HandlerData),
354OFFSET(DcHistoryTable, DISPATCHER_CONTEXT, HistoryTable),
355OFFSET(DcScopeIndex, DISPATCHER_CONTEXT, ScopeIndex),
356
357// DPC Stack Frame Defintions
358//OFFSET(DpRsp, ????, Rsp), // 0x0040
359//OFFSET(DpRip, ????, Rip), // 0x0028
360
361HEADER("KEXCEPTION_FRAME offsets"),
362OFFSET(ExP1Home, KEXCEPTION_FRAME, P1Home),
363OFFSET(ExP2Home, KEXCEPTION_FRAME, P2Home),
364OFFSET(ExP3Home, KEXCEPTION_FRAME, P3Home),
365OFFSET(ExP4Home, KEXCEPTION_FRAME, P4Home),
371OFFSET(ExXmm10, KEXCEPTION_FRAME, Xmm10),
372OFFSET(ExXmm11, KEXCEPTION_FRAME, Xmm11),
373OFFSET(ExXmm12, KEXCEPTION_FRAME, Xmm12),
374OFFSET(ExXmm13, KEXCEPTION_FRAME, Xmm13),
375OFFSET(ExXmm14, KEXCEPTION_FRAME, Xmm14),
376OFFSET(ExXmm15, KEXCEPTION_FRAME, Xmm15),
377OFFSET(ExOutputBuffer, KEXCEPTION_FRAME, OutputBuffer), // not Win 10
378OFFSET(ExOutputLength, KEXCEPTION_FRAME, OutputLength), // not Win 10
379OFFSET(ExMxCsr, KEXCEPTION_FRAME, MxCsr),
388OFFSET(ExReturn, KEXCEPTION_FRAME, Return),
389SIZE(KEXCEPTION_FRAME_LENGTH, KEXCEPTION_FRAME),
390
391HEADER("JUMP_BUFFER"),
392OFFSET(JbFrame, _JUMP_BUFFER, Frame),
393OFFSET(JbRbx, _JUMP_BUFFER, Rbx),
394OFFSET(JbRsp, _JUMP_BUFFER, Rsp),
395OFFSET(JbRbp, _JUMP_BUFFER, Rbp),
396OFFSET(JbRsi, _JUMP_BUFFER, Rsi),
397OFFSET(JbRdi, _JUMP_BUFFER, Rdi),
398OFFSET(JbR12, _JUMP_BUFFER, R12),
399OFFSET(JbR13, _JUMP_BUFFER, R13),
400OFFSET(JbR14, _JUMP_BUFFER, R14),
401OFFSET(JbR15, _JUMP_BUFFER, R15),
402OFFSET(JbRip, _JUMP_BUFFER, Rip),
403//OFFSET(JbMxCsr, _JUMP_BUFFER, MxCsr),
404//OFFSET(JbFpCsr, _JUMP_BUFFER, FpCsr),
405//OFFSET(JbSpare, _JUMP_BUFFER, Spare),
406OFFSET(JbXmm6, _JUMP_BUFFER, Xmm6),
407OFFSET(JbXmm7, _JUMP_BUFFER, Xmm7),
408OFFSET(JbXmm8, _JUMP_BUFFER, Xmm8),
409OFFSET(JbXmm9, _JUMP_BUFFER, Xmm9),
410OFFSET(JbXmm10, _JUMP_BUFFER, Xmm10),
411OFFSET(JbXmm11, _JUMP_BUFFER, Xmm11),
412OFFSET(JbXmm12, _JUMP_BUFFER, Xmm12),
413OFFSET(JbXmm13, _JUMP_BUFFER, Xmm13),
414OFFSET(JbXmm14, _JUMP_BUFFER, Xmm14),
415OFFSET(JbXmm15, _JUMP_BUFFER, Xmm15),
416
417HEADER("XSAVE_FORMAT offsets"),
418OFFSET(LfControlWord, XSAVE_FORMAT, ControlWord),
419OFFSET(LfStatusWord, XSAVE_FORMAT, StatusWord),
420OFFSET(LfTagWord, XSAVE_FORMAT, TagWord),
421OFFSET(LfErrorOpcode, XSAVE_FORMAT, ErrorOpcode),
422OFFSET(LfErrorOffset, XSAVE_FORMAT, ErrorOffset),
423OFFSET(LfErrorSelector, XSAVE_FORMAT, ErrorSelector),
424OFFSET(LfDataOffset, XSAVE_FORMAT, DataOffset),
425OFFSET(LfDataSelector, XSAVE_FORMAT, DataSelector),
426OFFSET(LfMxCsr, XSAVE_FORMAT, MxCsr),
427OFFSET(LfMxCsr_Mask, XSAVE_FORMAT, MxCsr_Mask),
428OFFSET(LfFloatRegisters, XSAVE_FORMAT, FloatRegisters),
429OFFSET(LfXmmRegisters, XSAVE_FORMAT, XmmRegisters),
430//OFFSET(LfFloatSaveLength, XSAVE_FORMAT, FloatSaveLength),
431
432//X87ErrorOffset equ 0000CH
433//X87FloatSaveLength equ 0006CH
434
435HEADER("KGDTENTRY64 offsets"),
436OFFSET(KgdtBaseLow, KGDTENTRY64, BaseLow),
437OFFSET(KgdtBaseMiddle, KGDTENTRY64, Bytes.BaseMiddle),
438OFFSET(KgdtBaseHigh, KGDTENTRY64, Bytes.BaseHigh),
439OFFSET(KgdtBaseUpper, KGDTENTRY64, BaseUpper),
440//OFFSET(KgdtFlags1, KGDTENTRY64, Flags1),
441OFFSET(KgdtLimitHigh, KGDTENTRY64, Bytes.Flags2),
442OFFSET(KgdtLimitLow, KGDTENTRY64, LimitLow),
443//CONSTANT(KGDT_LIMIT_ENCODE_MASK),
444//CONSTANT(KGDT_ENTRY_PRESENT),
445
446HEADER("MACHINE_FRAME offsets"),
448OFFSET(MfSegCs, MACHINE_FRAME, SegCs),
449OFFSET(MfEFlags, MACHINE_FRAME, EFlags),
451OFFSET(MfSegSs, MACHINE_FRAME, SegSs),
452SIZE(MachineFrameLength, MACHINE_FRAME),
453
454// MCE Recovery Context Offset Definitions
455//OFFSET(MrcFlags, ????, Flags),
456//OFFSET(MrcPhysicalAddress, ????, PhysicalAddress),
457//SIZE(MceRecoveryContextLength, ????),
458
459HEADER("KPRCB offsets"),
460OFFSET(PbMxCsr, KPRCB, MxCsr),
461OFFSET(PbNumber, KPRCB, Number),
462OFFSET(PbInterruptRequest, KPRCB, InterruptRequest),
463OFFSET(PbIdleHalt, KPRCB, IdleHalt),
464OFFSET(PbCurrentThread, KPRCB, CurrentThread),
465OFFSET(PbNextThread, KPRCB, NextThread),
466OFFSET(PbIdleThread, KPRCB, IdleThread),
467OFFSET(PbNestingLevel, KPRCB, NestingLevel),
468OFFSET(PbRspBase, KPRCB, RspBase),
469OFFSET(PbPrcbLock, KPRCB, PrcbLock),
470#if (NTDDI_VERSION >= NTDDI_VISTA)
471OFFSET(PbPriorityState, KPRCB, PriorityState),
472#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
473OFFSET(PbSetMember, KPRCB, SetMember), // not Win 10
474OFFSET(PbProcessorState, KPRCB, ProcessorState),
475OFFSET(PbCpuType, KPRCB, CpuType),
476OFFSET(PbCpuID, KPRCB, CpuID),
477OFFSET(PbCpuStep, KPRCB, CpuStep),
478OFFSET(PbHalReserved, KPRCB, HalReserved),
479OFFSET(PbMinorVersion, KPRCB, MinorVersion),
480OFFSET(PbMajorVersion, KPRCB, MajorVersion),
481OFFSET(PbBuildType, KPRCB, BuildType),
482OFFSET(PbCpuVendor, KPRCB, CpuVendor),
483//OFFSET(PbCoresPerPhysicalProcessor, KPRCB, CoresPerPhysicalProcessor),
484//OFFSET(PbLogicalProcessorsPerCore, KPRCB, LogicalProcessorsPerCore),
485//OFFSET(PbGroup, KPRCB, Group),
486//OFFSET(PbGroupIndex, KPRCB, GroupIndex),
487OFFSET(PbApicMask, KPRCB, ApicMask),
488OFFSET(PbCFlushSize, KPRCB, CFlushSize),
489OFFSET(PbAcpiReserved, KPRCB, AcpiReserved),
490OFFSET(PbInitialApicId, KPRCB, InitialApicId),
491//OFFSET(PbStride, KPRCB, Stride), // not Win 10
492OFFSET(PbLockQueue, KPRCB, LockQueue),
493OFFSET(PbPPLookasideList, KPRCB, PPLookasideList),
494OFFSET(PbPPNPagedLookasideList, KPRCB, PPNPagedLookasideList),
495OFFSET(PbPPPagedLookasideList, KPRCB, PPPagedLookasideList),
496OFFSET(PbPacketBarrier, KPRCB, PacketBarrier),
497OFFSET(PbDeferredReadyListHead, KPRCB, DeferredReadyListHead),
498OFFSET(PbLookasideIrpFloat, KPRCB, LookasideIrpFloat),
499//OFFSET(PbSystemCalls, KPRCB, KeSystemCalls),
500//OFFSET(PbReadOperationCount, KPRCB, IoReadOperationCount),
501//OFFSET(PbWriteOperationCount, KPRCB, IoWriteOperationCount),
502//OFFSET(PbOtherOperationCount, KPRCB, IoOtherOperationCount),
503//OFFSET(PbReadTransferCount, KPRCB, IoReadTransferCount),
504//OFFSET(PbWriteTransferCount, KPRCB, IoWriteTransferCount),
505//OFFSET(PbOtherTransferCount, KPRCB, IoOtherTransferCount),
506//OFFSET(PbContextSwitches, KPRCB, KeContextSwitches),
507//OFFSET(PbLdtSelector, KPRCB, LdtSelector), // not Win 10
508OFFSET(PbTargetSet, KPRCB, TargetSet), // not Win 10
509//OFFSET(PbTargetCount, KPRCB, TargetCount),
510OFFSET(PbIpiFrozen, KPRCB, IpiFrozen),
511OFFSET(PbRequestMailbox, KPRCB, RequestMailbox),
512OFFSET(PbSenderSummary, KPRCB, SenderSummary), // not Win 10
513//OFFSET(PbDpcListHead, KPRCB, DpcListHead), // not Win 10
514//OFFSET(PbDpcList, KPRCB, DpcList),
515//OFFSET(PbDpcLock, KPRCB, DpcLock),
516//OFFSET(PbDpcQueueDepth, KPRCB, DpcQueueDepth), // not Win 10
517//OFFSET(PbDpcCount, KPRCB, DpcCount),
518OFFSET(PbDpcStack, KPRCB, DpcStack),
519OFFSET(PbMaximumDpcQueueDepth, KPRCB, MaximumDpcQueueDepth),
520OFFSET(PbDpcRequestRate, KPRCB, DpcRequestRate),
521OFFSET(PbMinimumDpcRate, KPRCB, MinimumDpcRate),
522//OFFSET(PbDpcRequestSummary, KPRCB, DpcRequestSummary),
523//OFFSET(PbNormalDpcState, KPRCB, NormalDpcState),
524OFFSET(PbDpcInterruptRequested, KPRCB, DpcInterruptRequested), // not Win 10
525OFFSET(PbDpcThreadRequested, KPRCB, DpcThreadRequested), // not Win 10
526OFFSET(PbDpcRoutineActive, KPRCB, DpcRoutineActive),
527OFFSET(PbDpcThreadActive, KPRCB, DpcThreadActive), // not Win 10
528OFFSET(PbTimerHand, KPRCB, TimerHand), // not Win 10
529OFFSET(PbTimerRequest, KPRCB, TimerRequest), // not Win 10
530OFFSET(PbTickOffset, KPRCB, TickOffset), // not Win 10
531//OFFSET(PbInterruptObject, KPRCB, InterruptObject),
532OFFSET(PbMasterOffset, KPRCB, MasterOffset), // not Win 10
533OFFSET(PbDpcLastCount, KPRCB, DpcLastCount),
534OFFSET(PbQuantumEnd, KPRCB, QuantumEnd),
535OFFSET(PbDpcSetEventRequest, KPRCB, DpcSetEventRequest), // not Win 10
536OFFSET(PbIdleSchedule, KPRCB, IdleSchedule),
537OFFSET(PbReadySummary, KPRCB, ReadySummary),
538OFFSET(PbDispatcherReadyListHead, KPRCB, DispatcherReadyListHead),
539OFFSET(PbInterruptCount, KPRCB, InterruptCount),
540OFFSET(PbKernelTime, KPRCB, KernelTime),
541OFFSET(PbUserTime, KPRCB, UserTime),
542OFFSET(PbDpcTime, KPRCB, DpcTime),
543OFFSET(PbInterruptTime, KPRCB, InterruptTime),
544OFFSET(PbAdjustDpcThreshold, KPRCB, AdjustDpcThreshold),
545OFFSET(PbSkipTick, KPRCB, SkipTick), // not Win 10
546OFFSET(PbPollSlot, KPRCB, PollSlot), // not Win 10
547OFFSET(PbParentNode, KPRCB, ParentNode),
548OFFSET(PbMultiThreadProcessorSet, KPRCB, MultiThreadProcessorSet),
549OFFSET(PbMultiThreadSetMaster, KPRCB, MultiThreadSetMaster), // not Win 10
550//OFFSET(PbStartCycles, KPRCB, StartCycles),
551OFFSET(PbPageColor, KPRCB, PageColor),
552OFFSET(PbNodeColor, KPRCB, NodeColor),
553OFFSET(PbNodeShiftedColor, KPRCB,NodeShiftedColor),
554OFFSET(PbSecondaryColorMask, KPRCB, SecondaryColorMask),
555OFFSET(PbSleeping, KPRCB, Sleeping), // not Win 10
556//OFFSET(PbCycleTime, KPRCB, CycleTime),
557//OFFSET(PbFastReadNoWait, KPRCB, FastReadNoWait),
558//OFFSET(PbFastReadWait, KPRCB, FastReadWait),
559//OFFSET(PbFastReadNotPossible, KPRCB, FastReadNotPossible),
560//OFFSET(PbCopyReadNoWait, KPRCB, CopyReadNoWait),
561//OFFSET(PbCopyReadWait, KPRCB, CopyReadWait),
562//OFFSET(PbCopyReadNoWaitMiss, KPRCB, CopyReadNoWaitMiss),
563//OFFSET(PbAlignmentFixupCount, KPRCB, AlignmentFixupCount),
564//OFFSET(PbExceptionDispatchCount, KPRCB, ExceptionDispatchCount),
565//OFFSET(PbKeSpinLockOrdering, KPRCB, KeSpinLockOrdering),
566OFFSET(PbVendorString, KPRCB, VendorString),
567OFFSET(PbPowerState, KPRCB, PowerState), // not Win 10
568//OFFSET(PbContext, KPRCB, Context),
569//OFFSET(PbIsrStack, KPRCB, IsrStack),
570//OFFSET(PbEntropyCount, KPRCB, EntropyTimingState.EntropyCount), // not Win 10
571//OFFSET(PbEntropyBuffer, KPRCB, EntropyTimingState.Buffer), // not Win 10
572//OFFSET(PbMailbox, KPRCB, Mailbox),
573//OFFSET(PbBamFlags, KPRCB, BamFlags),
574SIZE(ProcessorBlockLength, KPRCB),
575
576HEADER("KPCR"),
577//OFFSET(PcGdt, KPCR, Gdt),
578//OFFSET(PcTss, KPCR, Tss),
579OFFSET(PcUserRsp, KPCR, UserRsp),
580OFFSET(PcSelf, KPCR, Self),
581OFFSET(PcCurrentPrcb, KPCR, CurrentPrcb),
582OFFSET(PcLockArray, KPCR, LockArray),
583//OFFSET(PcTeb, KPCR, Used_Self),
584//OFFSET(PcIdt, KPCR, IdtBase),
585OFFSET(PcIrql, KPCR, Irql),
586OFFSET(PcStallScaleFactor, KPCR, StallScaleFactor),
587OFFSET(PcHalReserved, KPCR, HalReserved),
588//OFFSET(PcPrcb, KPCR, Prcb),
589OFFSET(PcMxCsr, KIPCR, Prcb.MxCsr),
590//OFFSET(PcNumber, KPCR, Number),
591//OFFSET(PcInterruptRequest, KPCR, InterruptRequest),
592//OFFSET(PcIdleHalt, KPCR, IdleHalt),
593OFFSET(PcCurrentThread, KIPCR, Prcb.CurrentThread),
594//OFFSET(PcNextThread, KPCR, NextThread),
595//OFFSET(PcIdleThread, KPCR, IdleThread),
596//OFFSET(PcIpiFrozen, KPCR, IpiFrozen),
597//OFFSET(PcNestingLevel, KPCR, NestingLevel),
598OFFSET(PcRspBase, KIPCR, Prcb.RspBase),
599//OFFSET(PcPrcbLock, KPCR, PrcbLock),
600OFFSET(PcSetMember, KIPCR, Prcb.SetMember), // not Win 10
601#if 0
602OFFSET(PcCr0, KIPCR, Prcb.Cr0),
603OFFSET(PcCr2, KIPCR, Prcb.Cr2),
604OFFSET(PcCr3, KIPCR, Prcb.Cr3),
605OFFSET(PcCr4, KIPCR, Prcb.Cr4),
606OFFSET(PcKernelDr0, KIPCR, Prcb.KernelDr0),
607OFFSET(PcKernelDr1, KIPCR, Prcb.KernelDr1),
608OFFSET(PcKernelDr2, KIPCR, Prcb.KernelDr2),
609OFFSET(PcKernelDr3, KIPCR, Prcb.KernelDr3),
610OFFSET(PcKernelDr7, KIPCR, Prcb.KernelDr7),
611OFFSET(PcGdtrLimit, KIPCR, Prcb.GdtrLimit),
612OFFSET(PcGdtrBase, KIPCR, Prcb.GdtrBase),
613OFFSET(PcIdtrLimit, KIPCR, IdtrLimit),
614OFFSET(PcIdtrBase, KIPCR, IdtrBase),
615OFFSET(PcTr, KIPCR, Tr),
616OFFSET(PcLdtr, KIPCR, Ldtr),
617OFFSET(PcDebugControl, KIPCR, DebugControl),
618OFFSET(PcLastBranchToRip, KIPCR, LastBranchToRip),
619OFFSET(PcLastBranchFromRip, KIPCR, LastBranchFromRip),
620OFFSET(PcLastExceptionToRip, KIPCR, LastExceptionToRip),
621OFFSET(PcLastExceptionFromRip, KIPCR, LastExceptionFromRip),
622OFFSET(PcCr8, KIPCR, Cr8),
623#endif
624OFFSET(PcCpuType, KIPCR, Prcb.CpuType),
625OFFSET(PcCpuID, KIPCR, Prcb.CpuID),
626OFFSET(PcCpuStep, KIPCR, Prcb.CpuStep),
627OFFSET(PcCpuVendor, KIPCR, Prcb.CpuVendor),
628OFFSET(PcCFlushSize, KIPCR, Prcb.CFlushSize),
629OFFSET(PcDeferredReadyListHead, KIPCR, Prcb.DeferredReadyListHead),
630OFFSET(PcSystemCalls, KIPCR, Prcb.KeSystemCalls),
631OFFSET(PcDpcRoutineActive, KIPCR, Prcb.DpcRoutineActive),
632OFFSET(PcInterruptCount, KIPCR, Prcb.InterruptCount),
633OFFSET(PcDebuggerSavedIRQL, KIPCR, Prcb.DebuggerSavedIRQL),
634OFFSET(PcTickOffset, KIPCR, Prcb.TickOffset), // not Win 10
635OFFSET(PcMasterOffset, KIPCR, Prcb.MasterOffset),
636OFFSET(PcSkipTick, KIPCR, Prcb.SkipTick), // not Win 10
637#if (NTDDI_VERSION >= NTDDI_LONGHORN)
638OFFSET(PcVirtualApicAssist, KIPCR, Prcb.VirtualApicAssist),
639OFFSET(PcStartCycles, KIPCR, Prcb.StartCycles),
640#endif
641//OFFSET(PcFeatureBits, KIPCR, Prcb.FeatureBits),
642//OFFSET(PcNmiActive, KIPCR, Prcb.NmiActive),
643//OFFSET(PcDeepSleep, KIPCR, Prcb.DeepSleep),
644//OFFSET(PcSfCode equ 066A8H, KIPCR, Prcb.SfCode),
645//OFFSET(PcSfVa equ 066B0H, KIPCR, Prcb.SfVa),
646SIZE(ProcessorControlRegisterLength, KIPCR),
647
648HEADER("KPROCESSOR_START_BLOCK offsets"),
649OFFSET(PsbCompletionFlag, KPROCESSOR_START_BLOCK, CompletionFlag),
654OFFSET(PsbTiledMemoryMap, KPROCESSOR_START_BLOCK, TiledMemoryMap),
655OFFSET(PsbPmTarget, KPROCESSOR_START_BLOCK, PmTarget),
656OFFSET(PsbLmIdentityTarget, KPROCESSOR_START_BLOCK, LmIdentityTarget),
657OFFSET(PsbLmTarget, KPROCESSOR_START_BLOCK, LmTarget),
659OFFSET(PsbMsrPat, KPROCESSOR_START_BLOCK, MsrPat),
660OFFSET(PsbMsrEFER, KPROCESSOR_START_BLOCK, MsrEFER),
661OFFSET(PsbProcessorState, KPROCESSOR_START_BLOCK, ProcessorState),
664
665HEADER("KPROCESSOR_STATE offsets"),
666OFFSET(PsSpecialRegisters, KPROCESSOR_STATE, SpecialRegisters),
667OFFSET(PsCr0, KPROCESSOR_STATE, SpecialRegisters.Cr0),
668OFFSET(PsCr2, KPROCESSOR_STATE, SpecialRegisters.Cr2),
669OFFSET(PsCr3, KPROCESSOR_STATE, SpecialRegisters.Cr3),
670OFFSET(PsCr4, KPROCESSOR_STATE, SpecialRegisters.Cr4),
671OFFSET(PsKernelDr0, KPROCESSOR_STATE, SpecialRegisters.KernelDr0),
672OFFSET(PsKernelDr1, KPROCESSOR_STATE, SpecialRegisters.KernelDr1),
673OFFSET(PsKernelDr2, KPROCESSOR_STATE, SpecialRegisters.KernelDr2),
674OFFSET(PsKernelDr3, KPROCESSOR_STATE, SpecialRegisters.KernelDr3),
675OFFSET(PsKernelDr6, KPROCESSOR_STATE, SpecialRegisters.KernelDr6),
676OFFSET(PsKernelDr7, KPROCESSOR_STATE, SpecialRegisters.KernelDr7),
677OFFSET(PsGdtr, KPROCESSOR_STATE, SpecialRegisters.Gdtr),
678OFFSET(PsIdtr, KPROCESSOR_STATE, SpecialRegisters.Idtr),
679OFFSET(PsTr, KPROCESSOR_STATE, SpecialRegisters.Tr),
680OFFSET(PsLdtr, KPROCESSOR_STATE, SpecialRegisters.Ldtr),
681OFFSET(PsMxCsr, KPROCESSOR_STATE, SpecialRegisters.MxCsr),
682//OFFSET(PsMsrGsBase, KPROCESSOR_STATE, MsrGsBase),
683//OFFSET(PsMsrGsSwap, KPROCESSOR_STATE, MsrGsSwap),
684//OFFSET(PsMsrStar, KPROCESSOR_STATE, MsrStar),
685//OFFSET(PsMsrLStar, KPROCESSOR_STATE, MsrLStar),
686//OFFSET(PsMsrCStar, KPROCESSOR_STATE, MsrCStar),
687//OFFSET(PsMsrSyscallMask, KPROCESSOR_STATE, MsrSyscallMask),
688//OFFSET(PsXcr0, KPROCESSOR_STATE, Xcr0),
689//OFFSET(PsMsrFsBase, KPROCESSOR_STATE, MsrFsBase),
690OFFSET(PsContextFrame, KPROCESSOR_STATE, ContextFrame),
691OFFSET(PsDebugControl, KPROCESSOR_STATE, SpecialRegisters.DebugControl),
692OFFSET(PsLastBranchToRip, KPROCESSOR_STATE, SpecialRegisters.LastBranchToRip),
693OFFSET(PsLastBranchFromRip, KPROCESSOR_STATE, SpecialRegisters.LastBranchFromRip),
694OFFSET(PsLastExceptionToRip, KPROCESSOR_STATE, SpecialRegisters.LastExceptionToRip),
695OFFSET(PsLastExceptionFromRip, KPROCESSOR_STATE, SpecialRegisters.LastExceptionFromRip),
696OFFSET(PsCr8, KPROCESSOR_STATE, SpecialRegisters.Cr8),
697SIZE(ProcessorStateLength, KPROCESSOR_STATE),
698
699HEADER("KSTART_FRAME"),
700OFFSET(SfP1Home, KSTART_FRAME, P1Home),
701OFFSET(SfP2Home, KSTART_FRAME, P2Home),
702OFFSET(SfP3Home, KSTART_FRAME, P3Home),
703OFFSET(SfP4Home, KSTART_FRAME, P4Home),
704OFFSET(SfReturn, KSTART_FRAME, Return),
705SIZE(KSTART_FRAME_LENGTH, KSTART_FRAME),
706
707HEADER("KSPECIAL_REGISTERS"),
708OFFSET(SrKernelDr0, KSPECIAL_REGISTERS, KernelDr0),
709OFFSET(SrKernelDr1, KSPECIAL_REGISTERS, KernelDr1),
710OFFSET(SrKernelDr2, KSPECIAL_REGISTERS, KernelDr2),
711OFFSET(SrKernelDr3, KSPECIAL_REGISTERS, KernelDr3),
712OFFSET(SrKernelDr6, KSPECIAL_REGISTERS, KernelDr6),
713OFFSET(SrKernelDr7, KSPECIAL_REGISTERS, KernelDr7),
717OFFSET(SrMxCsr, KSPECIAL_REGISTERS, MxCsr),
718OFFSET(SrMsrGsBase, KSPECIAL_REGISTERS, MsrGsBase),
719OFFSET(SrMsrGsSwap, KSPECIAL_REGISTERS, MsrGsSwap),
720OFFSET(SrMsrStar, KSPECIAL_REGISTERS, MsrStar),
721OFFSET(SrMsrLStar, KSPECIAL_REGISTERS, MsrLStar),
722OFFSET(SrMsrCStar, KSPECIAL_REGISTERS, MsrCStar),
723OFFSET(SrMsrSyscallMask, KSPECIAL_REGISTERS, MsrSyscallMask),
724//OFFSET(SrXcr0, KSPECIAL_REGISTERS, Xcr0),
725//OFFSET(SrMsrFsBase, KSPECIAL_REGISTERS, MsrFsBase),
726
727HEADER("KSYSTEM_TIME"), // obsolete in win 10
728OFFSET(StLowTime, KSYSTEM_TIME, LowPart),
729OFFSET(StHigh1Time, KSYSTEM_TIME, High1Time),
730OFFSET(StHigh2Time, KSYSTEM_TIME, High2Time),
731
732HEADER("KSWITCH_FRAME"),
733OFFSET(SwP5Home, KSWITCH_FRAME, P5Home),
734OFFSET(SwApcBypass, KSWITCH_FRAME, ApcBypass),
736OFFSET(SwReturn, KSWITCH_FRAME, Return),
737SIZE(SwitchFrameLength, KSWITCH_FRAME), // not in Win 10
738SIZE(KSWITCH_FRAME_LENGTH, KSWITCH_FRAME),
739
740#if (NTDDI_VERSION >= NTDDI_WIN7)
741HEADER("KTIMER_TABLE offsets"), // not in win 10
742OFFSET(TtEntry, KTIMER_TABLE, TimerEntries),
744SIZE(TIMER_ENTRY_SIZE, KTIMER_TABLE_ENTRY),
746SIZE(KTIMER_TABLE_SIZE, KTIMER_TABLE),
747#endif
748
749#if 0 // FIXME: reloffset???
750HEADER("KTRAP_FRAME offsets"),
751OFFSET(TrP1Home, KTRAP_FRAME, TrP1Home),
752OFFSET(TrP2Home, KTRAP_FRAME, TrP2Home),
753OFFSET(TrP3Home, KTRAP_FRAME, TrP3Home),
754OFFSET(TrP4Home, KTRAP_FRAME, TrP4Home),
755OFFSET(TrP5, KTRAP_FRAME, P5),
756OFFSET(TrPreviousMode, KTRAP_FRAME, PreviousMode),
757OFFSET(TrPreviousIrql, KTRAP_FRAME, PreviousIrql),
758OFFSET(TrFaultIndicator, KTRAP_FRAME, TrP1Home),
759OFFSET(TrExceptionActive, KTRAP_FRAME, TrP1Home),
760OFFSET(TrMxCsr, KTRAP_FRAME, TrP1Home),
761OFFSET(TrRax equ 0FFFFFFB0H),
762OFFSET(TrRcx equ 0FFFFFFB8H),
763OFFSET(TrRdx equ 0FFFFFFC0H),
764OFFSET(TrR8 equ 0FFFFFFC8H),
765OFFSET(TrR9 equ 0FFFFFFD0H),
766OFFSET(TrR10 equ 0FFFFFFD8H),
767OFFSET(TrR11 equ 0FFFFFFE0H),
768OFFSET(TrGsBase equ 0FFFFFFE8H),
769OFFSET(TrGsSwap equ 0FFFFFFE8H),
770OFFSET(TrXmm0 equ 0FFFFFFF0H),
771OFFSET(TrXmm1 equ 00000H),
772OFFSET(TrXmm2 equ 00010H),
773OFFSET(TrXmm3 equ 00020H),
774OFFSET(TrXmm4 equ 00030H),
775OFFSET(TrXmm5 equ 00040H),
776OFFSET(TrFaultAddress equ 00050H),
777OFFSET(TrDr0 equ 00058H),
778OFFSET(TrDr1 equ 00060H),
779OFFSET(TrDr2 equ 00068H),
780OFFSET(TrDr3 equ 00070H),
781OFFSET(TrDr6 equ 00078H),
782OFFSET(TrDr7 equ 00080H),
783OFFSET(TrDebugControl equ 00088H),
784OFFSET(TrLastBranchToRip equ 00090H),
785OFFSET(TrLastBranchFromRip equ 00098H),
786OFFSET(TrLastExceptionToRip equ 000A0H),
787OFFSET(TrLastExceptionFromRip equ 000A8H),
788OFFSET(TrSegDs equ 000B0H),
789OFFSET(TrSegEs equ 000B2H),
790OFFSET(TrSegFs equ 000B4H),
791OFFSET(TrSegGs equ 000B6H),
792OFFSET(TrTrapFrame equ 000B8H),
793OFFSET(TrRbx equ 000C0H),
794OFFSET(TrRdi equ 000C8H),
795OFFSET(TrRsi equ 000D0H),
796OFFSET(TrRbp equ 000D8H),
797OFFSET(TrErrorCode equ 000E0H),
798OFFSET(TrRip equ 000E8H),
799OFFSET(TrSegCs equ 000F0H),
800OFFSET(TrLogging equ 000F3H),
801OFFSET(TrEFlags equ 000F8H),
802OFFSET(TrRsp equ 00100H),
803OFFSET(TrSegSs equ 00108H),
804#endif
806
807HEADER("KTSS offsets"),
808OFFSET(TssRsp0, KTSS64, Rsp0),
809OFFSET(TssRsp1, KTSS64, Rsp1),
810OFFSET(TssRsp2, KTSS64, Rsp2),
811OFFSET(TssPanicStack, KTSS64, Ist[1]),
812OFFSET(TssMcaStack, KTSS64, Ist[2]),
813OFFSET(TssNmiStack, KTSS64, Ist[3]),
814OFFSET(TssIoMapBase, KTSS64, IoMapBase),
815SIZE(TssLength, KTSS64),
816
817#if (NTDDI_VERSION >= NTDDI_WIN7)
818HEADER("RTL_UMS_CONTEXT offsets"),
823OFFSET(UcContextLock, RTL_UMS_CONTEXT, ContextLock),
824OFFSET(UcPrimaryUmsContext, RTL_UMS_CONTEXT, PrimaryUmsContext),
825SIZE(RTL_UMS_CONTEXT_LENGTH, RTL_UMS_CONTEXT),
826
827HEADER("KUMS_CONTEXT_HEADER offsets"),
828OFFSET(UchStackTop, KUMS_CONTEXT_HEADER, StackTop),
829OFFSET(UchStackSize, KUMS_CONTEXT_HEADER, StackSize),
830OFFSET(UchRspOffset, KUMS_CONTEXT_HEADER, RspOffset),
831OFFSET(UchRip, KUMS_CONTEXT_HEADER, Rip),
832OFFSET(UchFltSave, KUMS_CONTEXT_HEADER, FltSave),
833OFFSET(UchFlags, KUMS_CONTEXT_HEADER, Flags),
834OFFSET(UchTrapFrame, KUMS_CONTEXT_HEADER, TrapFrame),
835OFFSET(UchExceptionFrame, KUMS_CONTEXT_HEADER, ExceptionFrame),
836SIZE(KUMS_CONTEXT_HEADER_LENGTH, KUMS_CONTEXT_HEADER),
837
838HEADER("UMS_CONTROL_BLOCK offsets"),
839OFFSET(UcbUmsTeb, UMS_CONTROL_BLOCK, UmsTeb),
840#endif
841
842HEADER("XSTATE_CONFIGURATION offsets"),
843OFFSET(XcfgEnabledFeatures, XSTATE_CONFIGURATION, EnabledFeatures),
844#if (NTDDI_VERSION >= NTDDI_WIN10)
845OFFSET(XcfgEnabledVolatileFeatures, XSTATE_CONFIGURATION, EnabledFeatures),
846OFFSET(XcfgEnabledSupervisorFeatures, XSTATE_CONFIGURATION, EnabledSupervisorFeaturestures),
847#endif
848
849HEADER("XSTATE_CONTEXT offsets"),
852OFFSET(XctxArea, XSTATE_CONTEXT, Area),
853
854HEADER("XSAVE_AREA offsets"),
856SIZE(XsaHeaderLength, XSAVE_AREA_HEADER),
857//CONSTANTX(XSAVE_ALIGN, _alignof(XSAVE_AREA)),
858
859//CONSTANT(CFlushSize),
860
861HEADER("KTHREAD offsets"),
862#if (NTDDI_VERSION >= NTDDI_VISTA)
863OFFSET(ThTebMappedLowVa, KTHREAD, TebMappedLowVa), // not Win 10
864OFFSET(ThUcb, KTHREAD, Ucb),
865//OFFSET(ThBase, KTHREAD, Base?),
866//OFFSET(ThLimit, KTHREAD, Limit?),
867#endif
868
869#if (NTDDI_VERSION >= NTDDI_VISTA)
870HEADER("KPROCESS offsets"),
871OFFSET(PrLdtSystemDescriptor, KPROCESS, LdtSystemDescriptor), // not Win 10
872OFFSET(PrLdtBaseAddress, KPROCESS, LdtBaseAddress), // not Win 10
873#endif
874
875
877
878HEADER("CONTEXT"),
917OFFSET(CONTEXT_FltSave, CONTEXT, FltSave),
942
943HEADER("KEXCEPTION_FRAME"),
972SIZE(KEXCEPTION_FRAME_LENGTH, KEXCEPTION_FRAME),
973
974HEADER("KTRAP_FRAME"),
993OFFSET(KTRAP_FRAME_GsSwap, KTRAP_FRAME,GsSwap),
1001OFFSET(KTRAP_FRAME_TimeStampCKCL, KTRAP_FRAME, TimeStampCKCL),
1013OFFSET(KTRAP_FRAME_LastBranchControl, KTRAP_FRAME, LastBranchControl),
1014OFFSET(KTRAP_FRAME_LastBranchMSR, KTRAP_FRAME, LastBranchMSR),
1025OFFSET(KTRAP_FRAME_ExceptionFrame, KTRAP_FRAME, ExceptionFrame),
1026OFFSET(KTRAP_FRAME_TimeStampKlog, KTRAP_FRAME, TimeStampKlog),
1035
1036HEADER("EXCEPTION_RECORD"),
1043
1044HEADER("KTHREAD"),
1046OFFSET(KTHREAD_TrapFrame, KTHREAD, TrapFrame),
1047OFFSET(KTHREAD_PreviousMode, KTHREAD, PreviousMode),
1048OFFSET(KTHREAD_KernelStack, KTHREAD, KernelStack),
1049OFFSET(KTHREAD_UserApcPending, KTHREAD, ApcState.UserApcPending),
1050OFFSET(KTHREAD_LargeStack, KTHREAD, LargeStack),
1051
1052HEADER("KINTERRUPT"),
1053OFFSET(KINTERRUPT_Type, KINTERRUPT, Type),
1054OFFSET(KINTERRUPT_Size, KINTERRUPT, Size),
1055OFFSET(KINTERRUPT_InterruptListEntry, KINTERRUPT, InterruptListEntry),
1056OFFSET(KINTERRUPT_ServiceRoutine, KINTERRUPT, ServiceRoutine),
1057OFFSET(KINTERRUPT_ServiceContext, KINTERRUPT, ServiceContext),
1058OFFSET(KINTERRUPT_SpinLock, KINTERRUPT, SpinLock),
1059OFFSET(KINTERRUPT_TickCount, KINTERRUPT, TickCount),
1060OFFSET(KINTERRUPT_ActualLock, KINTERRUPT, ActualLock),
1061OFFSET(KINTERRUPT_DispatchAddress, KINTERRUPT, DispatchAddress),
1062OFFSET(KINTERRUPT_Vector, KINTERRUPT, Vector),
1063OFFSET(KINTERRUPT_Irql, KINTERRUPT, Irql),
1064OFFSET(KINTERRUPT_SynchronizeIrql, KINTERRUPT, SynchronizeIrql),
1065OFFSET(KINTERRUPT_FloatingSave, KINTERRUPT, FloatingSave),
1066OFFSET(KINTERRUPT_Connected, KINTERRUPT, Connected),
1067OFFSET(KINTERRUPT_Number, KINTERRUPT, Number),
1068OFFSET(KINTERRUPT_ShareVector, KINTERRUPT, ShareVector),
1069OFFSET(KINTERRUPT_Mode, KINTERRUPT, Mode),
1070OFFSET(KINTERRUPT_ServiceCount, KINTERRUPT, ServiceCount),
1071OFFSET(KINTERRUPT_DispatchCount, KINTERRUPT, DispatchCount),
1072OFFSET(KINTERRUPT_TrapFrame, KINTERRUPT, TrapFrame),
1073OFFSET(KINTERRUPT_DispatchCode, KINTERRUPT, DispatchCode),
1074
1075HEADER("Misc definitions"),
static ULONG StackSize
Definition: StackOverflow.c:19
Type
Definition: Type.h:7
@ R15
Definition: amd64_sup.c:13
@ R13
Definition: amd64_sup.c:13
@ R12
Definition: amd64_sup.c:13
@ R9
Definition: amd64_sup.c:13
@ R14
Definition: amd64_sup.c:13
@ R8
Definition: amd64_sup.c:13
@ R11
Definition: amd64_sup.c:13
@ R10
Definition: amd64_sup.c:13
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
Definition: cdprocs.h:1774
Definition: bufpool.h:45
Definition: Header.h:9
#define SIZE
Definition: consume.c:5
_Out_ PKIRQL Irql
Definition: csq.h:179
ULONG MajorVersion
Definition: ros_glue.cpp:4
ULONG MinorVersion
Definition: ros_glue.cpp:5
unsigned int Mask
Definition: fpcontrol.c:82
#define CONSTANTX(name, value)
Definition: genincdata.c:46
#define HEADER(x)
Definition: genincdata.c:50
#define RAW(x)
Definition: genincdata.c:42
#define CONSTANT(name)
Definition: genincdata.c:43
_In_ ULONG Mode
Definition: hubbusif.h:303
#define ProcessorStartBlockLength
#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME
#define PsbSelfMap
#define KEXCEPTION_ACTIVE_INTERRUPT_FRAME
#define KEXCEPTION_ACTIVE_SERVICE_FRAME
_In_ UINT Bytes
Definition: mmcopy.h:9
#define H
static PLARGE_INTEGER Time
Definition: time.c:105
_In_ NDIS_ERROR_CODE ErrorCode
Definition: ndis.h:4436
#define KTRAP_FRAME_ErrorCode
Definition: asm.h:116
#define CONTEXT_Dr2
Definition: asm.h:148
#define KTRAP_FRAME_MxCsr
Definition: asm.h:80
#define KEXCEPTION_FRAME_Xmm10
Definition: asm.h:208
#define KTRAP_FRAME_Xmm4
Definition: asm.h:93
#define KTRAP_FRAME_FaultAddress
Definition: asm.h:95
#define CONTEXT_Xmm9
Definition: asm.h:180
#define KTRAP_FRAME_FaultIndicator
Definition: asm.h:78
#define KEXCEPTION_FRAME_P3Home
Definition: asm.h:200
#define EXCEPTION_RECORD_ExceptionInformation
Definition: asm.h:239
#define CR0_NW
Definition: asm.h:253
#define KTRAP_FRAME_SegEs
Definition: asm.h:108
#define CONTEXT_DebugControl
Definition: asm.h:189
#define KTRAP_FRAME_Rsp
Definition: asm.h:121
#define EXCEPTION_RECORD_NumberParameters
Definition: asm.h:238
#define KTRAP_FRAME_R8
Definition: asm.h:84
#define CONTEXT_LastBranchToRip
Definition: asm.h:190
#define CR0_NE
Definition: asm.h:250
#define CONTEXT_Dr1
Definition: asm.h:147
#define KTRAP_FRAME_Xmm1
Definition: asm.h:90
#define CONTEXT_P1Home
Definition: asm.h:131
#define KTRAP_FRAME_P4Home
Definition: asm.h:74
#define CR0_WP
Definition: asm.h:251
#define CONTEXT_SegCs
Definition: asm.h:139
#define KEXCEPTION_FRAME_P2Home
Definition: asm.h:199
#define CONTEXT_SegFs
Definition: asm.h:142
#define KTRAP_FRAME_Xmm0
Definition: asm.h:89
#define CR0_MP
Definition: asm.h:246
#define EXCEPTION_RECORD_ExceptionCode
Definition: asm.h:234
#define CONTEXT_P4Home
Definition: asm.h:134
#define KTRAP_FRAME_TrapFrame
Definition: asm.h:111
#define KEXCEPTION_FRAME_Xmm15
Definition: asm.h:213
#define CR0_EM
Definition: asm.h:247
#define KTRAP_FRAME_R11
Definition: asm.h:87
#define CONTEXT_EFlags
Definition: asm.h:145
#define KTRAP_FRAME_Dr2
Definition: asm.h:98
#define KTHREAD_WAIT_IRQL
Definition: asm.h:52
#define KTRAP_FRAME_Xmm2
Definition: asm.h:91
#define KTRAP_FRAME_SegCs
Definition: asm.h:118
#define CONTEXT_Rsp
Definition: asm.h:156
#define KTRAP_FRAME_Rip
Definition: asm.h:117
#define KTRAP_FRAME_SegGs
Definition: asm.h:110
#define CONTEXT_Rdi
Definition: asm.h:159
#define CONTEXT_Rcx
Definition: asm.h:153
#define CR0_PG
Definition: asm.h:255
#define KTRAP_FRAME_P2Home
Definition: asm.h:72
#define CONTEXT_Xmm14
Definition: asm.h:185
#define CONTEXT_Xmm6
Definition: asm.h:177
#define KTRAP_FRAME_ExceptionActive
Definition: asm.h:79
#define KTRAP_FRAME_PreviousMode
Definition: asm.h:76
#define CONTEXT_Xmm13
Definition: asm.h:184
#define CONTEXT_Dr0
Definition: asm.h:146
#define KEXCEPTION_FRAME_Rbx
Definition: asm.h:220
#define KTRAP_FRAME_CodePatchCycle
Definition: asm.h:123
#define KTRAP_FRAME_Rdi
Definition: asm.h:113
#define CONTEXT_VectorControl
Definition: asm.h:188
#define KTRAP_FRAME_Dr0
Definition: asm.h:96
#define CONTEXT_LastBranchFromRip
Definition: asm.h:191
#define KEXCEPTION_FRAME_R13
Definition: asm.h:224
#define CONTEXT_Xmm5
Definition: asm.h:176
#define KTRAP_FRAME_Logging
Definition: asm.h:119
#define CONTEXT_R8
Definition: asm.h:160
#define KTRAP_FRAME_Rsi
Definition: asm.h:114
#define CONTEXT_R15
Definition: asm.h:167
#define KTRAP_FRAME_Rdx
Definition: asm.h:83
#define KTRAP_FRAME_Dr6
Definition: asm.h:100
#define KTRAP_FRAME_Xmm3
Definition: asm.h:92
#define KTRAP_FRAME_LastExceptionToRip
Definition: asm.h:105
#define KEXCEPTION_FRAME_Rdi
Definition: asm.h:221
#define CONTEXT_SegEs
Definition: asm.h:141
#define CONTEXT_Xmm4
Definition: asm.h:175
#define CONTEXT_Xmm1
Definition: asm.h:172
#define KEXCEPTION_FRAME_R15
Definition: asm.h:226
#define EXCEPTION_RECORD_ExceptionAddress
Definition: asm.h:237
#define CONTEXT_Rdx
Definition: asm.h:154
#define CONTEXT_Rsi
Definition: asm.h:158
#define CONTEXT_SegGs
Definition: asm.h:143
#define CR0_AM
Definition: asm.h:252
#define KEXCEPTION_FRAME_Xmm11
Definition: asm.h:209
#define KEXCEPTION_FRAME_Xmm12
Definition: asm.h:210
#define KTRAP_FRAME_P3Home
Definition: asm.h:73
#define KEXCEPTION_FRAME_TrapFrame
Definition: asm.h:214
#define KTRAP_FRAME_EFlags
Definition: asm.h:120
#define KEXCEPTION_FRAME_R14
Definition: asm.h:225
#define KEXCEPTION_FRAME_P1Home
Definition: asm.h:198
#define CONTEXT_Rbx
Definition: asm.h:155
#define KEXCEPTION_FRAME_Xmm6
Definition: asm.h:204
#define CONTEXT_ContextFlags
Definition: asm.h:137
#define KEXCEPTION_FRAME_Rbp
Definition: asm.h:219
#define CONTEXT_Xmm11
Definition: asm.h:182
#define KTRAP_FRAME_R10
Definition: asm.h:86
#define CONTEXT_LastExceptionFromRip
Definition: asm.h:193
#define KTRAP_FRAME_Rcx
Definition: asm.h:82
#define KTRAP_FRAME_SegDs
Definition: asm.h:107
#define CONTEXT_R12
Definition: asm.h:164
#define KEXCEPTION_FRAME_OutputBuffer
Definition: asm.h:216
#define KTRAP_FRAME_LastBranchToRip
Definition: asm.h:103
#define CONTEXT_VectorRegister
Definition: asm.h:187
#define EXCEPTION_RECORD_ExceptionRecord
Definition: asm.h:236
#define CR0_PE
Definition: asm.h:245
#define CONTEXT_R11
Definition: asm.h:163
#define CONTEXT_R9
Definition: asm.h:161
#define KTRAP_FRAME_PreviousIrql
Definition: asm.h:77
#define KEXCEPTION_FRAME_Rsi
Definition: asm.h:222
#define KEXCEPTION_FRAME_Xmm8
Definition: asm.h:206
#define KTRAP_FRAME_DebugControl
Definition: asm.h:102
#define MAX_SYSCALL_PARAM_SIZE
Definition: asm.h:258
#define KTRAP_FRAME_Dr1
Definition: asm.h:97
#define KTRAP_FRAME_LastExceptionFromRip
Definition: asm.h:106
#define KTRAP_FRAME_LastBranchFromRip
Definition: asm.h:104
#define KTRAP_FRAME_SegSs
Definition: asm.h:122
#define CONTEXT_R13
Definition: asm.h:165
#define KEXCEPTION_FRAME_Xmm14
Definition: asm.h:212
#define KTRAP_FRAME_LENGTH
Definition: asm.h:126
#define CONTEXT_SegDs
Definition: asm.h:140
#define CONTEXT_P6Home
Definition: asm.h:136
#define CONTEXT_R10
Definition: asm.h:162
#define KTRAP_FRAME_SegFs
Definition: asm.h:109
#define EXCEPTION_RECORD_ExceptionFlags
Definition: asm.h:235
#define KTRAP_FRAME_Rbp
Definition: asm.h:115
#define CONTEXT_MxCsr
Definition: asm.h:138
#define CONTEXT_Xmm10
Definition: asm.h:181
#define KEXCEPTION_FRAME_P5
Definition: asm.h:202
#define CONTEXT_Dr3
Definition: asm.h:149
#define KTRAP_FRAME_GsBase
Definition: asm.h:88
#define KEXCEPTION_FRAME_OutputLength
Definition: asm.h:217
#define KTRAP_FRAME_P5
Definition: asm.h:75
#define CONTEXT_Rbp
Definition: asm.h:157
#define KEXCEPTION_FRAME_Xmm7
Definition: asm.h:205
#define KTRAP_FRAME_Rax
Definition: asm.h:81
#define CONTEXT_P2Home
Definition: asm.h:132
#define CONTEXT_P5Home
Definition: asm.h:135
#define CONTEXT_Xmm8
Definition: asm.h:179
#define CONTEXT_Xmm0
Definition: asm.h:171
#define CR0_ET
Definition: asm.h:249
#define CONTEXT_Xmm15
Definition: asm.h:186
#define KTRAP_FRAME_Rbx
Definition: asm.h:112
#define KEXCEPTION_FRAME_Return
Definition: asm.h:227
#define CONTEXT_Rax
Definition: asm.h:152
#define KEXCEPTION_FRAME_MxCsr
Definition: asm.h:218
#define KTRAP_FRAME_R9
Definition: asm.h:85
#define KEXCEPTION_FRAME_Xmm13
Definition: asm.h:211
#define CONTEXT_P3Home
Definition: asm.h:133
#define CR0_CD
Definition: asm.h:254
#define KEXCEPTION_FRAME_R12
Definition: asm.h:223
#define CONTEXT_Rip
Definition: asm.h:168
#define CONTEXT_Xmm3
Definition: asm.h:174
#define CONTEXT_R14
Definition: asm.h:166
#define CONTEXT_Xmm7
Definition: asm.h:178
#define CONTEXT_Xmm12
Definition: asm.h:183
#define KEXCEPTION_FRAME_P4Home
Definition: asm.h:201
#define CONTEXT_Dr6
Definition: asm.h:150
#define KTRAP_FRAME_Dr7
Definition: asm.h:101
#define KTRAP_FRAME_Dr3
Definition: asm.h:99
#define KTRAP_FRAME_P1Home
Definition: asm.h:71
#define CONTEXT_SegSs
Definition: asm.h:144
#define CONTEXT_LastExceptionToRip
Definition: asm.h:192
#define CR0_TS
Definition: asm.h:248
#define CONTEXT_Dr7
Definition: asm.h:151
#define KTRAP_FRAME_Xmm5
Definition: asm.h:94
#define KEXCEPTION_FRAME_Xmm9
Definition: asm.h:207
#define CONTEXT_Xmm2
Definition: asm.h:173
#define MSR_LAST_BRANCH_FROM
Definition: ketypes.h:258
#define FSW_STACK_FAULT
Definition: ketypes.h:236
#define FSW_DENORMAL
Definition: ketypes.h:231
#define DEBUG_ACTIVE_PRIMARY_THREAD_LOCK_BIT
Definition: ketypes.h:175
#define XSW_ERROR_SHIFT
Definition: ketypes.h:225
#define CR4_PAE
Definition: ketypes.h:150
#define MSR_LAST_BRANCH_TO
Definition: ketypes.h:259
#define CR4_PGE
Definition: ketypes.h:152
#define FSW_ZERO_DIVIDE
Definition: ketypes.h:232
#define MSR_DEBUG_CTL
Definition: ketypes.h:281
#define MSR_LMA
Definition: ketypes.h:278
#define PROCESSOR_START_FLAG_FORCE_ENABLE_NX
Definition: ketypes.h:1137
#define DR7_ACTIVE
Definition: ketypes.h:162
#define KGDT64_SYS_TSS
Definition: ketypes.h:138
#define CR4_XMMEXCPT
Definition: ketypes.h:154
#define KF_XSTATE
Definition: ketypes.h:55
#define FSW_ERROR_MASK
Definition: ketypes.h:242
#define KGDT64_R3_CODE
Definition: ketypes.h:137
#define XSW_UNDERFLOW
Definition: ketypes.h:214
#define MSR_AMD_ACCESS
Definition: ketypes.h:256
#define DEBUG_ACTIVE_DR7
Definition: ketypes.h:169
#define CR4_VME
Definition: ketypes.h:145
#define MSR_SCE
Definition: ketypes.h:276
#define MSR_PAT
Definition: ketypes.h:280
#define XSW_DENORMAL
Definition: ketypes.h:211
#define FSW_CONDITION_CODE_2
Definition: ketypes.h:240
#define XCW_DENORMAL
Definition: ketypes.h:217
#define FSW_PRECISION
Definition: ketypes.h:235
#define MSR_GS_SWAP
Definition: ketypes.h:254
#define FSW_ERROR_SUMMARY
Definition: ketypes.h:237
#define KGDT64_NULL
Definition: ketypes.h:132
#define EFLAGS_ID_MASK
Definition: ketypes.h:203
#define FSW_CONDITION_CODE_1
Definition: ketypes.h:239
#define FSW_OVERFLOW
Definition: ketypes.h:233
#define KF_CR4
Definition: ketypes.h:33
#define MACHINE_TYPE_MCA
Definition: ketypes.h:115
#define EFLAGS_TF_MASK
Definition: ketypes.h:201
#define KGDT64_R0_CODE
Definition: ketypes.h:133
#define XSW_INVALID_OPERATION
Definition: ketypes.h:210
#define DR7_LEGAL
Definition: ketypes.h:161
#define DEBUG_ACTIVE_SCHEDULED_THREAD_BIT
Definition: ketypes.h:177
#define MSR_LAST_EXCEPTION_TO
Definition: ketypes.h:261
#define DEBUG_ACTIVE_MINIMAL_THREAD
Definition: ketypes.h:172
#define MSR_EFER
Definition: ketypes.h:247
#define XCW_ZERO_DIVIDE
Definition: ketypes.h:218
#define XSW_ZERO_DIVIDE
Definition: ketypes.h:212
#define CR4_XSAVE
Definition: ketypes.h:156
#define KF_RDWRFSGSBASE_BIT
Definition: ketypes.h:78
#define KGDT64_R3_DATA
Definition: ketypes.h:136
#define MSR_SYSCALL_MASK
Definition: ketypes.h:251
#define KGDT64_R3_CMCODE
Definition: ketypes.h:135
#define CR4_MCE
Definition: ketypes.h:151
#define XCW_FLUSH_ZERO
Definition: ketypes.h:223
#define KF_CMPXCHG8B
Definition: ketypes.h:38
#define MSR_STAR
Definition: ketypes.h:248
#define DEBUG_ACTIVE_INSTRUMENTED
Definition: ketypes.h:170
#define KF_RDTSC
Definition: ketypes.h:32
#define KF_FAST_SYSCALL
Definition: ketypes.h:43
#define EFLAGS_IF_MASK
Definition: ketypes.h:204
#define FSW_INVALID_OPERATION
Definition: ketypes.h:230
#define XSW_OVERFLOW
Definition: ketypes.h:213
#define MACHINE_TYPE_EISA
Definition: ketypes.h:114
#define EFLAGS_IF_SHIFT
Definition: ketypes.h:205
#define MSR_MCG_STATUS
Definition: ketypes.h:255
#define KGDT64_R3_CMTEB
Definition: ketypes.h:139
#define CR4_DE
Definition: ketypes.h:148
#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK_BIT
Definition: ketypes.h:178
#define KF_XSTATE_BIT
Definition: ketypes.h:77
#define MSR_LAST_EXCEPTION_FROM
Definition: ketypes.h:260
@ CPU_VIA
Definition: ketypes.h:107
@ CPU_INTEL
Definition: ketypes.h:106
@ CPU_AMD
Definition: ketypes.h:105
#define XSW_ERROR_MASK
Definition: ketypes.h:224
#define MSR_IA32_MISC_ENABLE
Definition: ketypes.h:257
#define KF_LARGE_PAGE
Definition: ketypes.h:36
#define XCW_OVERFLOW
Definition: ketypes.h:219
#define KF_BRANCH
Definition: ketypes.h:49
#define XCW_INVALID_OPERATION
Definition: ketypes.h:216
#define CR4_PVI
Definition: ketypes.h:146
#define FSW_CONDITION_CODE_3
Definition: ketypes.h:241
#define KF_XSAVEOPT_BIT
Definition: ketypes.h:76
#define MSR_LSTAR
Definition: ketypes.h:249
#define FSW_CONDITION_CODE_0
Definition: ketypes.h:238
#define MSR_GS_BASE
Definition: ketypes.h:253
#define MSR_FS_BASE
Definition: ketypes.h:252
#define KGDT64_R0_LDT
Definition: ketypes.h:140
#define MSR_LME
Definition: ketypes.h:277
#define DEBUG_ACTIVE_SCHEDULED_THREAD
Definition: ketypes.h:176
#define CR4_TSD
Definition: ketypes.h:147
#define CR4_PSE
Definition: ketypes.h:149
#define CR4_FXSR
Definition: ketypes.h:153
#define XCW_PRECISION
Definition: ketypes.h:221
#define XCW_UNDERFLOW
Definition: ketypes.h:220
#define KGDT64_R0_DATA
Definition: ketypes.h:134
#define MSR_NXE
Definition: ketypes.h:279
#define XSW_PRECISION
Definition: ketypes.h:215
#define DR7_TRACE_BRANCH
Definition: ketypes.h:163
#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK
Definition: ketypes.h:179
#define DEBUG_ACTIVE_PRIMARY_THREAD_BIT
Definition: ketypes.h:174
#define EFLAGS_TF_SHIFT
Definition: ketypes.h:202
#define KF_GLOBAL_PAGE
Definition: ketypes.h:35
#define FSW_UNDERFLOW
Definition: ketypes.h:234
#define CR4_CHANNELS
Definition: ketypes.h:155
#define MACHINE_TYPE_ISA
Definition: ketypes.h:113
#define DR7_LAST_BRANCH
Definition: ketypes.h:164
#define XCW_ROUND_CONTROL
Definition: ketypes.h:222
#define MSR_CSTAR
Definition: ketypes.h:250
#define DEBUG_ACTIVE_PRIMARY_THREAD
Definition: ketypes.h:173
#define DEBUG_ACTIVE_DBG_INSTRUMENTED
Definition: ketypes.h:171
#define EXCEPTION_INVALID_TSS
Definition: asm.h:627
#define EXCEPTION_DOUBLE_FAULT
Definition: asm.h:625
#define EXCEPTION_DIVIDED_BY_ZERO
Definition: asm.h:618
#define EXCEPTION_BOUND_CHECK
Definition: asm.h:622
#define EXCEPTION_INT3
Definition: asm.h:621
#define CONTEXT_FRAME_LENGTH
Definition: asm.h:366
#define EXCEPTION_NPX_OVERRUN
Definition: asm.h:626
#define EXCEPTION_NPX_ERROR
Definition: asm.h:632
#define EXCEPTION_DEBUG
Definition: asm.h:619
#define EXCEPTION_RESERVED_TRAP
Definition: asm.h:631
#define EXCEPTION_NPX_NOT_AVAILABLE
Definition: asm.h:624
#define EXCEPTION_ALIGNMENT_CHECK
Definition: asm.h:633
#define EXCEPTION_INVALID_OPCODE
Definition: asm.h:623
#define EXCEPTION_SEGMENT_NOT_PRESENT
Definition: asm.h:628
#define EXCEPTION_NMI
Definition: asm.h:620
#define EXCEPTION_STACK_FAULT
Definition: asm.h:629
#define EXCEPTION_GP_FAULT
Definition: asm.h:630
#define UMSCTX_SUSPENDED_MASK
Definition: rtltypes.h:1603
#define UMSCTX_DENY_RUNNING_ON_SELF_THREAD_MASK
Definition: rtltypes.h:1608
#define UMSCTX_VOLATILE_CONTEXT_MASK
Definition: rtltypes.h:1604
RTL_UMS_CONTEXT
Definition: rtltypes.h:1665
#define UMSCTX_TERMINATED_MASK
Definition: rtltypes.h:1605
#define UMSCTX_DEBUG_ACTIVE_MASK
Definition: rtltypes.h:1606
@ UMSCTX_SUSPENDED_BIT
Definition: rtltypes.h:1593
@ UMSCTX_TERMINATED_BIT
Definition: rtltypes.h:1595
@ UMSCTX_VOLATILE_CONTEXT_BIT
Definition: rtltypes.h:1594
@ UMSCTX_SCHEDULED_THREAD_BIT
Definition: rtltypes.h:1587
@ UMSCTX_DEBUG_ACTIVE_BIT
Definition: rtltypes.h:1596
@ UMSCTX_DENY_RUNNING_ON_SELF_THREAD_BIT
Definition: rtltypes.h:1598
@ UmsSchedulerThreadBlocked
Definition: rtltypes.h:1581
@ UmsSchedulerThreadYield
Definition: rtltypes.h:1582
@ UmsSchedulerStartup
Definition: rtltypes.h:1580
#define UMSCTX_SCHEDULED_THREAD_MASK
Definition: rtltypes.h:1602
_IRQL_requires_same_ _In_ PVOID EstablisherFrame
Definition: ntbasedef.h:653
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT * ContextRecord
Definition: ntbasedef.h:654
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
_Out_ PKAPC_STATE ApcState
Definition: mm.h:1765
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:207
#define CONTEXT_XSTATE
#define INITIAL_FPCSR
#define INITIAL_MXCSR
ULONG BuildType
Definition: main.c:25
KAFFINITY SetMember
Definition: ketypes.h:817
struct _KTHREAD * CurrentThread
Definition: ketypes.h:559
Definition: ke.h:294
Definition: ketypes.h:774
VOID CpuStep(VOID)
Definition: cpu.c:108
DWORD ServiceCount
Definition: svchost.c:19
#define OFFSET
Definition: vbltest.c:24
static int Link(const char **args)
Definition: vfdcmd.c:2414
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
Definition: wdfdevice.h:3034
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
Definition: wdfsync.h:228
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_ PKSERVICE_ROUTINE ServiceRoutine
Definition: iofuncs.h:800
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL SynchronizeIrql
Definition: iofuncs.h:805
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL _In_ KINTERRUPT_MODE _In_ BOOLEAN _In_ KAFFINITY _In_ BOOLEAN FloatingSave
Definition: iofuncs.h:809
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL _In_ KINTERRUPT_MODE _In_ BOOLEAN ShareVector
Definition: iofuncs.h:807
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID ServiceContext
Definition: iofuncs.h:801
#define EVENT_INCREMENT
Definition: iotypes.h:597
_Out_ PULONG UserTime
Definition: kefuncs.h:759
XSAVE_AREA
Definition: ketypes.h:973
XSAVE_FORMAT
Definition: ketypes.h:963
XSAVE_AREA_HEADER
Definition: ketypes.h:968
#define XSTATE_MASK_LEGACY_FLOATING_POINT
Definition: ketypes.h:1150
#define XSTATE_MASK_LEGACY
Definition: ketypes.h:1152
#define TIMER_TABLE_SIZE
Definition: ketypes.h:848
#define XSTATE_MASK_GSSE
Definition: ketypes.h:1153
#define PF_COMPARE_EXCHANGE128
Definition: ketypes.h:138
#define XSTATE_MASK_LEGACY_SSE
Definition: ketypes.h:1151
_In_ KPROCESSOR_MODE PreviousMode
Definition: sefuncs.h:103