summaryrefslogtreecommitdiffstats
path: root/bsps/i386/pc386/include/rtems/vgacons.h
blob: df7615bf5e1d56fd54b8420b425685101d8e2d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
 * @file
 *
 * @ingroup i386_pc386
 *
 * @brief VGA definitions.
 */

/*
 *  COPYRIGHT (c) 1989-2011.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#ifndef _VGACONS_H_
#define _VGACONS_H_

#include <libchip/serial.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 *  This is the ASCII for "PC" in the upper word and 0386 
 *  in the lower which should be unique enough to
 *  distinguish this type of serial device from others.
 */

#define VGA_CONSOLE 0x80670386

#define VGACONS_UART0  0
#define VGACONS_UART1  1

bool vgacons_probe( int minor );

/*
 * Driver function table
 */
extern const console_fns vgacons_fns;

#ifdef __cplusplus
}
#endif

#endif /* _VGACONS_H_ */