source: rtems/c/src/lib/libbsp/i386/pc386/console/vgacons.h @ 1c0b8d7

4.115
Last change on this file since 1c0b8d7 was 1c0b8d7, checked in by Jennifer Averett <Jennifer.Averett@…>, on Nov 18, 2011 at 8:11:08 PM

2011-11-18 Jennifer Averett <Jennifer.Averett@…>

PR 1925

  • Makefile.am, preinstall.am, console/serial_mouse_config.c, include/bsp.h, start/start.S: Converted 1386 console to the libchip style console
  • console/conscfg.c, console/console_control.c, console/printk_support.c, console/vgacons.c, console/vgacons.h: New files.
  • Property mode set to 100644
File size: 808 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
18extern "C" {
19#endif
20
21#define VGACONS_STATIC
22
23/*
24 *  This is the ASCII for "PC" in the upper word and 0386
25 *  in the lower which should be unique enough to
26 *  distinguish this type of serial device from others.
27 */
28
29#define VGA_CONSOLE 0x80670386
30
31#define VGACONS_UART0  0
32#define VGACONS_UART1  1
33
34bool vgacons_probe( int minor );
35
36/*
37 * Driver function table
38 */
39extern console_fns vgacons_fns;
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* _VGACONS_H_ */
Note: See TracBrowser for help on using the repository browser.