RTEMS  5.1
vgacons.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2011.
11  * On-Line Applications Research Corporation (OAR).
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 _VGACONS_H_
19 #define _VGACONS_H_
20 
21 #include <libchip/serial.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /*
28  * This is the ASCII for "PC" in the upper word and 0386
29  * in the lower which should be unique enough to
30  * distinguish this type of serial device from others.
31  */
32 
33 #define VGA_CONSOLE 0x80670386
34 
35 #define VGACONS_UART0 0
36 #define VGACONS_UART1 1
37 
38 bool vgacons_probe( int minor );
39 
40 /*
41  * Driver function table
42  */
43 extern const console_fns vgacons_fns;
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* _VGACONS_H_ */
The generic libchip serial driver interface.
Definition: serial.h:76