Here is an outline of the directory tree structure for the source tree. Only directories/files that are relevant to writing a driver are presented. The structure for the Link Kit is presented below.
Local configuration customization
XFree86 local configuration customization
The server source
Files common to all of the server (XF86Config parser, I/O device handlers, etc)
Contains the `ScrnInfoRec' data structure
Contains option flags
Contains in-line assembler macros and utility functions
OS-support layer
Contains macro-ized assembler mnemonics
OS-support includes, defines, and prototypes
Template for Link Kit site.def
256-color VGA server directories
The generic VGA handling code
Contains the `vgaVideoChipRec' and `vgaHWRec' data structures
Contains the generic-VGA-register handling functions vgaHWInit(), vgaHWSave() and vgaHWRestore().
Contains the SVGA driver subdirectories. Each contains an Imakefile, a .c file for the driver, and a .s file for the bank- switching functions.
The monochrome vga server directories. Most of the files are linked from vga256, and the differences handled by conditional compilation.
The SVGA driver subdirectories. The `generic' VGA driver is also located here.
The 16-color vga server directories. Most of the files are linked from vga256, and the differences handled by conditional compilation.
The SVGA driver subdirectories.
This documentation and the stub driver.
Local configuration customization
All of the include files listed under the `common' directory above
All of the SVGA drivers
The SVGA driver subdirectories.
The SVGA driver subdirectories.
The SVGA driver subdirectories.
The directory with this documentation and the stub driver. `vgaHW.c' is also copied here, for reference (it is not built as part of the Link Kit).
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter