#include "ntos.h"
#include "ki.h"
#include "wdbgexts.h"
#include "ntdbg.h"
#include "string.h"
#include "stdlib.h"
Go to the source code of this file.
Classes | |
struct | _BREAKPOINT_ENTRY |
struct | _TRACE_DATA_SYM |
struct | DBGKD_INTERNAL_BREAKPOINT |
Defines | |
#define | NOEXTAPI |
#define | GLOBAL_BREAKPOINT_LIMIT 1610612736L |
#define | KD_BREAKPOINT_IN_USE 0x00000001 |
#define | KD_BREAKPOINT_NEEDS_WRITE 0x00000002 |
#define | KD_BREAKPOINT_SUSPENDED 0x00000004 |
#define | KD_BREAKPOINT_NEEDS_REPLACE 0x00000008 |
#define | KD_BREAKPOINT_STATE_MASK 0x0000000f |
#define | KD_BREAKPOINT_IA64_MASK 0x000f0000 |
#define | KD_BREAKPOINT_IA64_MODE 0x00010000 |
#define | KD_BREAKPOINT_IA64_MOVL 0x00020000 |
#define | KDP_PACKET_RECEIVED 0 |
#define | KDP_PACKET_TIMEOUT 1 |
#define | KDP_PACKET_RESEND 2 |
#define | MAXIMUM_RETRIES 20 |
#define | DBGKD_MAX_SPECIAL_CALLS 10 |
#define | KDP_MESSAGE_BUFFER_SIZE 4096 |
#define | DBGKD_MAX_INTERNAL_BREAKPOINTS 20 |
#define | SEARCH_PAGE_HIT_DATABASE_SIZE PAGE_SIZE |
#define | KDP_SEARCH_SYMBOL_CHECK 0xABCDDCBA |
#define | KDP_SEARCH_ALL_OFFSETS_IN_PAGE 0x0001 |
#define | DPRINT(s) |
Typedefs | |
typedef _BREAKPOINT_ENTRY | BREAKPOINT_ENTRY |
typedef _BREAKPOINT_ENTRY * | PBREAKPOINT_ENTRY |
typedef _TRACE_DATA_SYM | TRACE_DATA_SYM |
typedef _TRACE_DATA_SYM * | PTRACE_DATA_SYM |
typedef * | PDBGKD_INTERNAL_BREAKPOINT |
Functions | |
VOID | KdpReboot (VOID) |
BOOLEAN | KdpPrintString (IN PSTRING Output) |
BOOLEAN | KdpPromptString (IN PSTRING Output, IN OUT PSTRING Input) |
ULONG | KdpAddBreakpoint (IN PVOID Address) |
BOOLEAN | KdpDeleteBreakpoint (IN ULONG Handle) |
BOOLEAN | KdpDeleteBreakpointRange (IN PVOID Lower, IN PVOID Upper) |
NTSTATUS | KdQuerySpecialCalls (IN PDBGKD_MANIPULATE_STATE64 m, IN ULONG Length, OUT PULONG RequiredLength) |
VOID | KdSetSpecialCall (IN PDBGKD_MANIPULATE_STATE64 m, IN PCONTEXT ContextRecord) |
VOID | KdClearSpecialCalls (VOID) |
ULONG | KdpMoveMemory (IN PCHAR Destination, IN PCHAR Source, IN ULONG Length) |
VOID | KdpQuickMoveMemory (IN PCHAR Destination, IN PCHAR Source, IN ULONG Length) |
ULONG | KdpReceivePacket (IN ULONG ExpectedPacketType, OUT PSTRING MessageHeader, OUT PSTRING MessageData, OUT PULONG DataLength) |
VOID | KdpSetLoadState (IN PDBGKD_WAIT_STATE_CHANGE64 WaitStateChange, IN PCONTEXT ContextRecord) |
VOID | KdpSetStateChange (IN PDBGKD_WAIT_STATE_CHANGE64 WaitStateChange, IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT ContextRecord, IN BOOLEAN SecondChance) |
VOID | KdpGetStateChange (IN PDBGKD_MANIPULATE_STATE64 ManipulateState, IN PCONTEXT ContextRecord) |
VOID | KdpSendPacket (IN ULONG PacketType, IN PSTRING MessageHeader, IN PSTRING MessageData OPTIONAL) |
BOOLEAN | KdpStub (IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT ContextRecord, IN KPROCESSOR_MODE PreviousMode, IN BOOLEAN SecondChance) |
BOOLEAN | KdpTrap (IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN PEXCEPTION_RECORD ExceptionRecord64, IN PCONTEXT ContextRecord, IN KPROCESSOR_MODE PreviousMode, IN BOOLEAN SecondChance) |
BOOLEAN | KdpSwitchProcessor (IN PEXCEPTION_RECORD ExceptionRecord, IN OUT PCONTEXT ContextRecord, IN BOOLEAN SecondChance) |
BOOLEAN | KdpReportExceptionStateChange (IN PEXCEPTION_RECORD ExceptionRecord, IN OUT PCONTEXT ContextRecord, IN BOOLEAN SecondChance) |
BOOLEAN | KdpReportLoadSymbolsStateChange (IN PSTRING PathName, IN PKD_SYMBOLS_INFO SymbolInfo, IN BOOLEAN UnloadSymbols, IN OUT PCONTEXT ContextRecord) |
KCONTINUE_STATUS | KdpSendWaitContinue (IN ULONG PacketType, IN PSTRING MessageHeader, IN PSTRING MessageData OPTIONAL, IN OUT PCONTEXT ContextRecord) |
VOID | KdpReadVirtualMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteVirtualMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpReadPhysicalMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWritePhysicalMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpCheckLowMemory (IN PDBGKD_MANIPULATE_STATE64 m) |
VOID | KdpGetContext (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpSetContext (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteBreakpoint (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpRestoreBreakpoint (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpReadControlSpace (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteControlSpace (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpReadIoSpace (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpReadMachineSpecificRegister (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteIoSpace (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteMachineSpecificRegister (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpSuspendBreakpoint (ULONG Handle) |
VOID | KdpSuspendAllBreakpoints (VOID) |
VOID | KdpRestoreAllBreakpoints (VOID) |
VOID | KdpTimeSlipDpcRoutine (PKDPC Dpc, PVOID DeferredContext, PVOID SystemArgument1, PVOID SystemArgument2) |
VOID | KdpTimeSlipWork (IN PVOID Context) |
VOID | RtlpBreakWithStatusInstruction (VOID) |
VOID | KdpInitCom (VOID) |
VOID | KdpPortLock (VOID) |
VOID | KdpPortUnlock (VOID) |
BOOLEAN | KdpPollBreakInWithPortLock (VOID) |
USHORT | KdpReceivePacketLeader (IN ULONG PacketType, OUT PULONG PacketLeader) |
Variables | |
BREAKPOINT_ENTRY | KdpBreakpointTable [BREAKPOINT_TABLE_SIZE] |
BOOLEAN | KdpControlCPending |
KSPIN_LOCK | KdpDebuggerLock |
PKDEBUG_ROUTINE | KiDebugRoutine |
PKDEBUG_SWITCH_ROUTINE | KiDebugSwitchRoutine |
KDP_BREAKPOINT_TYPE | KdpBreakpointInstruction |
UCHAR | KdpMessageBuffer [KDP_MESSAGE_BUFFER_SIZE] |
UCHAR | KdpPathBuffer [KDP_MESSAGE_BUFFER_SIZE] |
ULONG | KdpOweBreakpoint |
ULONG | KdpNextPacketIdToSend |
ULONG | KdpPacketIdExpected |
LARGE_INTEGER | KdPerformanceCounterRate |
LARGE_INTEGER | KdTimerStart |
LARGE_INTEGER | KdTimerStop |
LARGE_INTEGER | KdTimerDifference |
BOOLEAN | BreakpointsSuspended |
PVOID | KdpNtosImageBase |
LIST_ENTRY | KdpDebuggerDataListHead |
DBGKD_INTERNAL_BREAKPOINT | KdpInternalBPs [DBGKD_MAX_INTERNAL_BREAKPOINTS] |
ULONG_PTR | KdpCurrentSymbolStart |
ULONG_PTR | KdpCurrentSymbolEnd |
LONG | KdpNextCallLevelChange |
ULONG_PTR | KdSpecialCalls [] |
ULONG | KdNumberOfSpecialCalls |
ULONG_PTR | InitialSP |
ULONG | KdpNumInternalBreakpoints |
KTIMER | InternalBreakpointTimer |
KDPC | InternalBreakpointCheckDpc |
BOOLEAN | KdpPortLocked |
LARGE_INTEGER | KdpTimeEntered |
DBGKD_TRACE_DATA | TraceDataBuffer [] |
ULONG | TraceDataBufferPosition |
TRACE_DATA_SYM | TraceDataSyms [] |
UCHAR | NextTraceDataSym |
UCHAR | NumTraceDataSyms |
ULONG | IntBPsSkipping |
BOOLEAN | WatchStepOver |
PVOID | WSOThread |
ULONG_PTR | WSOEsp |
ULONG | WatchStepOverHandle |
ULONG_PTR | WatchStepOverBreakAddr |
BOOLEAN | WatchStepOverSuspended |
ULONG | InstructionsTraced |
BOOLEAN | SymbolRecorded |
LONG | CallLevelChange |
LONG_PTR | oldpc |
BOOLEAN | InstrCountInternal |
BOOLEAN | KdpControlCPressed |
ULONG | KdpRetryCount |
ULONG | KdpNumberRetries |
ULONG | KdpDefaultRetries |
UCHAR | KdPrintCircularBuffer [KDPRINTBUFFERSIZE] |
PUCHAR | KdPrintWritePointer |
ULONG | KdPrintRolloverCount |
KSPIN_LOCK | KdpPrintSpinLock |
DEBUG_PARAMETERS | KdDebugParameters |
KSPIN_LOCK | KdpDataSpinLock |
KDDEBUGGER_DATA64 | KdDebuggerDataBlock |
KDPC | KdpTimeSlipDpc |
WORK_QUEUE_ITEM | KdpTimeSlipWorkItem |
KTIMER | KdpTimeSlipTimer |
ULONG | KdpTimeSlipPending |
KSPIN_LOCK | KdpTimeSlipEventLock |
PVOID | KdpTimeSlipEvent |
BOOLEAN | KdpDebuggerStructuresInitialized |
ULONG | KdEnteredDebugger |
PFN_NUMBER | KdpSearchPageHits [SEARCH_PAGE_HIT_DATABASE_SIZE] |
ULONG | KdpSearchPageHitOffsets [SEARCH_PAGE_HIT_DATABASE_SIZE] |
ULONG | KdpSearchPageHitIndex |
LOGICAL | KdpSearchInProgress |
PFN_NUMBER | KdpSearchStartPageFrame |
PFN_NUMBER | KdpSearchEndPageFrame |
ULONG_PTR | KdpSearchAddressRangeStart |
ULONG_PTR | KdpSearchAddressRangeEnd |
ULONG | KdpSearchCheckPoint |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 727 of file 4/kdp.h. Referenced by KdpSearchPhysicalPage(), and KdpSearchPhysicalPageRange(). |
|
|
|
|
|
|
|
Definition at line 687 of file 4/kdp.h. Referenced by KdpSearchPhysicalPage(). |
|
|
|
|
|
|
|
|
|
|
|
Referenced by KdpSendWaitContinue(), and NtSystemDebugControl(). |
|
Definition at line 60 of file kdbreak.c. References _BREAKPOINT_ENTRY::Address, _BREAKPOINT_ENTRY::Content, _BREAKPOINT_ENTRY::DirectoryTableBase, DPRINT, FALSE, _BREAKPOINT_ENTRY::Flags, GLOBAL_BREAKPOINT_LIMIT, Index, KD_BREAKPOINT_IA64_MOVL, KD_BREAKPOINT_IN_USE, KD_BREAKPOINT_NEEDS_REPLACE, KD_BREAKPOINT_NEEDS_WRITE, KD_BREAKPOINT_STATE_MASK, KDP_BREAKPOINT_ALIGN, KDP_BREAKPOINT_TYPE, KdpBreakpointInstruction, KdpBreakpointTable, KdpMoveMemory(), KdpOweBreakpoint, KeGetCurrentThread, MmDbgReleaseAddress(), MmDbgWriteCheck(), NULL, and TRUE. Referenced by KdpWriteBreakpoint(), and KdpWriteBreakPointEx().
|
|
Definition at line 3633 of file 4/kdapi.c. References KdpSearchPhysicalMemoryRequested(), KdpSearchPhysicalPageRange(), KdpSendPacket(), MiNoLowMemory, MmHighestPhysicalPage, MmLowestPhysicalPage, and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 826 of file kdbreak.c. References DPRINT, FALSE, _BREAKPOINT_ENTRY::Flags, Handle, Index, KD_BREAKPOINT_NEEDS_REPLACE, KD_BREAKPOINT_SUSPENDED, KdpBreakpointTable, KdpLowWriteContent(), and TRUE. Referenced by KdDeleteAllBreakpoints(), KdpDeleteBreakpointRange(), KdpRestoreBreakpoint(), KdpRestoreBreakPointEx(), and KdpWriteBreakPointEx().
|
|
Definition at line 902 of file kdbreak.c. References _BREAKPOINT_ENTRY::Address, FALSE, _BREAKPOINT_ENTRY::Flags, Index, KD_BREAKPOINT_IN_USE, KdpBreakpointTable, and KdpDeleteBreakpoint(). Referenced by KdpSetLoadState(), and KdpSetStateChange().
|
|
Definition at line 1569 of file 4/kdapi.c. References ASSERT, KdpQuickMoveMemory(), KdpSendPacket(), KeGetCurrentPrcb, KeNumberProcessors, KiProcessorBlock, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 189 of file 4/alpha/kdcpuapi.c. Referenced by KdpSendWaitContinue().
|
|
|
|
Definition at line 31 of file kdmove.c. References KDP_MESSAGE_BUFFER_SIZE, MmDbgReadCheck(), MmDbgReleaseAddress(), MmDbgWriteCheck(), and NULL. Referenced by KdLogDbgPrint(), KdpAddBreakpoint(), KdpGetCallNextOffset(), KdpGetReturnAddress(), KdpIsSpecialCall(), KdpIsTryFinallyReturn(), KdpLevelChange(), KdpLowRestoreBreakpoint(), KdpLowWriteContent(), KdpPrintString(), KdpPromptString(), KdpReadControlSpace(), KdpReadPhysicalMemory(), KdpReadVirtualMemory(), KdpReportLoadSymbolsStateChange(), KdpRestoreBreakPointEx(), KdpSetLoadState(), KdpSetStateChange(), KdpWriteBreakPointEx(), KdpWriteControlSpace(), KdpWritePhysicalMemory(), KdpWriteVirtualMemory(), and KdSetOwedBreakpoints().
|
|
Definition at line 165 of file kdlock.c. References CP_GET_SUCCESS, FALSE, KdDebuggerEnabled, KdpControlCPending, KdPortPollByte(), Status, and TRUE. Referenced by KdpPrintString().
|
|
Definition at line 26 of file kdlock.c. References KdpDebuggerLock. Referenced by KdDisableDebugger(), and KdEnableDebugger().
|
|
Definition at line 60 of file kdlock.c. References KdpDebuggerLock. Referenced by KdDisableDebugger(), KdEnableDebugger(), KdExitDebugger(), and KdPollBreakIn().
|
|
Definition at line 30 of file kddbgio.c. References KdpMessageBuffer, KdpMoveMemory(), KdpPollBreakInWithPortLock(), KdpSendPacket(), KeGetCurrentPrcb, KeProcessorLevel, and USHORT. Referenced by KdpTrap().
|
|
Definition at line 110 of file kddbgio.c. References FALSE, KDP_MESSAGE_BUFFER_SIZE, KDP_PACKET_RECEIVED, KDP_PACKET_RESEND, KdpMessageBuffer, KdpMoveMemory(), KdpReceivePacket(), KdpSendPacket(), KeGetCurrentPrcb, KeProcessorLevel, TRUE, and USHORT. Referenced by KdpTrap().
|
|
Definition at line 150 of file kdmove.c. Referenced by KdpGetContext(), KdpSearchMemory(), KdpSetContext(), KdpSetStateChange(), and KdpTrap().
|
|
Definition at line 218 of file 4/alpha/kdcpuapi.c. References ASSERT, Buffer, KDP_MESSAGE_BUFFER_SIZE, KdpGetCurrentPrcb(), KdpGetCurrentThread(), KdpGetPcr(), KdpMoveMemory(), KdpReadInternalProcessorCounters(), KdpReadInternalProcessorState(), KdpSendPacket(), KiProcessorBlock, PAGE_SHIFT, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 505 of file 4/alpha/kdcpuapi.c. References ASSERT, BusNumber, HalTranslateBusAddress(), InterfaceType, KdpSendPacket(), MmDbgReadCheck(), NULL, and PUSHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1098 of file 4/i386/kdcpuapi.c. References ASSERT, EXCEPTION_EXECUTE_HANDLER, KdpSendPacket(), NULL, and RDMSR(). Referenced by KdpSendWaitContinue().
|
|
Definition at line 2643 of file 4/kdapi.c. References ASSERT, BYTE_OFFSET, KdpMoveMemory(), KdpSendPacket(), MmDbgTranslatePhysicalAddress64(), PAGE_SIZE, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1126 of file 4/kdapi.c. References KdpMoveMemory(), KdpSendPacket(), MmDbgReadCheck(), MmDbgReadCheck64(), and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 25 of file alpha/kdreboot.c. References HalRebootRoutine, and HalReturnToFirmware(). Referenced by KdpSendWaitContinue().
|
|
Definition at line 342 of file kdcomio.c. References CP_GET_ERROR, CP_GET_NODATA, CP_GET_SUCCESS, KDP_PACKET_RECEIVED, KDP_PACKET_RESEND, KDP_PACKET_TIMEOUT, KdpComputeChecksum(), KdpNextPacketIdToSend, KdpNumberRetries, KdPortGetByte(), KdpPacketIdExpected, KdpReceivePacketLeader(), KdpReceiveString(), KdpRetryCount, KdpSendControlPacket(), L, and USHORT. Referenced by KdpPromptString(), KdpSendPacket(), and KdpSendWaitContinue().
|
|
Definition at line 95 of file kdcomio.c. References CP_GET_ERROR, CP_GET_NODATA, FALSE, Index, KdDebuggerNotPresent, KDP_PACKET_RECEIVED, KDP_PACKET_RESEND, KDP_PACKET_TIMEOUT, KdpControlCPending, KdPortGetByte(), and TRUE. Referenced by KdpReceivePacket().
|
|
Definition at line 2351 of file kdapi.c. References ContinueProcessorReselected, KCONTINUE_STATUS, KdpCheckTracePoint(), KdpSendWaitContinue(), KdpSetStateChange(), Status, and TRUE. Referenced by KdpSwitchProcessor(), and KdpTrap().
|
|
Definition at line 2434 of file kdapi.c. References ContinueProcessorReselected, KCONTINUE_STATUS, KdpMoveMemory(), KdpPathBuffer, KdpSendWaitContinue(), KdpSetLoadState(), KeGetCurrentPrcb, KeGetCurrentThread, KeNumberProcessors, KeProcessorLevel, NULL, Status, and USHORT. Referenced by KdpTrap().
|
|
Definition at line 1309 of file kdbreak.c. References BreakpointsSuspended, FALSE, _BREAKPOINT_ENTRY::Flags, Index, KD_BREAKPOINT_IN_USE, KD_BREAKPOINT_SUSPENDED, KdpBreakpointTable, and KdpLowRestoreBreakpoint(). Referenced by KdEnableDebugger().
|
|
Definition at line 1740 of file 4/kdapi.c. References ASSERT, KdpDeleteBreakpoint(), KdpSendPacket(), and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 683 of file kdcomio.c. References KdDebuggerNotPresent, KDP_PACKET_RECEIVED, KDP_PACKET_TIMEOUT, KdpComputeChecksum(), KdpDefaultRetries, KdpNextPacketIdToSend, KdpNumberRetries, KdPortPutByte(), KdpPacketIdExpected, KdpReceivePacket(), KdpRetryCount, KdpSendString(), MAXIMUM_RETRIES, NULL, TRUE, and USHORT. Referenced by KdpCheckLowMemory(), KdpGetBusData(), KdpGetContext(), KdpGetVersion(), KdpNotSupported(), KdpPrintString(), KdpPromptString(), KdpReadControlSpace(), KdpReadIoSpace(), KdpReadIoSpaceExtended(), KdpReadMachineSpecificRegister(), KdpReadPhysicalMemory(), KdpReadVirtualMemory(), KdpReadVirtualMemory64(), KdpRestoreBreakpoint(), KdpRestoreBreakPointEx(), KdpSearchMemory(), KdpSendWaitContinue(), KdpSetBusData(), KdpSetContext(), KdpWriteBreakpoint(), KdpWriteBreakPointEx(), KdpWriteControlSpace(), KdpWriteIoSpace(), KdpWriteIoSpaceExtended(), KdpWriteMachineSpecificRegister(), KdpWritePhysicalMemory(), KdpWriteVirtualMemory(), and KdpWriteVirtualMemory64().
|
|
Referenced by KdpReportExceptionStateChange(), and KdpReportLoadSymbolsStateChange(). |
|
Definition at line 1629 of file 4/kdapi.c. References ASSERT, KdpQuickMoveMemory(), KdpSendPacket(), KeGetCurrentPrcb, KeNumberProcessors, KiProcessorBlock, NULL, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 36 of file 4/alpha/kdcpuapi.c. References Count, End, FALSE, KdpDeleteBreakpointRange(), KdpMoveMemory(), and USHORT. Referenced by KdpReportLoadSymbolsStateChange().
|
|
Definition at line 98 of file 4/alpha/kdcpuapi.c. References Count, End, FALSE, KdpDeleteBreakpointRange(), KdpGetCurrentPrcb(), KdpGetCurrentThread(), KdpMoveMemory(), KdpQuickMoveMemory(), KeGetCurrentPrcb, KeGetCurrentThread, KeNumberProcessors, KeProcessorLevel, and USHORT. Referenced by KdpReportExceptionStateChange().
|
|
Definition at line 386 of file alpha/kdtrap.c. References FALSE, KERNEL_BREAKPOINT, KernelMode, MmGetPhysicalAddress(), and TRUE.
|
|
Definition at line 972 of file kdbreak.c. References BreakpointsSuspended, Handle, KdpSuspendBreakpoint(), and TRUE. Referenced by KdDisableDebugger().
|
|
Definition at line 954 of file kdbreak.c. References _BREAKPOINT_ENTRY::Flags, Handle, Index, KD_BREAKPOINT_IN_USE, KD_BREAKPOINT_SUSPENDED, KdpBreakpointTable, and KdpLowWriteContent(). Referenced by KdpSuspendAllBreakpoints().
|
|
Definition at line 2318 of file kdapi.c. References KdPortRestore(), KdPortSave(), KdpReportExceptionStateChange(), and Status.
|
|
Definition at line 494 of file kdapi.c. References DelayedWorkQueue, ExQueueWorkItem(), KdpTimeSlipPending, and KdpTimeSlipWorkItem.
|
|
Definition at line 528 of file kdapi.c. References ExAcquireTimeRefreshLock(), ExReleaseTimeRefreshLock(), ExUpdateSystemTimeFromCmos(), FALSE, KdpTimeSlipDpc, KdpTimeSlipEvent, KdpTimeSlipEventLock, KdpTimeSlipTimer, KeAcquireSpinLock, KeReleaseSpinLock(), KeSetEvent(), and KeSetTimer().
|
|
Definition at line 28 of file alpha/kdtrap.c. References BREAKIN_BREAKPOINT, FALSE, KdDebuggerNotPresent, KdEnterDebugger(), KdExitDebugger(), KdLogDbgPrint(), KdpControlCPressed, KdpPrintString(), KdpPromptString(), KdpReportExceptionStateChange(), KdpReportLoadSymbolsStateChange(), KeFlushCurrentTb(), KeGetCurrentPrcb, KiRestoreProcessorControlState(), KiSaveProcessorControlState(), NtGlobalFlag, TRUE, and USHORT.
|
|
Definition at line 1688 of file 4/kdapi.c. References ASSERT, KdpAddBreakpoint(), KdpSendPacket(), and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 457 of file 4/alpha/kdcpuapi.c. References Buffer, KdpMoveMemory(), KdpSendPacket(), and KiProcessorBlock. Referenced by KdpSendWaitContinue().
|
|
Definition at line 785 of file 4/alpha/kdcpuapi.c. References ASSERT, BusNumber, HalTranslateBusAddress(), InterfaceType, KdpSendPacket(), MmDbgReleaseAddress(), MmDbgWriteCheck(), NULL, PUSHORT, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1156 of file 4/i386/kdcpuapi.c. References ASSERT, EXCEPTION_EXECUTE_HANDLER, KdpSendPacket(), NULL, and WRMSR(). Referenced by KdpSendWaitContinue().
|
|
Definition at line 2779 of file 4/kdapi.c. References BYTE_OFFSET, KdpMoveMemory(), KdpSendPacket(), MmDbgTranslatePhysicalAddress64(), NULL, PAGE_SIZE, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1345 of file 4/kdapi.c. References KdpMoveMemory(), KdpSendPacket(), MmDbgReleaseAddress(), MmDbgWriteCheck(), MmDbgWriteCheck64(), and NULL. Referenced by KdpSendWaitContinue().
|
|
Referenced by NtSystemDebugControl(). |
|
Referenced by KdpSendWaitContinue(), and NtSystemDebugControl(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 712 of file 4/kdp.h. Referenced by KdpSearchPhysicalPageRange(). |
|
Definition at line 711 of file 4/kdp.h. Referenced by KdpSearchPhysicalPageRange(). |
|
|
|
Definition at line 709 of file 4/kdp.h. Referenced by KdpSearchPhysicalPageRange(). |
|
Definition at line 701 of file 4/kdp.h. Referenced by KdpSearchPhysicalMemoryRequested(), and KdpSearchPhysicalPageRange(). |
|
Definition at line 692 of file 4/kdp.h. Referenced by KdpSearchPhysicalPage(). |
|
Definition at line 690 of file 4/kdp.h. Referenced by KdpSearchPhysicalPage(). |
|
Definition at line 689 of file 4/kdp.h. Referenced by KdpSearchPhysicalPage(). |
|
Definition at line 708 of file 4/kdp.h. Referenced by KdpSearchPhysicalPageRange(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|