DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing NFB graphical adapter drivers

Initializing the hardware

The xxxInit.c file contains the code to initialize and shut down the hardware. If you are developing on a SVR5 system, study the sample nte driver for details about how to do this. The logic for initializing that driver is:


xxxSetup
This routine is passed a pointer to the ddxScreenRequest(D4nfb) structure.

xxxInit
initialize the screen:

xxxCloseScreen
Frees structures when the device is closed.

xxxDfbInit
Initialize the driver's dumb frame buffer.

© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005