| /**************************************************************************** |
| **************************************************************************** |
| *** |
| *** This header was generated from a ReactOS header to make |
| *** information necessary for userspace to call into the Windows |
| *** kernel available to Dr. Memory. It contains only constants, |
| *** structures, and macros generated from the original header, and |
| *** thus, contains no copyrightable information. |
| *** |
| **************************************************************************** |
| ****************************************************************************/ |
| |
| /* from reactos/include/ndk/kdtypes.h and reactos/include/ndk/ketypes.h */ |
| |
| #ifndef _KETYPES_H |
| #define _KETYPES_H |
| |
| /* from reactos/include/ndk/ketypes.h */ |
| |
| // |
| // Event Types |
| // |
| typedef enum _EVENT_TYPE |
| { |
| NotificationEvent, |
| SynchronizationEvent |
| } EVENT_TYPE; |
| |
| // |
| // Timer Types |
| // |
| typedef enum _TIMER_TYPE |
| { |
| NotificationTimer, |
| SynchronizationTimer |
| } TIMER_TYPE; |
| |
| // |
| // Wait Types |
| // |
| typedef enum _WAIT_TYPE |
| { |
| WaitAll, |
| WaitAny |
| } WAIT_TYPE; |
| |
| // |
| // Profiling Sources |
| // |
| typedef enum _KPROFILE_SOURCE |
| { |
| ProfileTime, |
| ProfileAlignmentFixup, |
| ProfileTotalIssues, |
| ProfilePipelineDry, |
| ProfileLoadInstructions, |
| ProfilePipelineFrozen, |
| ProfileBranchInstructions, |
| ProfileTotalNonissues, |
| ProfileDcacheMisses, |
| ProfileIcacheMisses, |
| ProfileCacheMisses, |
| ProfileBranchMispredictions, |
| ProfileStoreInstructions, |
| ProfileFpInstructions, |
| ProfileIntegerInstructions, |
| Profile2Issue, |
| Profile3Issue, |
| Profile4Issue, |
| ProfileSpecialInstructions, |
| ProfileTotalCycles, |
| ProfileIcacheIssues, |
| ProfileDcacheAccesses, |
| ProfileMemoryBarrierCycles, |
| ProfileLoadLinkedIssues, |
| ProfileMaximum |
| } KPROFILE_SOURCE; |
| |
| |
| /* from reactos/include/ndk/kdtypes.h */ |
| |
| // |
| // Debug Control Codes for NtSystemDebugcontrol |
| // |
| typedef enum _SYSDBG_COMMAND |
| { |
| SysDbgQueryModuleInformation = 0, |
| SysDbgQueryTraceInformation = 1, |
| SysDbgSetTracepoint = 2, |
| SysDbgSetSpecialCall = 3, |
| SysDbgClearSpecialCalls = 4, |
| SysDbgQuerySpecialCalls = 5, |
| SysDbgBreakPoint = 6, |
| SysDbgQueryVersion = 7, |
| SysDbgReadVirtual = 8, |
| SysDbgWriteVirtual = 9, |
| SysDbgReadPhysical = 10, |
| SysDbgWritePhysical = 11, |
| SysDbgReadControlSpace = 12, |
| SysDbgWriteControlSpace = 13, |
| SysDbgReadIoSpace = 14, |
| SysDbgWriteIoSpace = 15, |
| SysDbgReadMsr = 16, |
| SysDbgWriteMsr = 17, |
| SysDbgReadBusData = 18, |
| SysDbgWriteBusData = 19, |
| SysDbgCheckLowMemory = 20, |
| SysDbgEnableKernelDebugger = 21, |
| SysDbgDisableKernelDebugger = 22, |
| SysDbgGetAutoKdEnable = 23, |
| SysDbgSetAutoKdEnable = 24, |
| SysDbgGetPrintBufferSize = 25, |
| SysDbgSetPrintBufferSize = 26, |
| SysDbgGetKdUmExceptionEnable = 27, |
| SysDbgSetKdUmExceptionEnable = 28, |
| SysDbgGetTriageDump = 29, |
| SysDbgGetKdBlockEnable = 30, |
| SysDbgSetKdBlockEnable = 31, |
| SysDbgRegisterForUmBreakInfo = 32, |
| SysDbgGetUmBreakPid = 33, |
| SysDbgClearUmBreakPid = 34, |
| SysDbgGetUmAttachPid = 35, |
| SysDbgClearUmAttachPid = 36, |
| } SYSDBG_COMMAND; |
| |
| #endif /*_KETYPES_H */ |