4.115
Last change
on this file since ba5df99c was
ba5df99c,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/09/11 at 07:20:28
|
2011-12-09 Ralf Corsépius <ralf.corsepius@…>
- console/vgacons.c: Add VGACONS_STATIC.
- console/vgacons.h: Remove VGACONS_STATIC.
|
-
Property mode set to
100644
|
File size:
783 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 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #ifndef _VGACONS_H_ |
---|
13 | #define _VGACONS_H_ |
---|
14 | |
---|
15 | #include <libchip/serial.h> |
---|
16 | |
---|
17 | #ifdef __cplusplus |
---|
18 | extern "C" { |
---|
19 | #endif |
---|
20 | |
---|
21 | /* |
---|
22 | * This is the ASCII for "PC" in the upper word and 0386 |
---|
23 | * in the lower which should be unique enough to |
---|
24 | * distinguish this type of serial device from others. |
---|
25 | */ |
---|
26 | |
---|
27 | #define VGA_CONSOLE 0x80670386 |
---|
28 | |
---|
29 | #define VGACONS_UART0 0 |
---|
30 | #define VGACONS_UART1 1 |
---|
31 | |
---|
32 | bool vgacons_probe( int minor ); |
---|
33 | |
---|
34 | /* |
---|
35 | * Driver function table |
---|
36 | */ |
---|
37 | extern console_fns vgacons_fns; |
---|
38 | |
---|
39 | #ifdef __cplusplus |
---|
40 | } |
---|
41 | #endif |
---|
42 | |
---|
43 | #endif /* _VGACONS_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.