update for HEAD-2003091401
[reactos.git] / ntoskrnl / include / internal / ke.h
index 7cc8aad..6a5d3dc 100644 (file)
@@ -23,8 +23,7 @@
 /* INCLUDES *****************************************************************/
 
 #ifndef __ASM__
-#include <ddk/ntddk.h>
-
+#include <ddk/ntifs.h>
 #include <stdarg.h>
 #endif /* not __ASM__ */
 
@@ -51,7 +50,7 @@ VOID KeInitializeDispatcherHeader(DISPATCHER_HEADER* Header, ULONG Type,
                                  ULONG Size, ULONG SignalState);
 VOID KeDumpStackFrames(PULONG Frame);
 BOOLEAN KiTestAlert(VOID);
-VOID KeRemoveAllWaitsThread(struct _ETHREAD* Thread, NTSTATUS WaitStatus);
+VOID KeRemoveAllWaitsThread(struct _ETHREAD* Thread, NTSTATUS WaitStatus, BOOL Unblock);
 PULONG KeGetStackTopThread(struct _ETHREAD* Thread);
 VOID KeContextToTrapFrame(PCONTEXT Context,
                          PKTRAP_FRAME TrapFrame);
@@ -62,6 +61,9 @@ KiDeliverNormalApc(VOID);
 BOOLEAN STDCALL KeRemoveQueueApc (PKAPC Apc);
 PLIST_ENTRY STDCALL KeRundownQueue(IN PKQUEUE Queue);
 
+VOID STDCALL
+KeRaiseUserException(NTSTATUS ExceptionCode);
+
 
 /* INITIALIZATION FUNCTIONS *************************************************/
 
@@ -106,6 +108,7 @@ KeBugCheckWithTf(ULONG BugCheckCode,
                 ULONG BugCheckParameter3,
                 ULONG BugCheckParameter4,
                 PKTRAP_FRAME Tf);
+#define KEBUGCHECKWITHTF(a,b,c,d,e,f) DbgPrint("KeBugCheckWithTf at %s:%i\n",__FILE__,__LINE__), KeBugCheckWithTf(a,b,c,d,e,f)
 VOID
 KiDumpTrapFrame(PKTRAP_FRAME Tf, ULONG ExceptionNr, ULONG cr2);