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/endian.h>
#include <rtems/sysinit.h>
#include <rtems/termiostypes.h>
#include <bsp/aarch64-mmu.h>
#include <bsp/fdt.h>
#include <bsp/irq.h>
#include <dev/serial/zynq-uart.h>
#include <bspopts.h>
#include <libfdt.h>
#include <libchip/ns16550.h>

Functions

 __attribute__ ((weak))
 Zynq UltraScale+ MPSoC specific set up of a management console.
 
 RTEMS_SYSINIT_ITEM (zynqmp_management_console_init, RTEMS_SYSINIT_BSP_START, RTEMS_SYSINIT_ORDER_FIRST)
 
rtems_status_code console_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
 Console initialization entry point.
 
void zynqmp_debug_console_flush (void)
 
 RTEMS_SYSINIT_ITEM (zynqmp_debug_console_init, RTEMS_SYSINIT_BSP_START, RTEMS_SYSINIT_ORDER_LAST_BUT_5)
 

Variables

uint32_t mgmt_uart_reg_shift = 0
 
BSP_output_char_function_type BSP_output_char = zynqmp_debug_console_early_init
 This function pointer references the kernel character output implementation.
 
BSP_polling_getchar_function_type BSP_poll_char = zynqmp_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_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.

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.