-/*
- * PROJECT: ReactOS Native Headers
- * FILE: include/ndk/kdtypes.h
- * PURPOSE: Definitions for Kernel Debugger Types not defined in DDK/IFS
- * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
- * UPDATE HISTORY:
- * Created 06/10/04
- */
+/*++ NDK Version: 0095
+
+Copyright (c) Alex Ionescu. All rights reserved.
+
+Header Name:
+
+ kdtypes.h
+
+Abstract:
+
+ Type definitions for the Kernel Debugger.
+
+Author:
+
+ Alex Ionescu (alex.ionescu@reactos.com) 06-Oct-2004
+
+--*/
+
#ifndef _KDTYPES_H
#define _KDTYPES_H
-/* DEPENDENCIES **************************************************************/
+//
+// Dependencies
+//
+#include <umtypes.h>
-/* EXPORTED DATA *************************************************************/
+//
+// Debug Filter Levels
+//
+#define DPFLTR_ERROR_LEVEL 0
+#define DPFLTR_WARNING_LEVEL 1
+#define DPFLTR_TRACE_LEVEL 2
+#define DPFLTR_INFO_LEVEL 3
+#define DPFLTR_MASK 0x80000000
-/* CONSTANTS *****************************************************************/
+//
+// Debug Status Codes
+//
+#define DBG_STATUS_CONTROL_C 1
+#define DBG_STATUS_SYSRQ 2
+#define DBG_STATUS_BUGCHECK_FIRST 3
+#define DBG_STATUS_BUGCHECK_SECOND 4
+#define DBG_STATUS_FATAL 5
+#define DBG_STATUS_DEBUG_CONTROL 6
+#define DBG_STATUS_WORKER 7
-/* ENUMERATIONS **************************************************************/
+//
+// DebugService Control Types
+//
+#define BREAKPOINT_PRINT 1
+#define BREAKPOINT_PROMPT 2
+#define BREAKPOINT_LOAD_SYMBOLS 3
+#define BREAKPOINT_UNLOAD_SYMBOLS 4
+//
+// Debug Control Codes for NtSystemDebugcontrol
+//
typedef enum _DEBUG_CONTROL_CODE
{
- DebugGetTraceInformation = 1,
- DebugSetInternalBreakpoint,
- DebugSetSpecialCall,
- DebugClearSpecialCalls,
- DebugQuerySpecialCalls,
- DebugDbgBreakPoint,
- DebugDbgLoadSymbols
+ DebugGetTraceInformation = 1,
+ DebugSetInternalBreakpoint,
+ DebugSetSpecialCall,
+ DebugClearSpecialCalls,
+ DebugQuerySpecialCalls,
+ DebugDbgBreakPoint,
+ DebugDbgLoadSymbols
} DEBUG_CONTROL_CODE;
-/* TYPES *********************************************************************/
-
-typedef struct _KD_PORT_INFORMATION
+//
+// Kernel Debugger Port Definition
+//
+typedef struct _KD_PORT_INFORMATION
{
ULONG ComPort;
ULONG BaudRate;
ULONG BaseAddress;
} KD_PORT_INFORMATION, *PKD_PORT_INFORMATION;
-#endif
+#endif // _KDTYPES_H