RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Functions | Variables
console-io.c File Reference

Moxiesim Console Support. More...

#include <bsp.h>
#include <bsp/console-polled.h>
#include <rtems/libio.h>
#include <stdlib.h>
#include <assert.h>
#include <rtems/bspIo.h>

Functions

void console_initialize_hardware (void)
 
ssize_t _sys_write (int fd, const void *buf, size_t count)
 
void console_outbyte_polled (int port, char ch)
 
int console_inbyte_nonblocking (int port)
 

Variables

BSP_output_char_function_type BSP_output_char = moxiesim_output_char
 This function pointer references the kernel character output implementation.
 
BSP_polling_getchar_function_type BSP_poll_char = NULL
 This function pointer may reference the kernel character input implementation.
 

Detailed Description

Moxiesim Console Support.

This file contains the hardware specific portions of the TTY driver for the Moxie GDB simulator.

Function Documentation

◆ console_initialize_hardware()

void console_initialize_hardware ( void  )

This method is invoked to initialize the console hardware device(s).

◆ console_outbyte_polled()

void console_outbyte_polled ( int  port,
char  ch 
)

This method polls the specified character ch to the specified console port.

Parameters
[in]portis the output port
[in]chis the character to print