diff options
author | Amar Takhar <amar@rtems.org> | 2015-12-11 17:42:52 -0500 |
---|---|---|
committer | Amar Takhar <amar@rtems.org> | 2015-12-11 17:42:52 -0500 |
commit | ea3940c92ee9aa6e3405ea2810a862ef78a44cd1 (patch) | |
tree | 781b4b1530ddcb8131b76bd87537c7e2721b568b /include/rtems/vgacons.h | |
parent | 4a85c73bd4bda4d314a91bb9ee4b3da5163e8221 (diff) |
Stage 1: Move single headers.
Diffstat (limited to 'include/rtems/vgacons.h')
-rw-r--r-- | include/rtems/vgacons.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/include/rtems/vgacons.h b/include/rtems/vgacons.h new file mode 100644 index 0000000000..df7615bf5e --- /dev/null +++ b/include/rtems/vgacons.h @@ -0,0 +1,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_ */ |