This source file contains NOEL-V/APBUART 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 <libfdt.h>
#include <grlib/apbuart.h>
#include <grlib/apbuart_termios.h>
This source file contains NOEL-V/APBUART definitions of BSP_output_char_function_type and :: BSP_output_char and an implementation of console_initialize().
◆ RISCV_CONSOLE_IS_COMPATIBLE
| #define RISCV_CONSOLE_IS_COMPATIBLE |
( |
|
actual, |
|
|
|
actual_len, |
|
|
|
desired |
|
) |
| |
Value: (actual_len == sizeof(desired) \
&& memcmp(actual, desired, sizeof(desired) - 1) == 0)
◆ 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 |