1 | #ifndef __fbvga_drv__ |
---|
2 | #define __fbvga_drv__ |
---|
3 | /*************************************************************************** |
---|
4 | * |
---|
5 | * $Header$ |
---|
6 | * |
---|
7 | * Copyright (c) 2000 -- Rosimildo da Silva. |
---|
8 | * |
---|
9 | * MODULE DESCRIPTION: |
---|
10 | * Prototype routines for the fbvga driver. |
---|
11 | * |
---|
12 | * by: Rosimildo da Silva: |
---|
13 | * rdasilva@connecttel.com |
---|
14 | * http://www.connecttel.com |
---|
15 | * |
---|
16 | * MODIFICATION/HISTORY: |
---|
17 | * |
---|
18 | * $Log$ |
---|
19 | * Revision 1.3 2004/04/21 10:42:44 ralf |
---|
20 | * Remove stray white spaces. |
---|
21 | * |
---|
22 | * Revision 1.2 2004/04/15 13:26:12 ralf |
---|
23 | * Remove stray white spaces. |
---|
24 | * |
---|
25 | * Revision 1.1 2000/08/30 08:15:30 joel |
---|
26 | * 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com> |
---|
27 | * |
---|
28 | * * Major rework of the "/dev/console" driver. |
---|
29 | * * Added termios support for stdin ( keyboard ). |
---|
30 | * * Added ioctls() to support modes similar to Linux( XLATE, |
---|
31 | * RAW, MEDIUMRAW ). |
---|
32 | * * Added Keyboard mapping and handling of the keyboard's leds. |
---|
33 | * * Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA |
---|
34 | * controller ( 16 colors ). |
---|
35 | * * Added PS/2 and Serial mouse support for PC386 BSP. |
---|
36 | * * console/defkeymap.c: New file. |
---|
37 | * * console/fb_vga.c: New file. |
---|
38 | * * console/fb_vga.h: New file. |
---|
39 | * * console/i386kbd.h: New file. |
---|
40 | * * console/kd.h: New file. |
---|
41 | * * console/keyboard.c: New file. |
---|
42 | * * console/keyboard.h: New file. |
---|
43 | * * console/mouse_parser.c: New file. |
---|
44 | * * console/mouse_parser.h: New file. |
---|
45 | * * console/pc_keyb.c: New file. |
---|
46 | * * console/ps2_drv.h: New file. |
---|
47 | * * console/ps2_mouse.c: New file. |
---|
48 | * * console/ps2_mouse.h: New file. |
---|
49 | * * console/serial_mouse.c: New file. |
---|
50 | * * console/serial_mouse.h: New file. |
---|
51 | * * console/vgainit.c: New file. |
---|
52 | * * console/vt.c: New file. |
---|
53 | * * console/Makefile.am: Reflect new files. |
---|
54 | * * console/console.c, console/inch.c, console/outch.c: Console |
---|
55 | * functionality modifications. |
---|
56 | * * startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c |
---|
57 | * |
---|
58 | ****************************************************************************/ |
---|
59 | |
---|
60 | /* functions */ |
---|
61 | #ifdef __cplusplus |
---|
62 | extern "C" { |
---|
63 | #endif |
---|
64 | |
---|
65 | /* fbvga prototype entry points */ |
---|
66 | rtems_device_driver fbvga_initialize( |
---|
67 | rtems_device_major_number, |
---|
68 | rtems_device_minor_number, |
---|
69 | void * |
---|
70 | ); |
---|
71 | |
---|
72 | rtems_device_driver fbvga_open( |
---|
73 | rtems_device_major_number, |
---|
74 | rtems_device_minor_number, |
---|
75 | void * |
---|
76 | ); |
---|
77 | |
---|
78 | rtems_device_driver fbvga_control( |
---|
79 | rtems_device_major_number, |
---|
80 | rtems_device_minor_number, |
---|
81 | void * |
---|
82 | ); |
---|
83 | |
---|
84 | rtems_device_driver fbvga_close( |
---|
85 | rtems_device_major_number, |
---|
86 | rtems_device_minor_number, |
---|
87 | void * |
---|
88 | ); |
---|
89 | |
---|
90 | rtems_device_driver fbvga_read( |
---|
91 | rtems_device_major_number, |
---|
92 | rtems_device_minor_number, |
---|
93 | void * |
---|
94 | ); |
---|
95 | |
---|
96 | rtems_device_driver fbvga_write( |
---|
97 | rtems_device_major_number, |
---|
98 | rtems_device_minor_number, |
---|
99 | void * |
---|
100 | ); |
---|
101 | |
---|
102 | rtems_device_driver fbvga_control( |
---|
103 | rtems_device_major_number, |
---|
104 | rtems_device_minor_number, |
---|
105 | void * |
---|
106 | ); |
---|
107 | |
---|
108 | #define FBVGA_DRIVER_TABLE_ENTRY \ |
---|
109 | { fbvga_initialize, fbvga_open, fbvga_close, \ |
---|
110 | fbvga_read, fbvga_write, fbvga_control } |
---|
111 | |
---|
112 | #ifdef __cplusplus |
---|
113 | } |
---|
114 | #endif |
---|
115 | /* end of include file */ |
---|
116 | |
---|
117 | #endif /* __fbvga_drv__ */ |
---|