37#define GDBSERIAL_BAUD 0
39#define GDBSERIAL_BAUD COMSPEED
68 printf (
"serial: syntax <port>\n" );
73 printf (
"serial: unable to configure\n" );
104 return &serial_gdb_transport;
#define NULL
NULL pointer (VOID *)
struct arbelprm_rc_send_wqe rc
#define assert(condition)
Assert a condition at run-time.
Serial port configuration.
static void gdbserial_send(const char *buf, size_t len)
struct gdb_transport * gdbserial_configure(const char *name, unsigned int baud)
static int gdbserial_init(int argc, char **argv)
static size_t gdbserial_recv(char *buf, size_t len)
static struct uart * gdbserial_uart
GDB serial UART.
GDB remote debugging over serial.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
A transport mechanism for the GDB protocol.
struct uart * uart_find(const char *name)
Find named UART.
int printf(const char *fmt,...)
Write a formatted string to the console.