source: rtems/c/src/lib/libbsp/i386/pc386/console/serial_mouse.h @ 3cbb63a

4.104.114.84.95
Last change on this file since 3cbb63a was 3cbb63a, checked in by Joel Sherrill <joel.sherrill@…>, on 08/30/00 at 08:15:30

2000-08-26 Rosimildo da Silva <rdasilva@…>

  • Major rework of the "/dev/console" driver.
  • Added termios support for stdin ( keyboard ).
  • Added ioctls() to support modes similar to Linux( XLATE, RAW, MEDIUMRAW ).
  • Added Keyboard mapping and handling of the keyboard's leds.
  • Added Micro FrameBuffer? driver ( "/dev/fb0" ) for bare VGA controller ( 16 colors ).
  • Added PS/2 and Serial mouse support for PC386 BSP.
  • console/defkeymap.c: New file.
  • console/fb_vga.c: New file.
  • console/fb_vga.h: New file.
  • console/i386kbd.h: New file.
  • console/kd.h: New file.
  • console/keyboard.c: New file.
  • console/keyboard.h: New file.
  • console/mouse_parser.c: New file.
  • console/mouse_parser.h: New file.
  • console/pc_keyb.c: New file.
  • console/ps2_drv.h: New file.
  • console/ps2_mouse.c: New file.
  • console/ps2_mouse.h: New file.
  • console/serial_mouse.c: New file.
  • console/serial_mouse.h: New file.
  • console/vgainit.c: New file.
  • console/vt.c: New file.
  • console/Makefile.am: Reflect new files.
  • console/console.c, console/inch.c, console/outch.c: Console functionality modifications.
  • startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#ifndef __serial_mouse_drv__
2#define __serial_mouse_drv__
3/***************************************************************************
4 *
5 * $Header$
6 *
7 * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
8 * 
9 * MODULE DESCRIPTION: Prototype routines for the /dev/mouse driver.
10 *
11 * by: Rosimildo da Silva:
12 *     rdasilva@connecttel.com
13 *     http://www.connecttel.com
14 *
15 * MODIFICATION/HISTORY:
16 *
17 * $Log$
18 ****************************************************************************/
19
20/* functions */
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
26/* ttyS1 entry points */
27rtems_device_driver serial_mouse_initialize(
28  rtems_device_major_number,
29  rtems_device_minor_number,
30  void *
31);
32
33rtems_device_driver serial_mouse_open(
34  rtems_device_major_number,
35  rtems_device_minor_number,
36  void *
37);
38
39rtems_device_driver serial_mouse_control(
40  rtems_device_major_number,
41  rtems_device_minor_number,
42  void *
43);
44
45
46/* serial_mouse  entry points */
47rtems_device_driver serial_mouse_close(
48  rtems_device_major_number,
49  rtems_device_minor_number,
50  void *
51);
52
53
54rtems_device_driver serial_mouse_read(
55  rtems_device_major_number,
56  rtems_device_minor_number,
57  void *
58);
59
60rtems_device_driver serial_mouse_write(
61  rtems_device_major_number,
62  rtems_device_minor_number,
63  void *
64);
65
66
67/* Select the mouse type:  "ms","pc","ps2" */
68#define  MOUSE_TYPE        "ms" 
69
70/* Select the serial port for the serial mouse driver */
71#define  SERIAL_MOUSE_COM1  1
72/* #define  SERIAL_MOUSE_COM2  1  */
73
74
75#define SERIAL_MOUSE_DRIVER_TABLE_ENTRY \
76  { serial_mouse_initialize, serial_mouse_open, serial_mouse_close, \
77    serial_mouse_read, serial_mouse_write, serial_mouse_control }
78
79#ifdef __cplusplus
80}
81#endif
82/* end of include file */
83
84#endif  /* __tty_drv__  */
85
86
Note: See TracBrowser for help on using the repository browser.