This source file contains definitions of BSP_output_char_function_type and :: BSP_output_char and an implementation of console_initialize().
More...
#include <rtems/bspIo.h>
#include <rtems/console.h>
#include <rtems/sysinit.h>
#include <rtems/termiostypes.h>
#include <bsp/fatal.h>
#include <bsp/fdt.h>
#include <bsp/irq.h>
#include <bsp/riscv.h>
#include <dev/serial/htif.h>
#include <libchip/ns16550.h>
#include <libfdt.h>
#include <string.h>
This source file contains definitions of BSP_output_char_function_type and :: BSP_output_char and an implementation of console_initialize().
◆ console_initialize()
Console initialization entry point.
This method initializes the console device driver.
- Parameters
-
| [in] | major | is the device driver major number. |
| [in] | minor | is the device driver minor number. |
| [in] | arg | is the parameters to this call. |
- Return values
-
| RTEMS_SUCCESSFUL | The device driver is successfully initialized. |
Console initialization entry point.
Initialize all serial drivers specified in driver_context_table
- Parameters
-
| [in] | major | |
| [in] | minor | |
| [in] | arg | |
- Return values
-
| RTEMS_SUCCESSFUL | Initialization completed |