ReactOS 0.4.16-dev-88-ga65b6ae
|
Go to the source code of this file.
Classes | |
struct | _KDP_DEBUG_MODE |
struct | _KD_DISPATCH_TABLE |
Macros | |
#define | DEFAULT_DEBUG_PORT 2 /* COM2 */ |
#define | DEFAULT_DEBUG_COM1_IRQ 4 /* COM1 IRQ */ |
#define | DEFAULT_DEBUG_COM2_IRQ 3 /* COM2 IRQ */ |
#define | DEFAULT_DEBUG_BAUD_RATE 115200 /* 115200 Baud */ |
#define | KdScreen 0 |
#define | KdSerial 1 |
#define | KdFile 2 |
#define | KdKdbg 3 |
#define | KdMax 4 |
Typedefs | |
typedef NTSTATUS(NTAPI * | PKDP_INIT_ROUTINE) (_In_ struct _KD_DISPATCH_TABLE *DispatchTable, _In_ ULONG BootPhase) |
typedef VOID(NTAPI * | PKDP_PRINT_ROUTINE) (_In_ PCCH String, _In_ ULONG Length) |
typedef struct _KDP_DEBUG_MODE | KDP_DEBUG_MODE |
typedef struct _KD_DISPATCH_TABLE | KD_DISPATCH_TABLE |
typedef struct _KD_DISPATCH_TABLE * | PKD_DISPATCH_TABLE |
Functions | |
VOID | KdIoPuts (_In_ PCSTR String) |
VOID __cdecl | KdIoPrintf (_In_ PCSTR Format,...) |
SIZE_T | KdIoReadLine (_Out_ PCHAR Buffer, _In_ SIZE_T Size) |
Reads a line of user input from the terminal. | |
KIRQL NTAPI | KdbpAcquireLock (_In_ PKSPIN_LOCK SpinLock) |
VOID NTAPI | KdbpReleaseLock (_In_ PKSPIN_LOCK SpinLock, _In_ KIRQL OldIrql) |
VOID | KdpScreenAcquire (VOID) |
VOID | KdpScreenRelease (VOID) |
NTSTATUS NTAPI | KdpScreenInit (_In_ struct _KD_DISPATCH_TABLE *DispatchTable, _In_ ULONG BootPhase) |
NTSTATUS NTAPI | KdpSerialInit (_In_ struct _KD_DISPATCH_TABLE *DispatchTable, _In_ ULONG BootPhase) |
NTSTATUS NTAPI | KdpDebugLogInit (_In_ struct _KD_DISPATCH_TABLE *DispatchTable, _In_ ULONG BootPhase) |
typedef struct _KDP_DEBUG_MODE KDP_DEBUG_MODE |
typedef struct _KD_DISPATCH_TABLE * PKD_DISPATCH_TABLE |
typedef NTSTATUS(NTAPI * PKDP_INIT_ROUTINE) (_In_ struct _KD_DISPATCH_TABLE *DispatchTable, _In_ ULONG BootPhase) |
KIRQL NTAPI KdbpAcquireLock | ( | _In_ PKSPIN_LOCK | SpinLock | ) |
Definition at line 64 of file kdio.c.
Referenced by KdbDebugPrint(), KdpPrintToLogFile(), and KdpSerialPrint().
Definition at line 91 of file kdio.c.
Referenced by KdbDebugPrint(), KdpPrintToLogFile(), and KdpSerialPrint().
Definition at line 576 of file kdio.c.
Referenced by KdIoReadLine(), KdReceivePacket(), and KdSendPacket().
Definition at line 568 of file kdio.c.
Referenced by KdIoReadLine(), and KdReceivePacket().
Reads a line of user input from the terminal.
[out] | Buffer | Buffer where to store the input. Trailing newlines are removed. |
[in] | Size | Size of Buffer . |
Definition at line 51 of file kdprompt.c.
Referenced by KdReceivePacket().
NTSTATUS NTAPI KdpDebugLogInit | ( | _In_ struct _KD_DISPATCH_TABLE * | DispatchTable, |
_In_ ULONG | BootPhase | ||
) |
Definition at line 431 of file kdio.c.
Referenced by KdbpInternalEnter(), and KdpScreenInit().
NTSTATUS NTAPI KdpScreenInit | ( | _In_ struct _KD_DISPATCH_TABLE * | DispatchTable, |
_In_ ULONG | BootPhase | ||
) |
Definition at line 450 of file kdio.c.
Referenced by KdbpInternalEnter().
NTSTATUS NTAPI KdpSerialInit | ( | _In_ struct _KD_DISPATCH_TABLE * | DispatchTable, |
_In_ ULONG | BootPhase | ||
) |
|
extern |
|
extern |
Definition at line 50 of file kdio.c.
Referenced by KdDebuggerInitialize0().
|
extern |
Definition at line 46 of file kdio.c.
Referenced by KdbpInternalEnter(), KdDebuggerInitialize0(), KdpDebugLogInit(), KdpGetDebugMode(), KdpGetTerminalSettings(), KdpInitTerminal(), KdpScreenInit(), KdpSerialInit(), KdpUpdateTerminalSize(), and KdSendPacket().
|
extern |
Definition at line 36 of file kdio.c.
Referenced by KdpDebugLogInit(), and KdpGetDebugMode().
|
extern |
Definition at line 47 of file kdio.c.
Referenced by KdbInitialize(), KdDebuggerInitialize1(), KdIoPrintString(), KdpDebugLogInit(), KdpDriverReinit(), KdpScreenInit(), and KdpSerialInit().
|
extern |
Definition at line 40 of file kdio.c.
Referenced by KdbpSendCommandSerial(), KdbpTryGetCharSerial(), KdpGetDebugMode(), KdpSerialInit(), and KdpSerialPrint().
|
extern |
Definition at line 39 of file kdio.c.
Referenced by KdpGetDebugMode(), and KdpSerialInit().