![]() |
RTEMS 6.1
|
This source file contains this BSP's console configuration. More...
#include <rtems/console.h>#include <rtems/bspIo.h>#include <rtems/sysinit.h>#include <bsp/irq.h>#include <dev/serial/arm-pl011.h>#include <dev/serial/versal-uart.h>#include <bspopts.h>Functions | |
| rtems_status_code | console_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void *arg) |
| Console initialization entry point. | |
| void | versal_debug_console_flush (void) |
| RTEMS_SYSINIT_ITEM (versal_debug_console_init, RTEMS_SYSINIT_BSP_START, RTEMS_SYSINIT_ORDER_LAST_BUT_5) | |
Variables | |
| BSP_output_char_function_type | BSP_output_char = versal_debug_console_early_init |
| This function pointer references the kernel character output implementation. | |
| BSP_polling_getchar_function_type | BSP_poll_char = versal_debug_console_in |
| This function pointer may reference the kernel character input implementation. | |
This source file contains this BSP's console configuration.
| 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. |