RTEMS  5.0.0
fbcons.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2015 Yang Qiao
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  *
15  * http://www.rtems.org/license/LICENSE
16  *
17  */
18 
19 #ifndef _FBCONS_H_
20 #define _FBCONS_H_
21 
22 #include <libchip/serial.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /*
29  * This is the ASCII for "PI" in the upper word and 2835
30  * in the lower which should be unique enough to
31  * distinguish this type of serial device from others.
32  */
33 
34 #define FB_CONSOLE 0x50492835
35 
36 bool fbcons_probe( int minor );
37 
38 /*
39  * Driver function table
40  */
41 extern const console_fns fbcons_fns;
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* _FBCONS_H_ */
The generic libchip serial driver interface.
Definition: serial.h:76