RTEMS 6.3
Loading...
Searching...
No Matches
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)
#define CONSOLE_GENERIC_INFO_COUNT
#define 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

#define CONSOLE_GENERIC_INFO ( context,
callbacks,
device_path )
Value:
{ context, callbacks, device_path }
unsigned context
Definition tlb.h:1

◆ 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])

◆ CONSOLE_GENERIC_MINOR

#define CONSOLE_GENERIC_MINOR ( minor)
Value:
const rtems_device_minor_number console_generic_minor = (minor)
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition io.h:115