RTEMS CPU Kit with SuperCore  4.11.3
bspIo.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1998 valette@crf.canon.fr
11  * COPYRIGHT (c) 2011 On-Line Applications Research Corporation.
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_BSPIO_H
19 #define _RTEMS_BSPIO_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
43 typedef void (*BSP_output_char_function_type) (char c);
44 
49 typedef int (*BSP_polling_getchar_function_type) (void);
50 
56 
62 
63 #include <stdarg.h>
64 
77 extern int getchark(void);
78 
88 extern void vprintk(const char *fmt, va_list ap);
89 
97 extern void printk(const char *fmt, ...);
98 
106 extern void putk(const char *s);
107 
115 extern void rtems_putc(char c);
116 
129 typedef int (*rtems_printk_plugin_t)(void *, const char *format, ...);
130 
139 extern int printk_plugin(void *context, const char *fmt, ...);
140 
152 extern int rtems_printf_plugin(void *context, const char *fmt, ...);
153 
156 #ifdef __cplusplus
157 }
158 #endif
159 
160 #endif
Definition: mknod-pack_dev.c:255
BSP_polling_getchar_function_type BSP_poll_char
This variable points to the BSP provided method to input a character for the purposes of debug input...
Definition: termios_printk.c:53
int printk_plugin(void *context, const char *fmt,...)
Reporting Methods printk() Plugin.
Definition: printk_plugin.c:24
int getchark(void)
Get Character (kernel I/O)
Definition: getchark.c:24
void rtems_putc(char c)
Kernel Put Character.
Definition: rtems_putc.c:28
int rtems_printf_plugin(void *context, const char *fmt,...)
Reporting Methods printf() Plugin.
Definition: printf_plugin.c:30
void vprintk(const char *fmt, va_list ap)
Variable Argument printk()
Definition: vprintk.c:48
void putk(const char *s)
Kernel Put String.
Definition: putk.c:26
BSP_output_char_function_type BSP_output_char
This variable points to the BSP provided method to output a character for the purposes of debug outpu...
Definition: termios_printk.c:52
void printk(const char *fmt,...)
Kernel Print.
Definition: printk.c:35
int(* BSP_polling_getchar_function_type)(void)
This type defines the prototype for the BSP provided method to input a single character.
Definition: bspIo.h:49
int(* rtems_printk_plugin_t)(void *, const char *format,...)
Type definition for function which can be plugged in to certain reporting routines to redirect the ou...
Definition: bspIo.h:129
void(* BSP_output_char_function_type)(char c)
This type defines the prototype for the BSP provided method to print a single character.
Definition: bspIo.h:43