DBG/KD Types and Prototypes Added.
authorAlex Ionescu <aionescu@gmail.com>
Wed, 23 Jun 2004 00:49:22 +0000 (00:49 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Wed, 23 Jun 2004 00:49:22 +0000 (00:49 +0000)
svn path=/trunk/; revision=9822

reactos/ntoskrnl/include/internal/dbg.h
reactos/ntoskrnl/include/internal/kd.h

index 824d336..bebb680 100644 (file)
@@ -4,6 +4,8 @@
 #include <napi/dbg.h>
 #include <internal/port.h>
 
+#define KdPrintEx(_x_) DbgPrintEx _x_
+
 NTSTATUS STDCALL 
 LpcSendDebugMessagePort(PEPORT Port,
                        PLPC_DBG_MESSAGE Message,
@@ -15,4 +17,26 @@ DbgkForwardException(EXCEPTION_RECORD Er, ULONG FirstChance);
 BOOLEAN
 DbgShouldPrint(PCH Filename);
 
+ULONG
+__cdecl
+DbgPrintReturnControlC(
+    PCH Format,
+    ...
+    );
+
+STDCALL
+NTSTATUS
+DbgQueryDebugFilterState(
+    IN ULONG ComponentId,
+    IN ULONG Level
+    );
+
+STDCALL
+NTSTATUS
+DbgSetDebugFilterState(
+    IN ULONG ComponentId,
+    IN ULONG Level,
+    IN BOOLEAN State
+    );
+
 #endif /* __INCLUDE_INTERNAL_DBG_H */
index f523d07..6eee2e8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: kd.h,v 1.24 2004/03/11 21:50:23 dwelch Exp $
+/* $Id: kd.h,v 1.25 2004/06/23 00:49:22 ion Exp $
  *
  * kernel debugger prototypes
  */
@@ -49,6 +49,30 @@ DebugLogInit(VOID);
 VOID
 DebugLogInit2(VOID);
 
+VOID
+STDCALL
+KdDisableDebugger(
+    VOID
+    );
+
+VOID
+STDCALL
+KdEnableDebugger(
+    VOID
+    );
+
+NTSTATUS
+STDCALL
+KdPowerTransition(
+       ULONG PowerState
+       );
+
+BOOLEAN
+STDCALL
+KeIsAttachedProcess(
+       VOID
+       );
+
 VOID
 KdInit1(VOID);