RTEMS  5.1
Functions | Variables
printk_support.c File Reference
#include <rtems.h>
#include <rtems/bspIo.h>
#include <bsp.h>
#include <libchip/serial.h>
#include <libchip/ns16550.h>

Functions

void BSP_com_outch (char ch)
 
int BSP_com_inch (void)
 

Variables

rtems_device_minor_number BSPPrintkPort = 0
 
BSP_output_char_function_type BSP_output_char = BSP_com_outch
 
BSP_polling_getchar_function_type BSP_poll_char = BSP_com_inch
 

Detailed Description

This file contains a stub for the required printk support.

Variable Documentation

◆ BSP_output_char

BSP_output_char_function_type BSP_output_char = BSP_com_outch

This variable points to the BSP provided method to output a character for the purposes of debug output.

It must output only the specific character. It must not perform character translations, e.g. "\n" to "\r\n".

◆ BSP_poll_char

BSP_polling_getchar_function_type BSP_poll_char = BSP_com_inch

This variable points to the BSP provided method to input a character for the purposes of debug input.