RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
22
23#include <stdarg.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
49typedef void (*BSP_output_char_function_type) (char c);
50
56
65
71
84extern int getchark(void);
85
97extern int vprintk(const char *fmt, va_list ap);
98
99int rtems_printk_printer(
100 void *ignored,
101 const char *format,
102 va_list ap
103);
104
115extern int printk(const char *fmt, ...) RTEMS_PRINTFLIKE(1, 2);
116
126extern int putk(const char *s);
127
136extern void rtems_putc(char c);
137
146void rtems_put_char( int c, void *arg );
147
150#ifdef __cplusplus
151}
152#endif
153
154#endif
Basic Definitions.
void(* BSP_output_char_function_type)(char c)
Definition: bspIo.h:49
int(* BSP_polling_getchar_function_type)(void)
Definition: bspIo.h:55
int printk(const char *fmt,...) RTEMS_PRINTFLIKE(1
Kernel Print.
int vprintk(const char *fmt, va_list ap)
Variable Argument printk()
Definition: vprintk.c:29
BSP_output_char_function_type BSP_output_char
Definition: console-config.c:162
void rtems_putc(char c)
Kernel Put Character.
Definition: rtems_putc.c:28
int int putk(const char *s)
Kernel Put String.
Definition: putk.c:26
void rtems_put_char(int c, void *arg)
Puts the character via rtems_putc().
Definition: rtems_put_char.c:34
int getchark(void)
Get Character (kernel I/O)
Definition: getchark.c:24
BSP_polling_getchar_function_type BSP_poll_char
Definition: console-config.c:164
#define RTEMS_PRINTFLIKE(_format_pos, _ap_pos)
Tells the compiler that this function expects printf()-like arguments.
Definition: basedefs.h:249
Definition: mknod-pack_dev.c:254