RTEMS
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 #include <rtems/score/basedefs.h>
22 
23 #include <stdarg.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
49 typedef void (*BSP_output_char_function_type) (char c);
50 
55 typedef int (*BSP_polling_getchar_function_type) (void);
56 
65 
71 
84 extern int getchark(void);
85 
97 extern int vprintk(const char *fmt, va_list ap);
98 
99 int rtems_printk_printer(
100  void *ignored,
101  const char *format,
102  va_list ap
103 );
104 
115 extern int printk(const char *fmt, ...) RTEMS_PRINTFLIKE(1, 2);
116 
126 extern int putk(const char *s);
127 
136 extern void rtems_putc(char c);
137 
146 void rtems_put_char( int c, void *arg );
147 
150 #ifdef __cplusplus
151 }
152 #endif
153 
154 #endif
BSP_polling_getchar_function_type BSP_poll_char
int int putk(const char *s)
Kernel Put String.
int getchark(void)
Get Character (kernel I/O)
int vprintk(const char *fmt, va_list ap)
Variable Argument printk()
Definition: vprintk.c:29
void rtems_putc(char c)
Kernel Put Character.
Definition: rtems_putc.c:28
RTEMS_NO_RETURN RTEMS_PRINTFLIKE(1, 2) void rtems_panic(const char *fmt
%
void rtems_put_char(int c, void *arg)
Puts the character via rtems_putc().
BSP_output_char_function_type BSP_output_char
int(* BSP_polling_getchar_function_type)(void)
Definition: bspIo.h:55
This header file provides basic definitions used by the API and the implementation.
void(* BSP_output_char_function_type)(char c)
Definition: bspIo.h:49
int printk(const char *fmt,...) RTEMS_PRINTFLIKE(1
Kernel Print.