#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
◆ DEFAULT_BAUD_RATE
#define DEFAULT_BAUD_RATE 19200 |
◆ MAX_COM_PORTS
◆ NDEBUG
◆ KdPortGetByteEx()
Definition at line 130 of file kdbg.c.
IN CINT OUT PVOID PortInformation
USHORT NTAPI CpGetByte(IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll)
◆ KdPortInitializeEx()
Definition at line 51 of file kdbg.c.
57 #if 0 // Deactivated because never used in fact (was in KdPortInitialize but we use KdPortInitializeEx) 66 if (ComPortNumber == 0)
74 for (ComPortNumber =
MAX_COM_PORTS; ComPortNumber > 0; ComPortNumber--)
82 if (ComPortNumber == 0)
89 PortInitialized =
TRUE;
113 "\r\nKernel Debugger: Serial port found: COM%ld (Port 0x%p) BaudRate %ld\r\n\r\n",
IN CINT OUT PVOID PortInformation
#define sprintf(buf, format,...)
BOOLEAN NTAPI CpDoesPortExist(IN PUCHAR Address)
#define NT_SUCCESS(StatCode)
#define DEFAULT_BAUD_RATE
NTSTATUS NTAPI CpInitialize(IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate)
static const ULONG BaseArray[]
NTHALAPI VOID NTAPI HalDisplayString(PUCHAR String)
◆ KdPortPutByteEx()
Definition at line 139 of file kdbg.c.
IN CINT OUT PVOID PortInformation
VOID NTAPI CpPutByte(IN PCPPORT Port, IN UCHAR Byte)