mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
KeWaitForMultipleObjects is broken, shouldn't be difficult to fix Corrected bug in ntdll ldr which prevented VC applications being loaded Added thread testing application Tried to make thread termination reentrant Improved stack frame dump svn path=/trunk/; revision=868
51 lines
1.5 KiB
C
51 lines
1.5 KiB
C
/*
|
|
* Various useful prototypes
|
|
*/
|
|
|
|
#ifndef __INCLUDE_INTERNAL_KERNEL_H
|
|
#define __INCLUDE_INTERNAL_KERNEL_H
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include <windows.h>
|
|
#include <ddk/ntddk.h>
|
|
|
|
#include <internal/linkage.h>
|
|
#include <stdarg.h>
|
|
|
|
/* INTERNAL KERNEL FUNCTIONS ************************************************/
|
|
|
|
VOID KeAcquireDispatcherDatabaseLock(BOOLEAN Wait);
|
|
VOID KeReleaseDispatcherDatabaseLock(BOOLEAN Wait);
|
|
BOOLEAN KeDispatcherObjectWake(DISPATCHER_HEADER* hdr);
|
|
|
|
VOID KiInterruptDispatch(ULONG irq);
|
|
VOID KiDispatchInterrupt(ULONG irq);
|
|
VOID KiTimerInterrupt(VOID);
|
|
VOID KeDrainDpcQueue(VOID);
|
|
VOID KeExpireTimers(VOID);
|
|
NTSTATUS KeAddThreadTimeout(PKTHREAD Thread, PLARGE_INTEGER Interval);
|
|
VOID KeInitializeDispatcherHeader(DISPATCHER_HEADER* Header, ULONG Type,
|
|
ULONG Size, ULONG SignalState);
|
|
|
|
VOID KeDumpStackFrames(PVOID Stack, ULONG NrFrames);
|
|
ULONG KeAllocateGdtSelector(ULONG Desc[2]);
|
|
VOID KeFreeGdtSelector(ULONG Entry);
|
|
BOOLEAN KiTestAlert(PKTHREAD Thread, PCONTEXT UserContext);
|
|
VOID KeCallApcsThread(VOID);
|
|
VOID KeRemoveAllWaitsThread(PETHREAD Thread, NTSTATUS WaitStatus);
|
|
|
|
/* INITIALIZATION FUNCTIONS *************************************************/
|
|
|
|
VOID KeInitExceptions(VOID);
|
|
VOID KeInitIRQ(VOID);
|
|
VOID KeInitTimer(VOID);
|
|
VOID KeInitDpc(VOID);
|
|
VOID KeInitDispatcher(VOID);
|
|
VOID KeCalibrateTimerLoop(VOID);
|
|
VOID KeInitializeDispatcher(VOID);
|
|
VOID KeInitializeTimerImpl(VOID);
|
|
VOID KeInitializeBugCheck(VOID);
|
|
|
|
#endif
|