4.115
Last change
on this file since c8bd3cd was
c8bd3cd,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/08/13 at 12:39:59
|
libchip/serial: Add const qualifier
|
-
Property mode set to
100644
|
File size:
777 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2011. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef _VGACONS_H_ |
---|
11 | #define _VGACONS_H_ |
---|
12 | |
---|
13 | #include <libchip/serial.h> |
---|
14 | |
---|
15 | #ifdef __cplusplus |
---|
16 | extern "C" { |
---|
17 | #endif |
---|
18 | |
---|
19 | /* |
---|
20 | * This is the ASCII for "PC" in the upper word and 0386 |
---|
21 | * in the lower which should be unique enough to |
---|
22 | * distinguish this type of serial device from others. |
---|
23 | */ |
---|
24 | |
---|
25 | #define VGA_CONSOLE 0x80670386 |
---|
26 | |
---|
27 | #define VGACONS_UART0 0 |
---|
28 | #define VGACONS_UART1 1 |
---|
29 | |
---|
30 | bool vgacons_probe( int minor ); |
---|
31 | |
---|
32 | /* |
---|
33 | * Driver function table |
---|
34 | */ |
---|
35 | extern const console_fns vgacons_fns; |
---|
36 | |
---|
37 | #ifdef __cplusplus |
---|
38 | } |
---|
39 | #endif |
---|
40 | |
---|
41 | #endif /* _VGACONS_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.