ReactOS 0.4.16-dev-746-g329a414
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Definition at line 371 of file kdapi.c.
Referenced by KdpReportExceptionStateChange().
NTSTATUS NTAPI KdChangeOption | ( | IN KD_OPTION | Option, |
IN ULONG InBufferBytes | OPTIONAL, | ||
IN PVOID | InBuffer, | ||
IN ULONG OutBufferBytes | OPTIONAL, | ||
OUT PVOID | OutBuffer, | ||
OUT PULONG OutBufferNeeded | OPTIONAL | ||
) |
Definition at line 2594 of file kdapi.c.
Referenced by NtSystemDebugControl().
Definition at line 2169 of file kdapi.c.
Referenced by NtSystemDebugControl(), and PcipGetFunctionLimits().
Definition at line 2063 of file kdapi.c.
Referenced by KdDisableDebugger(), and KdInitSystem().
Definition at line 2158 of file kdapi.c.
Referenced by KdpStub(), NtSystemDebugControl(), and PcipGetFunctionLimits().
Definition at line 1987 of file kdapi.c.
Referenced by KdEnableDebugger(), and KeBugCheckWithTf().
BOOLEAN NTAPI KdEnterDebugger | ( | IN PKTRAP_FRAME | TrapFrame, |
IN PKEXCEPTION_FRAME | ExceptionFrame | ||
) |
Definition at line 1898 of file kdapi.c.
Referenced by KdpCommandString(), KdpPrint(), KdpPrompt(), KdpReport(), KdpSymbol(), KdRefreshDebuggerNotPresent(), and KdSetOwedBreakpoints().
Definition at line 1951 of file kdapi.c.
Referenced by KdpCommandString(), KdpPrint(), KdpPrompt(), KdpReport(), KdpSymbol(), KdRefreshDebuggerNotPresent(), and KdSetOwedBreakpoints().
VOID NTAPI KdpCauseBugCheck | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 950 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpCheckLowMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 1220 of file kdapi.c.
Referenced by KdpSendWaitContinue().
NTSTATUS NTAPI KdpCopyMemoryChunks | ( | _In_ ULONG64 | Address, |
_In_ PVOID | Buffer, | ||
_In_ ULONG | TotalSize, | ||
_In_ ULONG | ChunkSize, | ||
_In_ ULONG | Flags, | ||
_Out_opt_ PULONG | ActualSize | ||
) |
Definition at line 55 of file kdapi.c.
Referenced by KdbpSafeReadMemory(), KdbpSafeWriteMemory(), KdpAddBreakpoint(), KdpLowRestoreBreakpoint(), KdpLowWriteContent(), KdpReadPhysicalMemory(), KdpReadVirtualMemory(), KdpReportCommandStringStateChange(), KdpReportLoadSymbolsStateChange(), KdpSetCommonState(), KdpSysReadControlSpace(), KdpSysWriteControlSpace(), KdpWritePhysicalMemory(), KdpWriteVirtualMemory(), KdSetOwedBreakpoints(), and KdSystemDebugControl().
VOID NTAPI KdpFillMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 214 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetBusData | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1014 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetContext | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 719 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetContextEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 826 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetVersion | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 444 of file kdapi.c.
Referenced by KdpSendWaitContinue().
Definition at line 27 of file kdapi.c.
Referenced by KdLogDbgPrint(), KdpCommandString(), KdpGetContext(), KdpGetContextEx(), KdpPrintFromUser(), KdpPrintString(), KdpPrompt(), KdpPromptString(), KdpReport(), KdpReportExceptionStateChange(), KdpSetContext(), KdpSetContextEx(), KdpSymbol(), and KdpSysGetVersion().
VOID NTAPI KdpNotSupported | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 1240 of file kdapi.c.
Referenced by KdpSendWaitContinue().
NTSTATUS NTAPI KdPowerTransition | ( | IN DEVICE_POWER_STATE | NewState | ) |
Definition at line 2650 of file kdapi.c.
Definition at line 133 of file kdapi.c.
Referenced by KdpSendWaitContinue().
LARGE_INTEGER NTAPI KdpQueryPerformanceCounter | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 1881 of file kdapi.c.
Referenced by KdEnterDebugger().
VOID NTAPI KdpReadControlSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 651 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadIoSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1086 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadIoSpaceExtended | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1152 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadMachineSpecificRegister | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 958 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadPhysicalMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 538 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadVirtualMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 468 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReportCommandStringStateChange | ( | IN PSTRING | NameString, |
IN PSTRING | CommandString, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 1674 of file kdapi.c.
Referenced by KdpCommandString().
BOOLEAN NTAPI KdpReportExceptionStateChange | ( | IN PEXCEPTION_RECORD | ExceptionRecord, |
IN OUT PCONTEXT | Context, | ||
IN BOOLEAN | SecondChanceException | ||
) |
Definition at line 1751 of file kdapi.c.
Referenced by KdpReport(), and KdReportProcessorChange().
VOID NTAPI KdpReportLoadSymbolsStateChange | ( | IN PSTRING | PathName, |
IN PKD_SYMBOLS_INFO | SymbolInfo, | ||
IN BOOLEAN | Unload, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 1602 of file kdapi.c.
Referenced by KdpSymbol().
VOID NTAPI KdpRestoreBreakpoint | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 271 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpRestoreBreakPointEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 327 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSearchMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 192 of file kdapi.c.
Referenced by KdpSendWaitContinue().
KCONTINUE_STATUS NTAPI KdpSendWaitContinue | ( | IN ULONG | PacketType, |
IN PSTRING | SendHeader, | ||
IN PSTRING SendData | OPTIONAL, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 1282 of file kdapi.c.
Referenced by KdpReportCommandStringStateChange(), KdpReportExceptionStateChange(), and KdpReportLoadSymbolsStateChange().
VOID NTAPI KdpSetBusData | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1057 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSetCommonState | ( | IN ULONG | NewState, |
IN PCONTEXT | Context, | ||
IN PDBGKD_ANY_WAIT_STATE_CHANGE | WaitStateChange | ||
) |
Definition at line 386 of file kdapi.c.
Referenced by KdpReportCommandStringStateChange(), KdpReportExceptionStateChange(), and KdpReportLoadSymbolsStateChange().
VOID NTAPI KdpSetContext | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 774 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSetContextEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 889 of file kdapi.c.
Referenced by KdpSendWaitContinue().
|
static |
Definition at line 1260 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSysGetVersion | ( | _Out_ PDBGKD_GET_VERSION64 | Version | ) |
Definition at line 433 of file kdapi.c.
Referenced by KdpGetVersion(), and KdSystemDebugControl().
VOID NTAPI KdpTimeSlipDpcRoutine | ( | IN PKDPC | Dpc, |
IN PVOID | DeferredContext, | ||
IN PVOID | SystemArgument1, | ||
IN PVOID | SystemArgument2 | ||
) |
Definition at line 1833 of file kdapi.c.
Referenced by KdInitSystem().
Definition at line 1859 of file kdapi.c.
Referenced by KdInitSystem().
VOID NTAPI KdpWriteBreakpoint | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 236 of file kdapi.c.
Referenced by KdpSendWaitContinue().
NTSTATUS NTAPI KdpWriteBreakPointEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 304 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteControlSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 692 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteCustomBreakpoint | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 349 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteIoSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1122 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteIoSpaceExtended | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1189 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteMachineSpecificRegister | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 987 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWritePhysicalMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 601 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteVirtualMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 509 of file kdapi.c.
Referenced by KdpSendWaitContinue().
Definition at line 42 of file kdapi.c.
Referenced by KdpReportCommandStringStateChange(), and KdpSetCommonState().
Definition at line 2679 of file kdapi.c.
Referenced by _FX_DRIVER_GLOBALS::IsDebuggerAttached().
KCONTINUE_STATUS NTAPI KdReportProcessorChange | ( | VOID | ) |
Definition at line 1806 of file kdapi.c.
Referenced by KiProcessorFreezeHandler().
NTSTATUS NTAPI KdSystemDebugControl | ( | _In_ SYSDBG_COMMAND | Command, |
_In_reads_bytes_(InputBufferLength) PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferLength, | ||
_Out_writes_bytes_(OutputBufferLength) PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferLength, | ||
_Out_opt_ PULONG | ReturnLength, | ||
_In_ KPROCESSOR_MODE | PreviousMode | ||
) |
Perform various queries to the kernel debugger.
[in] | Command | A SYSDBG_COMMAND value describing the kernel debugger command to perform. |
[in] | InputBuffer | Pointer to a user-provided input command-specific buffer, whose length is given by InputBufferLength. |
[in] | InputBufferLength | The size (in bytes) of the buffer pointed by InputBuffer. |
[out] | OutputBuffer | Pointer to a user-provided command-specific output buffer, whose length is given by OutputBufferLength. |
[in] | OutputBufferLength | The size (in bytes) of the buffer pointed by OutputBuffer. |
[out] | ReturnLength | Optional pointer to a ULONG variable that receives the actual length of data written written in the output buffer. It is always zero, except for the live dump commands where an actual non-zero length is returned. |
[in] | PreviousMode | The processor mode (KernelMode or UserMode) in which the command is being executed. |
Definition at line 2217 of file kdapi.c.
Referenced by DriverEntry(), i8042KbdInterruptService(), KdbpCmdRegs(), KdRosDumpStackFrames(), KdRosSetDebugCallback(), and NtSystemDebugControl().
Definition at line 2712 of file kdapi.c.
Referenced by DbgQueryDebugFilterState(), KdpPrint(), and vDbgPrintExWithPrefixInternal().
NTSTATUS NTAPI NtSetDebugFilterState | ( | _In_ ULONG | ComponentId, |
_In_ ULONG | Level, | ||
_In_ BOOLEAN | State | ||
) |
Definition at line 2766 of file kdapi.c.
Referenced by DbgSetDebugFilterState(), and KdbpCmdFilter().
Referenced by KdSystemDebugControl().