RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions | Variables
console.c File Reference

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/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.
 

Detailed Description

This source file contains this BSP's console configuration.

Function Documentation

◆ console_initialize()

rtems_device_driver 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.

Parameters
[in]majoris the device driver major number.
[in]minoris the device driver minor number.
[in]argis the parameters to this call.
Return values
RTEMS_SUCCESSFULThe device driver is successfully initialized.