ReactOS
0.4.15-dev-1619-g69dffed
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
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 2234 of file kdapi.c.
Definition at line 2141 of file kdapi.c.
Referenced by PcipGetFunctionLimits().
Definition at line 2035 of file kdapi.c.
Referenced by KdDisableDebugger(), and KdInitSystem().
Definition at line 2130 of file kdapi.c.
Referenced by KdpStub(), and PcipGetFunctionLimits().
Definition at line 1959 of file kdapi.c.
Referenced by KdEnableDebugger(), and KeBugCheckWithTf().
BOOLEAN NTAPI KdEnterDebugger | ( | IN PKTRAP_FRAME | TrapFrame, |
IN PKEXCEPTION_FRAME | ExceptionFrame | ||
) |
Definition at line 1871 of file kdapi.c.
Referenced by KdpCommandString(), KdpPrint(), KdpPrompt(), KdpReport(), KdpSymbol(), KdRefreshDebuggerNotPresent(), and KdSetOwedBreakpoints().
Definition at line 1924 of file kdapi.c.
Referenced by KdpCommandString(), KdpPrint(), KdpPrompt(), KdpReport(), KdpSymbol(), KdRefreshDebuggerNotPresent(), and KdSetOwedBreakpoints().
VOID NTAPI KdpCauseBugCheck | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
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 50 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 209 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetBusData | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 1010 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetContext | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 713 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetContextEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 820 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpGetVersion | ( | IN PDBGKD_MANIPULATE_STATE64 | State | ) |
Definition at line 438 of file kdapi.c.
Referenced by KdpSendWaitContinue().
Definition at line 22 of file kdapi.c.
Referenced by 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 128 of file kdapi.c.
Referenced by KdpSendWaitContinue().
LARGE_INTEGER NTAPI KdpQueryPerformanceCounter | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 1854 of file kdapi.c.
Referenced by KdEnterDebugger().
VOID NTAPI KdpReadControlSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 645 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 952 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadPhysicalMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 532 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReadVirtualMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 462 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpReportCommandStringStateChange | ( | IN PSTRING | NameString, |
IN PSTRING | CommandString, | ||
IN OUT PCONTEXT | Context | ||
) |
Definition at line 1653 of file kdapi.c.
Referenced by KdpCommandString().
BOOLEAN NTAPI KdpReportExceptionStateChange | ( | IN PEXCEPTION_RECORD | ExceptionRecord, |
IN OUT PCONTEXT | Context, | ||
IN BOOLEAN | SecondChanceException | ||
) |
Definition at line 1730 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 1581 of file kdapi.c.
Referenced by KdpSymbol().
VOID NTAPI KdpRestoreBreakpoint | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 266 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpRestoreBreakPointEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 322 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSearchMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 187 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 1260 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 1053 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 381 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 768 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpSetContextEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 883 of file kdapi.c.
Referenced by KdpSendWaitContinue().
BOOLEAN NTAPI KdpSwitchProcessor | ( | IN PEXCEPTION_RECORD | ExceptionRecord, |
IN OUT PCONTEXT | ContextRecord, | ||
IN BOOLEAN | SecondChanceException | ||
) |
Definition at line 1833 of file kdapi.c.
Referenced by KdInitSystem().
VOID NTAPI KdpSysGetVersion | ( | IN PDBGKD_GET_VERSION64 | Version | ) |
Definition at line 428 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 1785 of file kdapi.c.
Referenced by KdInitSystem().
Definition at line 1811 of file kdapi.c.
Referenced by KdInitSystem().
VOID NTAPI KdpWriteBreakpoint | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 231 of file kdapi.c.
Referenced by KdpSendWaitContinue().
NTSTATUS NTAPI KdpWriteBreakPointEx | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 299 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteControlSpace | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 686 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteCustomBreakpoint | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 344 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 982 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWritePhysicalMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 595 of file kdapi.c.
Referenced by KdpSendWaitContinue().
VOID NTAPI KdpWriteVirtualMemory | ( | IN PDBGKD_MANIPULATE_STATE64 | State, |
IN PSTRING | Data, | ||
IN PCONTEXT | Context | ||
) |
Definition at line 503 of file kdapi.c.
Referenced by KdpSendWaitContinue().
Definition at line 37 of file kdapi.c.
Referenced by KdpReportCommandStringStateChange(), and KdpSetCommonState().
Definition at line 2319 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 2152 of file kdapi.c.
Referenced by DriverEntry(), i8042KbdInterruptService(), KdRosDumpStackFrames(), KdRosSetDebugCallback(), and NtSystemDebugControl().
Definition at line 2352 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 2406 of file kdapi.c.
Referenced by DbgSetDebugFilterState(), and KdbpCmdFilter().
Referenced by KdSystemDebugControl().