iPXE
gdbserial.h File Reference

GDB remote debugging over serial. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (FORBIDDEN)
struct gdb_transportgdbserial_configure (const char *port, unsigned int baud)

Detailed Description

GDB remote debugging over serial.

Definition in file gdbserial.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( FORBIDDEN )

References port.

◆ gdbserial_configure()

struct gdb_transport * gdbserial_configure ( const char * port,
unsigned int baud )
extern

Definition at line 87 of file gdbserial.c.

88 {
89 int rc;
90
91 uart_put ( gdbserial_uart );
93
95 if ( ! gdbserial_uart )
96 return NULL;
97 uart_get ( gdbserial_uart );
98
99 gdbserial_uart->baud = baud;
100
101 if ( ( rc = uart_init ( gdbserial_uart ) ) != 0 )
102 return NULL;
103
104 return &serial_gdb_transport;
105}
#define NULL
NULL pointer (VOID *)
Definition Base.h:322
struct arbelprm_rc_send_wqe rc
Definition arbel.h:3
const char * name
Definition ath9k_hw.c:1986
static struct uart * gdbserial_uart
GDB serial UART.
Definition gdbserial.c:43
struct uart * uart_find(const char *name)
Find named UART.
Definition uart.c:130

References gdbserial_uart, name, NULL, rc, and uart_find().

Referenced by gdbserial_init().