RTEMS  5.0.0
framebuffer.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2011.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef __RTEMS_FRAMEBUFFER_h__
19 #define __RTEMS_FRAMEBUFFER_h__
20 
21 #include <rtems/io.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
31 #define FRAMEBUFFER_DEVICE_NAME "/dev/fb"
32 
39 #define FRAMEBUFFER_DEVICE_0_NAME "/dev/fb0"
40 
45 #define FRAME_BUFFER_DRIVER_TABLE_ENTRY \
46  { frame_buffer_initialize, frame_buffer_open, frame_buffer_close, \
47  frame_buffer_read, frame_buffer_write, frame_buffer_control }
48 
62  rtems_device_major_number major,
63  rtems_device_minor_number minor,
64  void *arg
65 );
66 
81  rtems_device_major_number major,
82  rtems_device_minor_number minor,
83  void *arg
84 );
85 
100  rtems_device_major_number major,
101  rtems_device_minor_number minor,
102  void *arg
103 );
104 
119  rtems_device_major_number major,
120  rtems_device_minor_number minor,
121  void *arg
122 );
123 
138  rtems_device_major_number major,
139  rtems_device_minor_number minor,
140  void *arg
141 );
142 
158  rtems_device_major_number major,
159  rtems_device_minor_number minor,
160  void *arg
161 );
162 
163 #ifdef __cplusplus
164 }
165 #endif
166 
167 #endif
168 /* end of include file */
rtems_device_driver frame_buffer_control(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Frame Buffer IO Control Entry Point.
Definition: fb.c:205
rtems_device_driver frame_buffer_write(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Frame Buffer Write Entry Point.
Definition: fb.c:163
rtems_device_driver frame_buffer_open(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Frame Buffer Open Entry Point.
Definition: fb.c:116
rtems_device_driver frame_buffer_read(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Frame Buffer Read Entry Point.
Definition: fb.c:152
rtems_status_code
Classic API Status.
Definition: status.h:43
Classic Input/Output Manager API.
rtems_device_driver frame_buffer_close(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Frame Buffer Close Entry Point.
Definition: fb.c:135
rtems_device_driver frame_buffer_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Frame Buffer Initialization Entry Point.
Definition: fb.c:95