RTEMS  5.1
Data Structures | Macros | Variables
console-generic.h File Reference

Generic console driver API. More...

#include <rtems/libio.h>
#include <rtems/termiostypes.h>

Go to the source code of this file.

Data Structures

struct  console_generic_callbacks
 
struct  console_generic_info
 

Macros

#define CONSOLE_GENERIC_INFO_TABLE   const console_generic_info console_generic_info_table []
 
#define CONSOLE_GENERIC_INFO(context, callbacks, device_path)   { context, callbacks, device_path }
 
#define CONSOLE_GENERIC_INFO_COUNT
 
#define CONSOLE_GENERIC_MINOR(minor)   const rtems_device_minor_number console_generic_minor = (minor)
 

Variables

const console_generic_info console_generic_info_table []
 
const size_t console_generic_info_count
 
const rtems_device_minor_number console_generic_minor
 

Detailed Description

Generic console driver API.

Macro Definition Documentation

◆ CONSOLE_GENERIC_INFO_COUNT

#define CONSOLE_GENERIC_INFO_COUNT
Value:
const size_t console_generic_info_count = \
sizeof(console_generic_info_table) / sizeof(console_generic_info_table [0])