![]() |
RTEMS 6.3
|
Console Configuration. More...
#include <rtems/bspIo.h>#include <rtems/console.h>#include <rtems/sysinit.h>#include <libchip/serial.h>#include <libfdt.h>#include <libchip/ns16550.h>#include <dev/serial/arm-pl011.h>#include <bspopts.h>#include <bsp/usart.h>#include <bsp/raspberrypi.h>#include <bsp/fbcons.h>#include <bsp.h>#include <bsp/console-termios.h>#include <bsp/fdt.h>#include <bsp/fatal.h>#include <bsp/gpio.h>#include <bsp/rpi-gpio.h>Macros | |
| #define | PL011 "/dev/ttyAMA0" |
| #define | MINIUART "/dev/ttyS0" |
| #define | FBCONS "/dev/fbcons" |
Functions | |
| void | output_char_fb (char c) |
| rtems_status_code | console_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void *arg) |
| Console initialization entry point. | |
| RTEMS_SYSINIT_ITEM (uart_probe, RTEMS_SYSINIT_BSP_START, RTEMS_SYSINIT_ORDER_LAST_BUT_5) | |
Variables | |
| arm_pl011_context | pl011_context |
| ns16550_context | mini_uart_context |
| rpi_fb_context | fb_context |
| BSP_output_char_function_type | BSP_output_char = output_char |
| This function pointer references the kernel character output implementation. | |
| BSP_polling_getchar_function_type | BSP_poll_char = NULL |
Console Configuration.
| #define PL011 "/dev/ttyAMA0" |
UART0 - PL011 UART1 - Mini UART
| rtems_status_code console_initialize | ( | rtems_device_major_number | major, |
| rtems_device_minor_number | minor, | ||
| void * | arg ) |
Console initialization entry point.
This method initializes the console device driver.
| [in] | major | is the device driver major number. |
| [in] | minor | is the device driver minor number. |
| [in] | arg | is the parameters to this call. |
| RTEMS_SUCCESSFUL | The device driver is successfully initialized. |
| arm_pl011_context pl011_context |