RTEMS: cpukit/include/rtems/bspIo.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
26extern "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
64extern BSP_output_char_function_type BSP_output_char;
65
70extern BSP_polling_getchar_function_type BSP_poll_char;
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
115 extern 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
basedefs.h
Basic Definitions.
BSP_output_char_function_type
void(* BSP_output_char_function_type)(char c)
Definition: bspIo.h:49
BSP_polling_getchar_function_type
int(* BSP_polling_getchar_function_type)(void)
Definition: bspIo.h:55
vprintk
int vprintk(const char *fmt, va_list ap)
Variable Argument printk()
Definition: vprintk.c:29
BSP_output_char
BSP_output_char_function_type BSP_output_char
Definition: console-config.c:162
rtems_putc
void rtems_putc(char c)
Kernel Put Character.
Definition: rtems_putc.c:28
putk
int int putk(const char *s)
Kernel Put String.
Definition: putk.c:26
rtems_put_char
void rtems_put_char(int c, void *arg)
Puts the character via rtems_putc().
Definition: rtems_put_char.c:34
getchark
int getchark(void)
Get Character (kernel I/O)
Definition: getchark.c:24
BSP_poll_char
BSP_polling_getchar_function_type BSP_poll_char
Definition: console-config.c:164
RTEMS_PRINTFLIKE
#define RTEMS_PRINTFLIKE(_format_pos, _ap_pos)
Tells the compiler that this function expects printf()-like arguments.
Definition: basedefs.h:249
format
Definition: mknod-pack_dev.c:254