ReactOS 0.4.15-dev-6068-g8061a6f
|
#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 2239 of file kdapi.c.
Definition at line 2146 of file kdapi.c.
Referenced by PcipGetFunctionLimits().
Definition at line 2040 of file kdapi.c.
Referenced by KdDisableDebugger(), and KdInitSystem().
Definition at line 2135 of file kdapi.c.
Referenced by KdpStub(), and PcipGetFunctionLimits().
Definition at line 1964 of file kdapi.c.
Referenced by KdEnableDebugger(), and KeBugCheckWithTf().
BOOLEAN NTAPI KdEnterDebugger | ( | IN PKTRAP_FRAME | TrapFrame, |
IN PKEXCEPTION_FRAME | ExceptionFrame | ||
) |
Definition at line 1876 of file kdapi.c.
Referenced by KdpCommandString(), KdpPrint(), KdpPrompt(), KdpReport(), KdpSymbol(), KdRefreshDebuggerNotPresent(), and KdSetOwedBreakpoints().
Definition at line 1929 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 949 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpCheckLowMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 1225 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(), and KdSetOwedBreakpoints().
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 1015 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetContext | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 718 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetContextEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 825 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetVersion | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 443 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 1245 of file kdapi.c.
Referenced by KdpSendWaitContinue().
NTSTATUS NTAPI KdPowerTransition | ( | IN DEVICE_POWER_STATE | NewState | ) |
Definition at line 2295 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 1859 of file kdapi.c.
Referenced by KdEnterDebugger().
VOID NTAPI KdpReadControlSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 650 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadIoSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1091 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadIoSpaceExtended | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1157 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadMachineSpecificRegister | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 957 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadPhysicalMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 537 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadVirtualMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 467 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReportCommandStringStateChange | ( | IN PSTRING | NameString, |
IN PSTRING | CommandString, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 1658 of file kdapi.c.
Referenced by KdpCommandString().
BOOLEAN NTAPI KdpReportExceptionStateChange | ( | IN PEXCEPTION_RECORD | ExceptionRecord, |
IN OUT PCONTEXT | Context, | ||
IN BOOLEAN | SecondChanceException | ||
) |
Definition at line 1735 of file kdapi.c.
Referenced by KdpReport(), and KdpSwitchProcessor().
VOID NTAPI KdpReportLoadSymbolsStateChange | ( | IN PSTRING | PathName, |
IN PKD_SYMBOLS_INFO | SymbolInfo, | ||
IN BOOLEAN | Unload, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 1586 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 1265 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 1058 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 773 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSetContextEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 888 of file kdapi.c.
Referenced by KdpSendWaitContinue().
BOOLEAN NTAPI KdpSwitchProcessor | ( | IN PEXCEPTION_RECORD | ExceptionRecord, |
IN OUT PCONTEXT | ContextRecord, | ||
IN BOOLEAN | SecondChanceException | ||
) |
Definition at line 1838 of file kdapi.c.
Referenced by KdInitSystem().
VOID NTAPI KdpSysGetVersion | ( | IN PDBGKD_GET_VERSION64 | Version | ) |
Definition at line 433 of file kdapi.c.
Referenced by KdpGetVersion().
VOID NTAPI KdpTimeSlipDpcRoutine | ( | IN PKDPC | Dpc, |
IN PVOID | DeferredContext, | ||
IN PVOID | SystemArgument1, | ||
IN PVOID | SystemArgument2 | ||
) |
Definition at line 1790 of file kdapi.c.
Referenced by KdInitSystem().
Definition at line 1816 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 691 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 1127 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteIoSpaceExtended | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1194 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 600 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteVirtualMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 508 of file kdapi.c.
Referenced by KdpSendWaitContinue().
Definition at line 42 of file kdapi.c.
Referenced by KdpReportCommandStringStateChange(), and KdpSetCommonState().
Definition at line 2324 of file kdapi.c.
Referenced by _FX_DRIVER_GLOBALS::IsDebuggerAttached().
NTSTATUS NTAPI KdSystemDebugControl | ( | _In_ SYSDBG_COMMAND | Command, |
_In_ PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferLength, | ||
_Out_ PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferLength, | ||
_Inout_ PULONG | ReturnLength, | ||
_In_ KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 2157 of file kdapi.c.
Referenced by DriverEntry(), i8042KbdInterruptService(), KdRosDumpStackFrames(), KdRosSetDebugCallback(), and NtSystemDebugControl().
Definition at line 2357 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 2411 of file kdapi.c.
Referenced by DbgSetDebugFilterState(), and KdbpCmdFilter().
Referenced by KdSystemDebugControl().