ReactOS 0.4.15-dev-8227-g32d615f
ks386.template.h
Go to the documentation of this file.
1
2HEADER("CR0 flags"),
10CONSTANT(CR0_AM), // not win 10
14
15HEADER("CR4 flags"),
26//CONSTANT(CR4_PGE_V),
27//CONSTANT(CR4_XSAVE),
28
29HEADER("Debug Registers"),
34
35HEADER("EFLAGS"),
43//CONSTANT(EFLAG_SELECT),
44
45#if (NTDDI_VERSION >= NTDDI_VISTA)
46HEADER("Hypervisor Enlightenment Definitions"),
51#endif
52
53HEADER("KeFeatureBits flags"),
61//CONSTANT(KF_XSTATE),
62
63HEADER("KGDT selectors"),
76//CONSTANT(KGDT_R3_GS),
77//CONSTANT(KGDT_STACK16),// obsolete
78//CONSTANT(KGDT_CODE16), // obsolete
79
80HEADER("Machine type definitions"),
84
85HEADER("MSR definitions"),
89
90HEADER("MSR values"),
94
95HEADER("WOW64 turbo dispatch system call types"),
128
129HEADER("VDM constants"),
165
166//HEADER("VDM feature bits"),
167//CONSTANT(V86_VIRTUAL_INT_EXTENSIONS),
168//CONSTANT(PM_VIRTUAL_INT_EXTENSIONS),
169
170HEADER("XSAVE_AREA definitions"),
175
176//HEADER("Interrupt vector definitions"),
177//CONSTANT(IOMMU_VECTOR),
178//CONSTANT(STUB_VECTOR),
179//CONSTANT(REBOOT_VECTOR),
180//CONSTANT(IPI_VECTOR),
181//CONSTANT(LOCAL_ERROR_VECTOR),
182//CONSTANT(PERF_VECTOR),
183
184HEADER("Miscellaneous constants"),
185//CONSTANT(INITIAL_MXCSR),
186//CONSTANT(IPI_FREEZE),
187//CONSTANT(XSAVE_PRESENT),
188SIZE(KTIMER_TABLE_SIZE, KTIMER_TABLE),
189//CONSTANT(TRAP_FRAME_MARKER),
191//CONSTANT(INTERRUPT_FRAME),
192//CONSTANT(EXCEPTION_FRAME),
193//CONSTANT(SYSCALL_FRAME),
194//CONSTANT(KXMM_FRAME_SIZE),
195//CONSTANT(KI_SLIST_FAULT_COUNT_MAXIMUM),
199//CONSTANT(DEBUG_ACTIVE_MASK),
200//CONSTANT(DEBUG_ACTIVE_MINIMAL_THREAD),
201//CONSTANT(THREAD_LOCK_FLAGS_DBG_INSTRUMENTED),
202//CONSTANT(X86AMD64_R3_LONG_MODE_CODE),
203//CONSTANT(SEL_TYPE_NP),
204//CONSTANT(TEB_FLAGS_SAFE_THUNK_CALL),
205//CONSTANT(TEB_FLAGS_FIBER_SWAPPED),
206//CONSTANT(KI_SPINLOCK_ORDER_PRCB_LOCK),
207//CONSTANT(PROCESSOR_START_FLAG_FORCE_ENABLE_NX),
208
209HEADER("** FIELD OFFSETS ***************"),
210
211//HEADER("RtlBackoff offsets"),
212//OFFSET(BoDelay, ????, Delay),
213//SIZE(RtlBackoffLength, ????),
214
215HEADER("CONTEXT offsets"),
216OFFSET(CsContextFlags, CONTEXT, ContextFlags),
217OFFSET(CsDr0, CONTEXT, Dr0),
218OFFSET(CsDr1, CONTEXT, Dr1),
219OFFSET(CsDr2, CONTEXT, Dr2),
220OFFSET(CsDr3, CONTEXT, Dr3),
221OFFSET(CsDr6, CONTEXT, Dr6),
222OFFSET(CsDr7, CONTEXT, Dr7),
223OFFSET(CsFloatSave, CONTEXT, FloatSave),
224OFFSET(CsSegGs, CONTEXT, SegGs),
225OFFSET(CsSegFs, CONTEXT, SegFs),
226OFFSET(CsSegEs, CONTEXT, SegEs),
227OFFSET(CsSegDs, CONTEXT, SegDs),
228OFFSET(CsEdi, CONTEXT, Edi),
229OFFSET(CsEsi, CONTEXT, Esi),
230OFFSET(CsEbx, CONTEXT, Ebx),
231OFFSET(CsEdx, CONTEXT, Edx),
232OFFSET(CsEcx, CONTEXT, Ecx),
233OFFSET(CsEax, CONTEXT, Eax),
234OFFSET(CsEbp, CONTEXT, Ebp),
235OFFSET(CsEip, CONTEXT, Eip),
236OFFSET(CsSegCs, CONTEXT, SegCs),
237OFFSET(CsEflags, CONTEXT, EFlags),
238OFFSET(CsEsp, CONTEXT, Esp),
239OFFSET(CsSegSs, CONTEXT, SegSs),
240OFFSET(CsExtendedRegisters, CONTEXT, ExtendedRegisters),
241//OFFSET(CsMxCsr, CONTEXT, MxCsr),
242SIZE(ContextFrameLength, CONTEXT),
243SIZE(CONTEXT_LENGTH, CONTEXT),
244
245HEADER("KCALLOUT_FRAME offsets"),
246OFFSET(CuInStk, KCALLOUT_FRAME, InitialStack), // 00000H
247OFFSET(CuTrFr, KCALLOUT_FRAME, TrapFrame), // 00004H
248OFFSET(CuCbStk, KCALLOUT_FRAME, CallbackStack), // 00008H
249OFFSET(CuEdi, KCALLOUT_FRAME, Edi), // 0000CH
250OFFSET(CuEsi, KCALLOUT_FRAME, Esi), // 00010H
251OFFSET(CuEbx, KCALLOUT_FRAME, Ebx), // 00014H
252OFFSET(CuEbp, KCALLOUT_FRAME, Ebp), // 00018H
253OFFSET(CuRet, KCALLOUT_FRAME, ReturnAddress), // 0001CH
254OFFSET(CuOutBf, KCALLOUT_FRAME, Result), // 00020H
255OFFSET(CuOutLn, KCALLOUT_FRAME, ResultLength), // 00024H
256
257//HEADER("??? offsets"),
258//OFFSET(ErrHandler, ???, Handler),
259//OFFSET(ErrNext, ???, Next),
260//OFFSET(ErrLength, ???, Length),
261
262HEADER("FLOATING_SAVE_AREA offsets"),
263OFFSET(FpControlWord, FLOATING_SAVE_AREA, ControlWord),
264OFFSET(FpStatusWord, FLOATING_SAVE_AREA, StatusWord),
265OFFSET(FpTagWord, FLOATING_SAVE_AREA, TagWord),
266OFFSET(FpErrorOffset, FLOATING_SAVE_AREA, ErrorOffset),
267OFFSET(FpErrorSelector, FLOATING_SAVE_AREA, ErrorSelector),
268OFFSET(FpDataOffset, FLOATING_SAVE_AREA, DataOffset),
269OFFSET(FpDataSelector, FLOATING_SAVE_AREA, DataSelector),
270OFFSET(FpRegisterArea, FLOATING_SAVE_AREA, RegisterArea),
271
272HEADER("XSAVE_FORMAT offsets"),
273OFFSET(FxControlWord, XSAVE_FORMAT, ControlWord),
274OFFSET(FxStatusWord, XSAVE_FORMAT, StatusWord),
275OFFSET(FxTagWord, XSAVE_FORMAT, TagWord),
276OFFSET(FxErrorOpcode, XSAVE_FORMAT, ErrorOpcode),
277OFFSET(FxErrorOffset, XSAVE_FORMAT, ErrorOffset),
278OFFSET(FxErrorSelector, XSAVE_FORMAT, ErrorSelector),
279OFFSET(FxDataOffset, XSAVE_FORMAT, DataOffset),
280OFFSET(FxDataSelector, XSAVE_FORMAT, DataSelector),
281OFFSET(FxMxCsr, XSAVE_FORMAT, MxCsr),
282SIZE(XSAVE_FORMAT_SIZE, XSAVE_FORMAT),
283
284HEADER("KGDTENTRY offsets"),
285OFFSET(KgdtLimitLow, KGDTENTRY, LimitLow),
286OFFSET(KgdtBaseLow, KGDTENTRY, BaseLow),
287OFFSET(KgdtHighWord, KGDTENTRY, HighWord),
288OFFSET(KgdtBaseMid, KGDTENTRY, HighWord.Bytes.BaseMid),
289OFFSET(KgdtLimitHi, KGDTENTRY, HighWord.Bytes.Flags2),
290OFFSET(KgdtBaseHi, KGDTENTRY, HighWord.Bytes.BaseHi),
291
292HEADER("KPRCB offsets"),
293OFFSET(PbCurrentThread, KPRCB, CurrentThread),
294OFFSET(PbNextThread, KPRCB, NextThread),
295OFFSET(PbIdleThread, KPRCB, IdleThread),
296//OFFSET(PbNestingLevel, KPRCB, NestingLevel),
297OFFSET(PbCpuType, KPRCB, CpuType),
298OFFSET(PbCpuID, KPRCB, CpuID),
299OFFSET(PbCpuStep, KPRCB, CpuStep),
300OFFSET(PbProcessorState, KPRCB, ProcessorState),
301OFFSET(PbParentNode, KPRCB, ParentNode),
302//OFFSET(PbPriorityState, KPRCB, PriorityState),
303OFFSET(PbHalReserved, KPRCB, HalReserved),
304//OFFSET(PbCFlushSize, KPRCB, CFlushSize),
305//OFFSET(PbCpuVendor, KPRCB, CpuVendor),
306//OFFSET(PbGroupSetMember, KPRCB, GroupSetMember),
307OFFSET(PbNumber, KPRCB, Number),
308//OFFSET(PbClockOwner, KPRCB, ClockOwner),
309OFFSET(PbLockQueue, KPRCB, LockQueue),
310OFFSET(PbInterruptCount, KPRCB, InterruptCount),
311OFFSET(PbKernelTime, KPRCB, KernelTime),
312OFFSET(PbUserTime, KPRCB, UserTime),
313OFFSET(PbDpcTime, KPRCB, DpcTime),
314OFFSET(PbInterruptTime, KPRCB, InterruptTime),
315OFFSET(PbAdjustDpcThreshold, KPRCB, AdjustDpcThreshold),
316OFFSET(PbPageColor, KPRCB, PageColor),
317OFFSET(PbDebuggerSavedIRQL, KPRCB, DebuggerSavedIRQL),
318OFFSET(PbNodeShiftedColor, KPRCB, NodeShiftedColor),
319OFFSET(PbSecondaryColorMask, KPRCB, SecondaryColorMask),
320//OFFSET(PbAlignmentFixupCount, KPRCB, AlignmentFixupCount),
321//OFFSET(PbExceptionDispatchCount, KPRCB, ExceptionDispatchCount),
322OFFSET(PbSystemCalls, KPRCB, KeSystemCalls),
323OFFSET(PbPPLookasideList, KPRCB, PPLookasideList),
324OFFSET(PbPPNPagedLookasideList, KPRCB, PPNPagedLookasideList),
325OFFSET(PbPPPagedLookasideList, KPRCB, PPPagedLookasideList),
326OFFSET(PbPacketBarrier, KPRCB, PacketBarrier),
327OFFSET(PbReverseStall, KPRCB, ReverseStall),
328OFFSET(PbIpiFrame, KPRCB, IpiFrame),
329OFFSET(PbCurrentPacket, KPRCB, CurrentPacket),
330OFFSET(PbTargetSet, KPRCB, TargetSet),
331OFFSET(PbWorkerRoutine, KPRCB, WorkerRoutine),
332OFFSET(PbIpiFrozen, KPRCB, IpiFrozen),
333OFFSET(PbRequestSummary, KPRCB, RequestSummary),
334//OFFSET(PbDpcList, KPRCB, DpcList),
335//OFFSET(PbDpcLock, KPRCB, DpcLock),
336//OFFSET(PbDpcCount, KPRCB, DpcCount),
337OFFSET(PbDpcStack, KPRCB, DpcStack),
338OFFSET(PbMaximumDpcQueueDepth, KPRCB, MaximumDpcQueueDepth),
339OFFSET(PbDpcRequestRate, KPRCB, DpcRequestRate),
340OFFSET(PbMinimumDpcRate, KPRCB, MinimumDpcRate),
341OFFSET(PbDpcLastCount, KPRCB, DpcLastCount),
342OFFSET(PbPrcbLock, KPRCB, PrcbLock),
343OFFSET(PbQuantumEnd, KPRCB, QuantumEnd),
344OFFSET(PbDpcRoutineActive, KPRCB, DpcRoutineActive),
345OFFSET(PbIdleSchedule, KPRCB, IdleSchedule),
346//OFFSET(PbNormalDpcState, KPRCB, NormalDpcState),
347//OFFSET(PbKeSpinLockOrdering, KPRCB, KeSpinLockOrdering),
348OFFSET(PbDeferredReadyListHead, KPRCB, DeferredReadyListHead),
349OFFSET(PbReadySummary, KPRCB, ReadySummary),
350OFFSET(PbWaitListHead, KPRCB, WaitListHead),
351//OFFSET(PbStartCycle, KPRCB, StartCycle),
352//OFFSET(PbCycleTime, KPRCB, CycleTime),
353//OFFSET(PbHighCycleTime, KPRCB, HighCycleTime),
354OFFSET(PbDispatcherReadyListHead, KPRCB, DispatcherReadyListHead),
355OFFSET(PbChainedInterruptList, KPRCB, ChainedInterruptList),
356//OFFSET(PbSpinLockAcquireCount, KPRCB, SpinLockAcquireCount),
357//OFFSET(PbSpinLockContentionCount, KPRCB, SpinLockContentionCount),
358//OFFSET(PbSpinLockSpinCount, KPRCB, SpinLockSpinCount),
359//OFFSET(PbContext, KPRCB, Context),
360//OFFSET(PbIsrStack, KPRCB, IsrStack),
361//OFFSET(PbVectorToInterruptObject, KPRCB, VectorToInterruptObject),
362//OFFSET(PbEntropyBuffer, KPRCB, EntropyTimingState.Buffer),
363//OFFSET(PbMailbox, KPRCB, Mailbox),
364SIZE(ProcessorBlockLength, KPRCB),
365
366HEADER("KPCR offsets"),
367OFFSET(PcExceptionList, KIPCR, NtTib.ExceptionList),
368//OFFSET(PcInitialStack, KIPCR, InitialStack),
369//OFFSET(PcMxCsr, KIPCR, MxCsr),
370OFFSET(PcTssCopy, KIPCR, TssCopy),
371OFFSET(PcContextSwitches, KIPCR, ContextSwitches),
372OFFSET(PcSetMemberCopy, KIPCR, SetMemberCopy),
373OFFSET(PcTeb, KIPCR, NtTib.Self),
374OFFSET(PcSelfPcr, KIPCR, SelfPcr),
375OFFSET(PcPrcb, KIPCR, Prcb),
376OFFSET(PcIrql, KIPCR, Irql),
377OFFSET(PcIRR, KIPCR, IRR),
378OFFSET(PcIrrActive, KIPCR, IrrActive),
379OFFSET(PcIDR, KIPCR, IDR),
380OFFSET(PcIdt, KIPCR, IDT),
381OFFSET(PcGdt, KIPCR, GDT),
382OFFSET(PcTss, KIPCR, TSS),
383OFFSET(PcSetMember, KIPCR, SetMember),
384OFFSET(PcStallScaleFactor, KIPCR, StallScaleFactor),
385OFFSET(PcNumber, KIPCR, Number),
386OFFSET(PcVdmAlert, KIPCR, VdmAlert),
387OFFSET(PcHal, KIPCR, HalReserved),
388OFFSET(PcPrcbData, KIPCR, PrcbData),
389OFFSET(PcCurrentThread, KIPCR, PrcbData.CurrentThread),
390//OFFSET(PcNestingLevel, KIPCR, PrcbData.NestingLevel),
391OFFSET(PcParentNode, KIPCR, PrcbData.ParentNode),
392OFFSET(PcInterruptCount, KIPCR, PrcbData.InterruptCount),
393//OFFSET(PcDpcRequestSummary, KIPCR, PrcbData.DpcRequestSummary),
394//OFFSET(PcStartCycles, KIPCR, PrcbData.StartCycles),
395//OFFSET(PcCycleTime, KIPCR, PrcbData.CycleTime),
396//OFFSET(PcHighCycleTime, KIPCR, PrcbData.HighCycleTime),
397SIZE(ProcessorControlRegisterLength, KIPCR),
398
399// Processor Start Block Offset Definitions
400//HEADER("??? offsets"),
401//OFFSET(PsbCompletionFlag, ???, PsbCompletionFlag),
402//OFFSET(PsbFlags, ???, PsbCompletionFlag),
403//OFFSET(PsbTiledMemoryMap, ???, PsbCompletionFlag),
404//OFFSET(PsbSelfMap, ???, PsbCompletionFlag),
405//OFFSET(PsbProcessorState, ???, PsbCompletionFlag),
406//SIZE(ProcessorStartBlockLength, ???, PsbCompletionFlag),
407
408HEADER("PEB offsets"),
409OFFSET(PebBeingDebugged, PEB, BeingDebugged),
410OFFSET(PebKernelCallbackTable, PEB, KernelCallbackTable),
411
412HEADER("KPROCESSOR_STATE offsets"),
413OFFSET(PsContextFrame, KPROCESSOR_STATE, ContextFrame),
414OFFSET(PsSpecialRegisters, KPROCESSOR_STATE, SpecialRegisters),
415SIZE(ProcessorStateLength, KPROCESSOR_STATE),
416
417HEADER("KSPECIAL_REGISTERS offsets"),
422OFFSET(SrKernelDr0, KSPECIAL_REGISTERS, KernelDr0),
423OFFSET(SrKernelDr1, KSPECIAL_REGISTERS, KernelDr1),
424OFFSET(SrKernelDr2, KSPECIAL_REGISTERS, KernelDr2),
425OFFSET(SrKernelDr3, KSPECIAL_REGISTERS, KernelDr3),
426OFFSET(SrKernelDr6, KSPECIAL_REGISTERS, KernelDr6),
427OFFSET(SrKernelDr7, KSPECIAL_REGISTERS, KernelDr7),
432//OFFSET(SrXcr0, KSPECIAL_REGISTERS, Xcr0),
433//OFFSET(SrExceptionList, KSPECIAL_REGISTERS, ExceptionList),
434
435HEADER("KSYSTEM_TIME offsets"),
437OFFSET(StHigh1Time, KSYSTEM_TIME, High1Time),
438OFFSET(StHigh2Time, KSYSTEM_TIME, High2Time),
439
440//HEADER("KSWITCH_FRAME offsets"),
441//SIZE(SwitchFrameLength, KSWITCH_FRAME),
442
443HEADER("TEB offsets (duplicates Te* definitions!)"),
444OFFSET(TbExceptionList, TEB, NtTib.ExceptionList),
445OFFSET(TbStackBase, TEB, NtTib.StackBase),
446OFFSET(TbStackLimit, TEB, NtTib.StackLimit),
447OFFSET(TbVersion, TEB, NtTib.Version),
448OFFSET(TbFiberData, TEB, NtTib.FiberData),
449OFFSET(TbArbitraryUserPointer, TEB, NtTib.ArbitraryUserPointer),
450OFFSET(TbEnvironmentPointer, TEB, EnvironmentPointer),
451OFFSET(TbClientId, TEB, ClientId),
452OFFSET(TbThreadLocalStoragePointer, TEB, ThreadLocalStoragePointer),
453OFFSET(TbCountOfOwnedCriticalSections, TEB, CountOfOwnedCriticalSections),
454OFFSET(TbCsrClientThread, TEB, CsrClientThread),
455OFFSET(TbWOW32Reserved, TEB, WOW32Reserved),
456OFFSET(TbSystemReserved1, TEB, SystemReserved1),
457OFFSET(TbExceptionCode, TEB, ExceptionCode),
458OFFSET(TbGdiThreadLocalInfo, TEB, GdiThreadLocalInfo),
459OFFSET(TbglDispatchTable, TEB, glDispatchTable),
460OFFSET(TbglSectionInfo, TEB, glSectionInfo),
461OFFSET(TbglSection, TEB, glSection),
462OFFSET(TbglTable, TEB, glTable),
463OFFSET(TbglCurrentRC, TEB, glCurrentRC),
464OFFSET(TbglContext, TEB, glContext),
465OFFSET(TbDeallocationStack, TEB, DeallocationStack),
466OFFSET(TbVdm, TEB, Vdm),
467OFFSET(TbGdiBatchCount, TEB, GdiBatchCount),
468//OFFSET(TeSameTebFlags, TEB, SameTebFlags),
469OFFSET(TebPeb, TEB, ProcessEnvironmentBlock),
470
471HEADER("KTRAP_FRAME"),
472OFFSET(TsDbgEbp, KTRAP_FRAME, DbgEbp),
473OFFSET(TsDbgEip, KTRAP_FRAME, DbgEip),
474OFFSET(TsDbgArgMark, KTRAP_FRAME, DbgArgMark),
475OFFSET(TsTempSegCs, KTRAP_FRAME, TempSegCs),
476//OFFSET(TsLogging, KTRAP_FRAME, Logging),
477//OFFSET(TsFrameType, KTRAP_FRAME, FrameType),
478OFFSET(TsTempEsp, KTRAP_FRAME, TempEsp),
479OFFSET(TsDr0, KTRAP_FRAME, Dr0),
480OFFSET(TsDr1, KTRAP_FRAME, Dr1),
481OFFSET(TsDr2, KTRAP_FRAME, Dr2),
482OFFSET(TsDr3, KTRAP_FRAME, Dr3),
483OFFSET(TsDr6, KTRAP_FRAME, Dr6),
484OFFSET(TsDr7, KTRAP_FRAME, Dr7),
485OFFSET(TsSegGs, KTRAP_FRAME, SegGs),
486OFFSET(TsSegEs, KTRAP_FRAME, SegEs),
487OFFSET(TsSegDs, KTRAP_FRAME, SegDs),
488OFFSET(TsEdx, KTRAP_FRAME, Edx),
489OFFSET(TsEcx, KTRAP_FRAME, Ecx),
490OFFSET(TsEax, KTRAP_FRAME, Eax),
491OFFSET(TsPreviousPreviousMode, KTRAP_FRAME, PreviousPreviousMode),
492//OFFSET(TsMxCsr, KTRAP_FRAME, MxCsr),
493OFFSET(TsExceptionList, KTRAP_FRAME, ExceptionList),
494//OFFSET(TsEntropyQueueDpc, KTRAP_FRAME, EntropyQueueDpc),
495OFFSET(TsSegFs, KTRAP_FRAME, SegFs),
496OFFSET(TsEdi, KTRAP_FRAME, Edi),
497OFFSET(TsEsi, KTRAP_FRAME, Esi),
498OFFSET(TsEbx, KTRAP_FRAME, Ebx),
499OFFSET(TsEbp, KTRAP_FRAME, Ebp),
500OFFSET(TsErrCode, KTRAP_FRAME, ErrCode),
501OFFSET(TsEip, KTRAP_FRAME, Eip),
502OFFSET(TsSegCs, KTRAP_FRAME, SegCs),
503OFFSET(TsEflags, KTRAP_FRAME, EFlags),
504OFFSET(TsHardwareEsp, KTRAP_FRAME, HardwareEsp),
505OFFSET(TsHardwareSegSs, KTRAP_FRAME, HardwareSegSs),
506OFFSET(TsDbgArgPointer, KTRAP_FRAME, DbgArgPointer), // not in win10
507OFFSET(TsV86Es, KTRAP_FRAME, V86Es),
508OFFSET(TsV86Ds, KTRAP_FRAME, V86Ds),
509OFFSET(TsV86Fs, KTRAP_FRAME, V86Fs),
510OFFSET(TsV86Gs, KTRAP_FRAME, V86Gs),
513
514HEADER("KTSS offsets"),
515OFFSET(TssEsp0, KTSS, Esp0),
516OFFSET(TssCR3, KTSS, CR3),
517OFFSET(TssEip, KTSS, Eip),
518OFFSET(TssEFlags, KTSS, EFlags),
519OFFSET(TssEax, KTSS, Eax),
520OFFSET(TssEbx, KTSS, Ebx),
521OFFSET(TssEcx, KTSS, Ecx),
522OFFSET(TssEdx, KTSS, Edx),
523OFFSET(TssEsp, KTSS, Esp),
524OFFSET(TssEbp, KTSS, Ebp),
525OFFSET(TssEsi, KTSS, Esi),
526OFFSET(TssEdi, KTSS, Edi),
527OFFSET(TssEs, KTSS, Es),
528OFFSET(TssCs, KTSS, Cs),
529OFFSET(TssSs, KTSS, Ss),
530OFFSET(TssDs, KTSS, Ds),
531OFFSET(TssFs, KTSS, Fs),
532OFFSET(TssGs, KTSS, Gs),
533OFFSET(TssLDT, KTSS, LDT),
534OFFSET(TssIoMapBase, KTSS, IoMapBase),
535OFFSET(TssIoMaps, KTSS, IoMaps),
536SIZE(TssLength, KTSS),
537
538//HEADER("VDM_PROCESS_OBJECTS??? offsets"),
539//VpVdmTib equ 00098H
540
541HEADER("XSTATE_CONFIGURATION offsets"),
542OFFSET(XcfgEnabledFeatures, XSTATE_CONFIGURATION, EnabledFeatures),
543#if (NTDDI_VERSION >= NTDDI_WIN10)
544OFFSET(XcfgEnabledVolatileFeatures, XSTATE_CONFIGURATION, EnabledFeatures),
545#endif
546
547HEADER("XSTATE_CONTEXT offsets"),
550OFFSET(XctxArea, XSTATE_CONTEXT, Area),
551
552HEADER("XSAVE_AREA offsets"),
554SIZE(XsaHeaderLength, XSAVE_AREA_HEADER),
555//CONSTANTX(XSAVE_ALIGN, _alignof(XSAVE_AREA)),
556
557HEADER("Data access macros"),
558RAW("#define USERDATA ds:[HEX(0FFDF0000)]"),
559RAW("#ifdef CONFIG_SMP"),
560RAW("#define PCR fs:"),
561RAW("#else"),
562/* Address at KIP0PCRADDRESS */
563RAW("#define PCR ds:[HEX(0FFDFF000)]"),
564RAW("#endif"),
565
566#if (NTDDI_VERSION >= NTDDI_WIN8)
567HEADER("KNODE offsets"),
568OFFSET(NdIdleCpuSet, KNODE, IdleCpuSet),
569#endif
570
571//HEADER("ETW definitions for interrupt tracing"),
572//SIZE(EtwTSLength, ???, TSLength),
573
574//HEADER("WOW64 shared information block definitions"),
575//OFFSET(PwWow64Info, ???, IdleCpuSet),
576//OFFSET(WiCpuFlags, ???, IdleCpuSet),
577//CONSTANT(WOW64_CPUFLAGS_SOFTWARE),
578
579
581
584//CONSTANT(NPX_MASK_LAZY),
585
586// ReactOS stuff here
587HEADER("KPCR"),
588OFFSET(KPCR_EXCEPTION_LIST, KPCR, NtTib.ExceptionList),
591OFFSET(KPCR_TEB, KIPCR, Used_Self),
600OFFSET(KPCR_PRCB_NEXT_THREAD, KIPCR, PrcbData.NextThread),
601OFFSET(KPCR_PRCB_DPC_QUEUE_DEPTH, KIPCR, PrcbData.DpcData[0].DpcQueueDepth),
602OFFSET(KPCR_PRCB_DPC_STACK, KIPCR, PrcbData.DpcStack),
603OFFSET(KPCR_PRCB_MAXIMUM_DPC_QUEUE_DEPTH, KIPCR, PrcbData.MaximumDpcQueueDepth),
604OFFSET(KPCR_PRCB_DPC_ROUTINE_ACTIVE, KIPCR, PrcbData.DpcRoutineActive),
605OFFSET(KPCR_PRCB_TIMER_REQUEST, KIPCR, PrcbData.TimerRequest),
607OFFSET(KPCR_PRCB_DEFERRED_READY_LIST_HEAD, KIPCR, PrcbData.DeferredReadyListHead),
608OFFSET(KPCR_PRCB_POWER_STATE_IDLE_FUNCTION, KIPCR, PrcbData.PowerState.IdleFunction),
609
610HEADER("KTRAP_FRAME"),
644
645HEADER("CONTEXT"),
664
665HEADER("FIBER"),
671OFFSET(FIBER_CONTEXT, FIBER, FiberContext),
672OFFSET(FIBER_CONTEXT_FLAGS, FIBER, FiberContext.ContextFlags),
673OFFSET(FIBER_CONTEXT_EAX, FIBER, FiberContext.Eax),
674OFFSET(FIBER_CONTEXT_EBX, FIBER, FiberContext.Ebx),
675OFFSET(FIBER_CONTEXT_ECX, FIBER, FiberContext.Ecx),
676OFFSET(FIBER_CONTEXT_EDX, FIBER, FiberContext.Edx),
677OFFSET(FIBER_CONTEXT_ESI, FIBER, FiberContext.Esi),
678OFFSET(FIBER_CONTEXT_EDI, FIBER, FiberContext.Edi),
679OFFSET(FIBER_CONTEXT_EBP, FIBER, FiberContext.Ebp),
680OFFSET(FIBER_CONTEXT_EIP, FIBER, FiberContext.Eip),
681OFFSET(FIBER_CONTEXT_ESP, FIBER, FiberContext.Esp),
682OFFSET(FIBER_CONTEXT_DR6, FIBER, FiberContext.Dr6),
683OFFSET(FIBER_CONTEXT_FLOAT_SAVE_CONTROL_WORD, FIBER, FiberContext.FloatSave.ControlWord),
684OFFSET(FIBER_CONTEXT_FLOAT_SAVE_STATUS_WORD, FIBER, FiberContext.FloatSave.StatusWord),
685OFFSET(FIBER_CONTEXT_FLOAT_SAVE_TAG_WORD, FIBER, FiberContext.FloatSave.TagWord),
688OFFSET(FIBER_ACTIVATION_CONTEXT_STACK, FIBER, ActivationContextStackPointer),
689
690HEADER("KTSS"),
693
694HEADER("EXCEPTION_RECORD"),
703
704HEADER("EXCEPTION_POINTERS"),
705OFFSET(EXCEPTION_POINTERS_EXCEPTION_RECORD, EXCEPTION_POINTERS, ExceptionRecord),
706OFFSET(EXCEPTION_POINTERS_CONTEXT_RECORD, EXCEPTION_POINTERS, ContextRecord),
707SIZE(SIZEOF_EXCEPTION_POINTERS, EXCEPTION_POINTERS),
708
709HEADER("KTHREAD"),
729
730HEADER("KPROCESS"),
733OFFSET(KPROCESS_LDT_DESCRIPTOR1, KPROCESS, LdtDescriptor.HighWord),
737
738HEADER("TEB"),
739OFFSET(TEB_EXCEPTION_LIST, TEB, NtTib.ExceptionList),
740OFFSET(TEB_STACK_BASE, TEB, NtTib.StackBase),
741OFFSET(TEB_STACK_LIMIT, TEB, NtTib.StackLimit),
742OFFSET(TEB_FIBER_DATA, TEB, NtTib.FiberData),
743OFFSET(TEB_SELF, TEB, NtTib.Self),
744OFFSET(TEB_PEB, TEB, ProcessEnvironmentBlock),
746OFFSET(TEB_ACTIVATION_CONTEXT_STACK_POINTER, TEB, ActivationContextStackPointer),
748OFFSET(TEB_DEALLOCATION_STACK, TEB, DeallocationStack),
750OFFSET(TEB_GUARANTEED_STACK_BYTES, TEB, GuaranteedStackBytes),
752
753HEADER("PEB"),
754OFFSET(PEB_KERNEL_CALLBACK_TABLE, PEB, KernelCallbackTable),
755
756HEADER("Misc"),
776
#define EFLAGS_INTERRUPT_MASK
Definition: SystemCall.c:11
#define EFLAGS_TF
Definition: SystemCall.c:10
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
Definition: cdprocs.h:1774
Definition: Header.h:9
#define SIZE
Definition: consume.c:5
_Out_ PKIRQL Irql
Definition: csq.h:179
_Must_inspect_result_ _In_ PFLT_CALLBACK_DATA _In_ PFLT_DEFERRED_IO_WORKITEM_ROUTINE WorkerRoutine
Definition: fltkernel.h:1977
unsigned int Mask
Definition: fpcontrol.c:82
#define HEADER(x)
Definition: genincdata.c:50
#define RAW(x)
Definition: genincdata.c:42
#define CONSTANT(name)
Definition: genincdata.c:43
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
#define USER_SHARED_DATA
Definition: pstypes.h:51
#define CR0_NW
Definition: asm.h:253
#define CBSTACK_RESULT
Definition: asm.h:289
#define CR0_NE
Definition: asm.h:250
#define KTHREAD_DEBUG_ACTIVE
Definition: asm.h:49
#define CR0_WP
Definition: asm.h:251
#define CR0_MP
Definition: asm.h:246
#define CR0_EM
Definition: asm.h:247
#define KTHREAD_WAIT_IRQL
Definition: asm.h:52
#define CR0_PG
Definition: asm.h:255
#define KPCR_STALL_SCALE_FACTOR
Definition: asm.h:65
#define KTHREAD_INITIAL_STACK
Definition: asm.h:50
#define CR0_AM
Definition: asm.h:252
#define KTHREAD_STACK_LIMIT
Definition: asm.h:51
#define CBSTACK_CALLBACK_STACK
Definition: asm.h:287
#define CR0_PE
Definition: asm.h:245
#define SIZEOF_FX_SAVE_AREA
Definition: asm.h:29
#define KTRAP_FRAME_LENGTH
Definition: asm.h:126
#define KTRAP_FRAME_ALIGN
Definition: asm.h:125
#define CBSTACK_RESULT_LENGTH
Definition: asm.h:290
#define CR0_ET
Definition: asm.h:249
#define KPCR_SELF
Definition: asm.h:64
#define CR0_CD
Definition: asm.h:254
#define CR0_TS
Definition: asm.h:248
#define KPCR_PRCB
Definition: asm.h:66
#define CBSTACK_TRAP_FRAME
Definition: asm.h:286
#define CR4_PAE
Definition: ketypes.h:150
#define CR4_PGE
Definition: ketypes.h:152
#define EFLAGS_USER_SANITIZE
Definition: ketypes.h:198
#define DR7_ACTIVE
Definition: ketypes.h:162
#define EFLAGS_V86_MASK
Definition: ketypes.h:193
#define CR4_XMMEXCPT
Definition: ketypes.h:154
#define MSR_AMD_ACCESS
Definition: ketypes.h:256
#define CR4_VME
Definition: ketypes.h:145
#define KF_CR4
Definition: ketypes.h:33
#define MACHINE_TYPE_MCA
Definition: ketypes.h:115
#define DR7_LEGAL
Definition: ketypes.h:161
#define MSR_EFER
Definition: ketypes.h:247
#define MSR_XD_ENABLE_MASK
Definition: ketypes.h:286
#define EFLAGS_VIP
Definition: ketypes.h:196
#define CR4_MCE
Definition: ketypes.h:151
#define KF_CMPXCHG8B
Definition: ketypes.h:38
#define KF_RDTSC
Definition: ketypes.h:32
#define KF_FAST_SYSCALL
Definition: ketypes.h:43
#define MACHINE_TYPE_EISA
Definition: ketypes.h:114
#define CR4_DE
Definition: ketypes.h:148
@ CPU_INTEL
Definition: ketypes.h:106
@ CPU_AMD
Definition: ketypes.h:105
#define MSR_IA32_MISC_ENABLE
Definition: ketypes.h:257
#define KF_LARGE_PAGE
Definition: ketypes.h:36
#define EFLAGS_VIF
Definition: ketypes.h:195
#define CR4_PVI
Definition: ketypes.h:146
#define CR4_TSD
Definition: ketypes.h:147
#define CR4_PSE
Definition: ketypes.h:149
#define CR4_FXSR
Definition: ketypes.h:153
#define MSR_NXE
Definition: ketypes.h:279
#define EFLAGS_ALIGN_CHECK
Definition: ketypes.h:194
#define KF_GLOBAL_PAGE
Definition: ketypes.h:35
#define MACHINE_TYPE_ISA
Definition: ketypes.h:113
#define EXCEPTION_RECORD_EXCEPTION_RECORD
Definition: asm.h:385
#define FP_DATA_SELECTOR
Definition: asm.h:244
#define PEB_KERNEL_CALLBACK_TABLE
Definition: asm.h:429
#define TEB_EXCEPTION_LIST
Definition: asm.h:412
#define KTRAP_FRAME_ERROR_CODE
Definition: asm.h:300
#define FP_TAG_WORD
Definition: asm.h:240
#define CONTEXT_ECX
Definition: asm.h:354
#define FIBER_EXCEPTION_LIST
Definition: asm.h:435
#define KTRAP_FRAME_V86_GS
Definition: asm.h:313
#define CONTEXT_SEGGS
Definition: asm.h:346
#define TEB_SELF
Definition: asm.h:416
#define FIBER_CONTEXT_ESI
Definition: asm.h:448
#define KPCR_PRCB_NEXT_THREAD
Definition: asm.h:179
#define KTRAP_FRAME_TEMPESP
Definition: asm.h:276
#define KTRAP_FRAME_EDX
Definition: asm.h:289
#define FIBER_CONTEXT_ESP
Definition: asm.h:452
#define KPCR_PRCB_DPC_STACK
Definition: asm.h:199
#define KTHREAD_APC_STATE_INDEX
Definition: asm.h:113
#define EXCEPTION_RECORD_EXCEPTION_FLAGS
Definition: asm.h:384
#define KTRAP_FRAME_DR7
Definition: asm.h:282
#define KPROCESS_DIRECTORY_TABLE_BASE
Definition: asm.h:122
#define CONTEXT_EBX
Definition: asm.h:352
#define CONTEXT_FRAME_LENGTH
Definition: asm.h:366
#define KPCR_TSS
Definition: asm.h:172
#define KTRAP_FRAME_DR6
Definition: asm.h:281
#define CONTEXT_ESI
Definition: asm.h:351
#define KTRAP_FRAME_EBX
Definition: asm.h:298
#define KTRAP_FRAME_DR0
Definition: asm.h:277
#define CONTEXT_SEGDS
Definition: asm.h:349
#define KPCR_PRCB_DATA
Definition: asm.h:177
#define KPCR_PRCB_DEFERRED_READY_LIST_HEAD
Definition: asm.h:208
#define FIBER_CONTEXT_EIP
Definition: asm.h:451
#define CONTEXT_EIP
Definition: asm.h:357
#define KTRAP_FRAME_DEBUGEBP
Definition: asm.h:271
#define TEB_GUARANTEED_STACK_BYTES
Definition: asm.h:423
#define KTHREAD_APCSTATE_PROCESS
Definition: asm.h:95
#define CONTEXT_SEGFS
Definition: asm.h:347
#define KTHREAD_STATE_
Definition: asm.h:99
#define FIBER_CONTEXT_EBX
Definition: asm.h:445
#define TEB_EXCEPTION_CODE
Definition: asm.h:418
#define KTRAP_FRAME_CS
Definition: asm.h:302
#define TEB_ACTIVATION_CONTEXT_STACK_POINTER
Definition: asm.h:419
#define FIBER_CONTEXT_DR6
Definition: asm.h:453
#define KTHREAD_TEB
Definition: asm.h:92
#define FN_CR0_NPX_STATE
Definition: asm.h:245
#define FIBER_CONTEXT_EDX
Definition: asm.h:447
#define FIBER_CONTEXT
Definition: asm.h:439
#define PROCESSOR_FEATURE_FXSR
Definition: asm.h:338
#define KPROCESS_LDT_DESCRIPTOR1
Definition: asm.h:124
#define TEB_GL_TABLE
Definition: asm.h:420
#define EXCEPTION_RECORD_NUMBER_PARAMETERS
Definition: asm.h:387
#define HV_MMU_USE_HYPERCALL_FOR_ADDRESS_SWITCH
Definition: asm.h:638
#define FIBER_FLS_DATA
Definition: asm.h:441
#define KTRAP_FRAME_DS
Definition: asm.h:287
#define KUSER_SHARED_SYSCALL_RET
Definition: asm.h:337
#define FIBER_CONTEXT_EDI
Definition: asm.h:449
#define CONTEXT_FLAGS
Definition: asm.h:343
#define KTRAP_FRAME_GS
Definition: asm.h:283
#define KPROCESS_IOPM_OFFSET
Definition: asm.h:127
#define EXCEPTION_RECORD_EXCEPTION_ADDRESS
Definition: asm.h:386
#define CONTEXT_EDI
Definition: asm.h:350
#define FIBER_CONTEXT_FLOAT_SAVE_CONTROL_WORD
Definition: asm.h:455
#define FIBER_CONTEXT_FLOAT_SAVE_TAG_WORD
Definition: asm.h:456
#define KTHREAD_LARGE_STACK
Definition: asm.h:110
#define KTRAP_FRAME_EBP
Definition: asm.h:299
#define KPROCESS_INT21_DESCRIPTOR1
Definition: asm.h:126
#define NPX_STATE_NOT_LOADED
Definition: asm.h:265
#define KPCR_TEB
Definition: asm.h:162
#define SIZEOF_EXCEPTION_RECORD
Definition: asm.h:388
#define CONTEXT_ALIGNED_SIZE
Definition: asm.h:365
#define NPX_FRAME_LENGTH
Definition: asm.h:247
#define FIBER_CONTEXT_EBP
Definition: asm.h:450
#define KTRAP_FRAME_PREVIOUS_MODE
Definition: asm.h:292
#define KPCR_EXCEPTION_LIST
Definition: asm.h:156
#define FIBER_STACK_BASE
Definition: asm.h:436
#define KPCR_CURRENT_THREAD
Definition: asm.h:178
#define KTRAP_FRAME_DR1
Definition: asm.h:278
#define HV_KE_USE_HYPERCALL_FOR_LONG_SPIN_WAIT
Definition: asm.h:642
#define CONTEXT_EFLAGS
Definition: asm.h:359
#define KPCR_PRCB_TIMER_REQUEST
Definition: asm.h:205
#define KPCR_PRCB_MAXIMUM_DPC_QUEUE_DEPTH
Definition: asm.h:200
#define KPROCESS_LDT_DESCRIPTOR0
Definition: asm.h:123
#define CONTEXT_SEGES
Definition: asm.h:348
#define FIBER_GUARANTEED_STACK_BYTES
Definition: asm.h:440
#define TEB_DEALLOCATION_STACK
Definition: asm.h:421
#define KTRAP_FRAME_ES
Definition: asm.h:285
#define KTRAP_FRAME_ESP
Definition: asm.h:304
#define FIBER_CONTEXT_ECX
Definition: asm.h:446
#define KTHREAD_NPX_STATE
Definition: asm.h:100
#define DR7_RESERVED_MASK
Definition: asm.h:515
#define TEB_GDI_BATCH_COUNT
Definition: asm.h:422
#define KTSS_ESP0
Definition: asm.h:64
#define HV_MMU_USE_HYPERCALL_FOR_LOCAL_FLUSH
Definition: asm.h:639
#define KTRAP_FRAME_V86_FS
Definition: asm.h:311
#define KTRAP_FRAME_EFLAGS
Definition: asm.h:303
#define KTHREAD_STACK_BASE
Definition: asm.h:114
#define NPX_STATE_LOADED
Definition: asm.h:266
#define TEB_PEB
Definition: asm.h:417
#define CONTEXT_ESP
Definition: asm.h:360
#define CONTEXT_EDX
Definition: asm.h:353
#define FIBER_CONTEXT_EAX
Definition: asm.h:444
#define CONTEXT_EAX
Definition: asm.h:355
#define KTHREAD_COMBINED_APC_DISABLE
Definition: asm.h:108
#define KPCR_PRCB_DPC_QUEUE_DEPTH
Definition: asm.h:197
#define KTRAP_FRAME_ECX
Definition: asm.h:290
#define KPCR_PRCB_QUANTUM_END
Definition: asm.h:206
#define KTRAP_FRAME_DR2
Definition: asm.h:279
#define KTRAP_FRAME_SS
Definition: asm.h:305
#define KPROCESS_INT21_DESCRIPTOR0
Definition: asm.h:125
#define HV_MMU_USE_HYPERCALL_FOR_REMOTE_FLUSH
Definition: asm.h:640
#define KPCR_PRCB_POWER_STATE_IDLE_FUNCTION
Definition: asm.h:209
#define KTHREAD_SPECIAL_APC_DISABLE
Definition: asm.h:109
#define FIBER_ACTIVATION_CONTEXT_STACK
Definition: asm.h:442
#define KTRAP_FRAME_ESI
Definition: asm.h:297
#define EXCEPTION_RECORD_EXCEPTION_CODE
Definition: asm.h:383
#define FP_CONTROL_WORD
Definition: asm.h:238
#define KTHREAD_KERNEL_STACK
Definition: asm.h:93
#define FP_STATUS_WORD
Definition: asm.h:239
#define KTRAP_FRAME_DR3
Definition: asm.h:280
#define FIBER_DEALLOCATION_STACK
Definition: asm.h:438
#define KPCR_IDT
Definition: asm.h:170
#define KTRAP_FRAME_V86_ES
Definition: asm.h:307
#define KPCR_CONTEXT_SWITCHES
Definition: asm.h:160
#define FIBER_STACK_LIMIT
Definition: asm.h:437
#define CONTEXT_SEGCS
Definition: asm.h:358
#define FIBER_CONTEXT_FLOAT_SAVE_STATUS_WORD
Definition: asm.h:454
#define TEB_FIBER_DATA
Definition: asm.h:415
#define FIBER_PARAMETER
Definition: asm.h:434
#define CONTEXT_SEGSS
Definition: asm.h:361
#define USER_SHARED_DATA_PROCESSOR_FEATURES
Definition: asm.h:328
#define KTRAP_FRAME_DEBUGEIP
Definition: asm.h:272
#define CONTEXT_EBP
Definition: asm.h:356
#define KPCR_PERF_GLOBAL_GROUP_MASK
Definition: asm.h:159
#define KUSER_SHARED_SYSCALL
Definition: asm.h:336
#define KTHREAD_CONTEXT_SWITCHES
Definition: asm.h:98
#define KTRAP_FRAME_FS
Definition: asm.h:294
#define KPCR_GDT
Definition: asm.h:171
#define KTRAP_FRAME_EDI
Definition: asm.h:296
#define KTHREAD_WAIT_REASON
Definition: asm.h:103
#define KTRAP_FRAME_EXCEPTION_LIST
Definition: asm.h:293
#define DR6_LEGAL
Definition: asm.h:511
#define KTRAP_FRAME_V86_DS
Definition: asm.h:309
#define TEB_STACK_BASE
Definition: asm.h:413
#define EXCEPTION_RECORD_LENGTH
Definition: asm.h:389
#define KTRAP_FRAME_EIP
Definition: asm.h:301
#define KTHREAD_CALLBACK_STACK
Definition: asm.h:112
#define TEB_STACK_LIMIT
Definition: asm.h:414
#define KTSS_IOMAPBASE
Definition: asm.h:83
#define KTRAP_FRAME_EAX
Definition: asm.h:291
#define TEB_FLS_DATA
Definition: asm.h:424
#define KTHREAD_TRAP_FRAME
Definition: asm.h:111
#define KTRAP_FRAME_SIZE
Definition: asm.h:315
#define KTHREAD_PENDING_KERNEL_APC
Definition: asm.h:97
#define KPCR_PRCB_DPC_ROUTINE_ACTIVE
Definition: asm.h:203
#define FIBER_CONTEXT_FLAGS
Definition: asm.h:443
#define KGDT_R3_DATA
Definition: ketypes.h:126
#define KGDT_R3_CODE
Definition: ketypes.h:125
#define XHF_NOEXECUTE
Definition: ketypes.h:196
@ VDM_INDEX_OUTBimm
Definition: ketypes.h:949
@ VDM_INDEX_NPX
Definition: ketypes.h:946
@ VDM_INDEX_POPF
Definition: ketypes.h:942
@ VDM_INDEX_OUTSW
Definition: ketypes.h:940
@ VDM_INDEX_ESPrefix
Definition: ketypes.h:929
@ VDM_INDEX_INW
Definition: ketypes.h:952
@ VDM_INDEX_ADDR32Prefix
Definition: ketypes.h:936
@ VDM_INDEX_STI
Definition: ketypes.h:959
@ VDM_INDEX_DSPrefix
Definition: ketypes.h:932
@ VDM_INDEX_INB
Definition: ketypes.h:951
@ VDM_INDEX_HLT
Definition: ketypes.h:960
@ VDM_INDEX_OUTSB
Definition: ketypes.h:939
@ VDM_INDEX_INSW
Definition: ketypes.h:938
@ VDM_INDEX_INTO
Definition: ketypes.h:944
@ VDM_INDEX_INBimm
Definition: ketypes.h:947
@ VDM_INDEX_CSPrefix
Definition: ketypes.h:930
@ VDM_INDEX_IRET
Definition: ketypes.h:945
@ VDM_INDEX_0F
Definition: ketypes.h:928
@ VDM_INDEX_Invalid
Definition: ketypes.h:927
@ VDM_INDEX_OUTWimm
Definition: ketypes.h:950
@ VDM_INDEX_REPPrefix
Definition: ketypes.h:957
@ VDM_INDEX_OUTW
Definition: ketypes.h:954
@ VDM_INDEX_INSB
Definition: ketypes.h:937
@ VDM_INDEX_OUTB
Definition: ketypes.h:953
@ VDM_INDEX_CLI
Definition: ketypes.h:958
@ VDM_INDEX_PUSHF
Definition: ketypes.h:941
@ VDM_INDEX_INTnn
Definition: ketypes.h:943
@ VDM_INDEX_FSPrefix
Definition: ketypes.h:933
@ MAX_VDM_INDEX
Definition: ketypes.h:961
@ VDM_INDEX_INWimm
Definition: ketypes.h:948
@ VDM_INDEX_SSPrefix
Definition: ketypes.h:931
@ VDM_INDEX_OPER32Prefix
Definition: ketypes.h:935
@ VDM_INDEX_LOCKPrefix
Definition: ketypes.h:955
@ VDM_INDEX_GSPrefix
Definition: ketypes.h:934
@ VDM_INDEX_REPNEPrefix
Definition: ketypes.h:956
#define KGDT_NMI_TSS
Definition: ketypes.h:133
#define KGDT_R3_TEB
Definition: ketypes.h:129
#define KGDT_TSS
Definition: ketypes.h:127
#define KF_V86_VIS
Definition: ketypes.h:30
#define KGDT_R0_PCR
Definition: ketypes.h:128
#define KGDT_LDT
Definition: ketypes.h:131
#define KGDT_DF_TSS
Definition: ketypes.h:132
#define KGDT_R0_CODE
Definition: ketypes.h:123
@ Service0Arg
Definition: ketypes.h:892
@ Service4ArgSpSpNSpNSpReloadState
Definition: ketypes.h:910
@ Service4ArgSpNSpNSpNSpReloadState
Definition: ketypes.h:912
@ Service3ArgSpNSpNSp
Definition: ketypes.h:903
@ ServiceCpupTdReadWriteFile
Definition: ketypes.h:917
@ ServiceCpupTdWaitForMultipleObjects
Definition: ketypes.h:920
@ Service3ArgSpNSpNSpReloadState
Definition: ketypes.h:904
@ Service3ArgSpSpNSp
Definition: ketypes.h:905
@ ServiceNoTurbo
Definition: ketypes.h:891
@ Service2ArgNSpSp
Definition: ketypes.h:900
@ Service2ArgSpSp
Definition: ketypes.h:899
@ Service4ArgSpSpSpNSp
Definition: ketypes.h:914
@ Service2ArgNSpNSpReloadState
Definition: ketypes.h:897
@ Service2ArgNSpNSp
Definition: ketypes.h:896
@ Service2ArgSpNSp
Definition: ketypes.h:898
@ Service0ArgReloadState
Definition: ketypes.h:893
@ Service4ArgSpSpNSpNSp
Definition: ketypes.h:909
@ Service4ArgNSpNSpNSpNSp
Definition: ketypes.h:908
@ ServiceCpupTdQuerySystemTime
Definition: ketypes.h:915
@ Wow64ServiceTypesCount
Definition: ketypes.h:922
@ Service1ArgSp
Definition: ketypes.h:894
@ ServiceCpupTdGetCurrentProcessorNumber
Definition: ketypes.h:916
@ Service3ArgNSpNSpNSp
Definition: ketypes.h:901
@ Service3ArgSpSpSp
Definition: ketypes.h:902
@ Service3ArgSpNSpSp
Definition: ketypes.h:907
@ Service4ArgNSpSpNSpNSp
Definition: ketypes.h:913
@ ServiceCpupTdRemoveIoCompletion
Definition: ketypes.h:919
@ Service1ArgNSp
Definition: ketypes.h:895
@ ServiceCpupTdWaitForMultipleObjects32
Definition: ketypes.h:921
@ Service3ArgNSpSpNSp
Definition: ketypes.h:906
@ Service4ArgSpNSpNSpNSp
Definition: ketypes.h:911
@ ServiceCpupTdDeviceIoControlFile
Definition: ketypes.h:918
#define KGDT_VDM_TILE
Definition: ketypes.h:130
#define KGDT_R0_DATA
Definition: ketypes.h:124
#define KGDT_NULL
Definition: ketypes.h:122
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT * ContextRecord
Definition: ntbasedef.h:654
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
#define LowTime
#define FRAME_EDITED
Definition: ke.h:68
_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 STATUS_CALLBACK_POP_STACK
Definition: ntstatus.h:961
struct _KGDTENTRY::@2458::@2459 Bytes
ULONG QuantumEnd
Definition: ketypes.h:579
struct _KTHREAD * CurrentThread
Definition: ketypes.h:559
struct _KPCR * Self
Definition: ketypes.h:950
Definition: ke.h:294
Definition: ketypes.h:844
Definition: compat.h:836
VOID CpuStep(VOID)
Definition: cpu.c:108
#define OFFSET
Definition: vbltest.c:24
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
Definition: wdfdevice.h:3776
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409
_Out_ PULONG UserTime
Definition: kefuncs.h:759
_Out_ PCLIENT_ID ClientId
Definition: kefuncs.h:1151
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 PF_XMMI_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:130
#define XSTATE_MASK_GSSE
Definition: ketypes.h:1153
#define XSTATE_MASK_LEGACY_SSE
Definition: ketypes.h:1151