video driver back end configuration file
prefix name routine_mask type oem paddr size
mvdevice accomplishes configurability of video
hardware by permitting the linking of back ends to the
console video driver. This linking scheme includes a C
library of video back ends for use with the Link Kit and
separate driver entries for each of the back ends.
The configuration program uses the mvdevice file
to produce a space.c for the console driver.
This space.c includes the appropriate include
files and extern references to the appropriate video back
ends. In addition, the configuration program builds the
console display switch within the space.c.
Each line in mvdevice contains the following seven
This information provides all the basic information needed
for the program to generate an appropriate
space.c and build the the correct adapter
Name of driver from 1 to 4 characters long (for example ``mono'').
This name is prepended to the driver routines
defined by routine_mask.
The name of the adapter printed as the argument of
unit= message from the console driver at
This mask tells which routines were supported by the
particular back end. These routines are:
xx is replaced by prefix in the console
display switch table in space.c.
This is placed in the file as a literal.
For example, if the word MONO was put into the
file, it would include the word MONO as the
type entry of the adapter structure.
OEM information treated exactly the same as type
(as a literal).
The physical address at which the video RAM is located
(included as a literal field).
The size of the video RAM (included as a literal field).
The routine mask uses the following bits to signify the
The default mvdevice file looks like this:
# mvdevice: video configuration master file.
#prefix name routines type oem paddr size
mono mono 0x07fd MONO 0 0 0
cga cga 0x07fd CGA 0 0 0
ega ega 0x07ff EGA 0 0 0
vga vga 0x07ff VGA 0 0 0
full pathname of mvdevice
holds the built display switch table for the console driver
contains definition of struct adapter used by space.c
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003