|
iPXE
|
#include <stddef.h>#include <stdio.h>#include <assert.h>#include <ipxe/uart.h>#include <ipxe/gdbstub.h>#include <ipxe/gdbserial.h>#include <config/serial.h>Go to the source code of this file.
Macros | |
| #define | GDBSERIAL_BAUD COMSPEED |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static size_t | gdbserial_recv (char *buf, size_t len) |
| static void | gdbserial_send (const char *buf, size_t len) |
| static int | gdbserial_init (int argc, char **argv) |
| struct gdb_transport * | gdbserial_configure (const char *name, unsigned int baud) |
Variables | |
| static struct uart * | gdbserial_uart |
| GDB serial UART. More... | |
| struct gdb_transport serial_gdb_transport | __gdb_transport |
| #define GDBSERIAL_BAUD COMSPEED |
Definition at line 38 of file gdbserial.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Definition at line 46 of file gdbserial.c.
References assert(), gdbserial_uart, and len.
|
static |
|
static |
Definition at line 61 of file gdbserial.c.
References GDBSERIAL_BAUD, gdbserial_configure(), port, and printf().
| struct gdb_transport* gdbserial_configure | ( | const char * | name, |
| unsigned int | baud | ||
| ) |
Definition at line 86 of file gdbserial.c.
References uart::baud, gdbserial_uart, name, NULL, rc, and uart_find().
Referenced by gdbserial_init().
|
static |
GDB serial UART.
Definition at line 42 of file gdbserial.c.
Referenced by gdbserial_configure(), gdbserial_recv(), and gdbserial_send().
| struct gdb_transport serial_gdb_transport __gdb_transport |
Definition at line 44 of file gdbserial.c.
1.8.15