RTEMS
5.1
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
+
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
+
Enumerator
a
c
d
h
i
l
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
bsps
powerpc
include
bsp
consoleIo.h
1
/*
2
* consoleIo.h -- console I/O package interface
3
*
4
* Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
5
*
6
* The license and distribution terms for this file may be
7
* found in the file LICENSE in this distribution or at
8
* http://www.rtems.org/license/LICENSE.
9
*/
10
11
#ifndef __CONSOLE_IO_H
12
#define __CONSOLE_IO_H
13
14
typedef
enum
{
15
CONSOLE_LOG = 1,
16
CONSOLE_SERIAL = 2,
17
CONSOLE_VGA = 3,
18
CONSOLE_VACUUM = 4
19
}ioType;
20
21
typedef
volatile
unsigned
char
* __io_ptr;
22
23
typedef
struct
{
24
__io_ptr io_base;
25
__io_ptr isa_mem_base;
26
}
board_memory_map
;
27
28
extern
board_memory_map
*ptr_mem_map;
29
30
extern
int
select_console(ioType t);
31
/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
32
extern
void
debug_putc(
const
char
c);
33
extern
void
debug_putc_onlcr(
const
char
c);
34
extern
int
debug_getc(
void
);
35
extern
int
debug_tstc(
void
);
36
int
kbdreset(
void
);
37
38
#endif
board_memory_map
Definition:
consoleIo.h:23
Generated by
1.8.15