RTEMS Logo

RTEMS 4.10.0 On-Line Library


Frame Buffer Driver Introduction

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

17.1: Introduction

The purpose of the frame buffer driver is to provide an abstraction for graphics hardware. By using the frame buffer interface, an application can display graphics without knowing anything about the low-level details of interfacing to a particular graphics adapter. The parameters governing the mapping of memory to displayed pixels (planar or linear, bit depth, etc) is still implementation-specific, but device-independent methods are provided to determine and potentially modify these parameters.

The frame buffer driver is commonly located in the console directory of the BSP and registered by the name /dev/fb0. Additional frame buffers (if available) are named /dev/fb1, /dev/fb2, etc.

To work with the frame buffer, the following operation sequence is used: open(), ioctls() to get the frame buffer info, read() and/or write(), and close().


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2008 OAR Corporation