RTEMS
Classes | Typedefs | Functions
printer.h File Reference

User print interface to the bspIO print plug in. More...

#include <rtems/print.h>
#include <rtems/chain.h>
#include <rtems/rtems/intr.h>
#include <rtems/rtems/tasks.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Classes

struct  rtems_printer
 
struct  rtems_printer_task_context
 

Typedefs

typedef int(* rtems_print_printer) (void *, const char *format, va_list ap)
 

Functions

static bool rtems_print_printer_valid (const rtems_printer *printer)
 check if the printer is valid. More...
 
static void rtems_print_printer_empty (rtems_printer *printer)
 Initializes the printer to print nothing. More...
 
void rtems_print_printer_printk (rtems_printer *printer)
 Initializes the printer to print via printk(). More...
 
void rtems_print_printer_printf (rtems_printer *printer)
 Initializes the printer to print via printf(). More...
 
void rtems_print_printer_fprintf (rtems_printer *printer, FILE *file)
 Initializes the printer to print via fprintf() using the specified file stream. More...
 
void rtems_print_printer_fprintf_putc (rtems_printer *printer)
 Initializes the printer to print via fprintf() using an unbuffered FILE stream with output through rtems_putc(). More...
 
static void rtems_printer_task_initialize (rtems_printer_task_context *context)
 
static void rtems_printer_task_set_stack_size (rtems_printer_task_context *context, size_t stack_size)
 
static void rtems_printer_task_set_priority (rtems_printer_task_context *context, rtems_task_priority priority)
 
static void rtems_printer_task_set_file_descriptor (rtems_printer_task_context *context, int fd)
 
static void rtems_printer_task_set_buffer_table (rtems_printer_task_context *context, void *buffer_table)
 
static void rtems_printer_task_set_buffer_count (rtems_printer_task_context *context, size_t buffer_count)
 
static void rtems_printer_task_set_buffer_size (rtems_printer_task_context *context, size_t buffer_size)
 
int rtems_print_printer_task (rtems_printer *printer, rtems_printer_task_context *context)
 Creates a printer task. More...
 
void rtems_printer_task_drain (rtems_printer_task_context *context)
 Drains the work queue of the printer task. More...
 

Detailed Description

User print interface to the bspIO print plug in.

This include file defines the user interface to kernel print methods.

Definition in file printer.h.