ReactOS  0.4.14-dev-608-gd495a4f
kdros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FORCEINLINE VOID KdRosSetDebugCallback (ULONG Id, PVOID Callback)
 
FORCEINLINE VOID KdRosDumpStackFrames (ULONG Count, PULONG_PTR Backtrace)
 

Function Documentation

◆ KdRosDumpStackFrames()

FORCEINLINE VOID KdRosDumpStackFrames ( ULONG  Count,
PULONG_PTR  Backtrace 
)

Definition at line 41 of file kdros.h.

44 {
45  KdSystemDebugControl('DsoR', Backtrace, Count, 0, 0, 0, 0);
46 }
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
NTSTATUS NTAPI KdSystemDebugControl(IN SYSDBG_COMMAND Command, IN PVOID InputBuffer, IN ULONG InputBufferLength, OUT PVOID OutputBuffer, IN ULONG OutputBufferLength, IN OUT PULONG ReturnLength, IN KPROCESSOR_MODE PreviousMode)
Definition: kdmain.c:433

◆ KdRosSetDebugCallback()

FORCEINLINE VOID KdRosSetDebugCallback ( ULONG  Id,
PVOID  Callback 
)

Definition at line 32 of file kdros.h.

35 {
36  KdSystemDebugControl('CsoR', Callback, Id, 0, 0, 0, 0);
37 }
DWORD Id
NTSTATUS NTAPI KdSystemDebugControl(IN SYSDBG_COMMAND Command, IN PVOID InputBuffer, IN ULONG InputBufferLength, OUT PVOID OutputBuffer, IN ULONG OutputBufferLength, IN OUT PULONG ReturnLength, IN KPROCESSOR_MODE PreviousMode)
Definition: kdmain.c:433
LPFNPSPCALLBACK Callback
Definition: desk.c:111