MVDEVICE(F) UNIX System V
Name
mvdevice - video driver backend configuration file
Syntax
/etc/conf/cf.d/mvdevice
Description
The mvdevice file 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 with in the
space.c.
The mvdevice file has the following entries:
prefix name of driver from 1 to 4
characters long (for example
``mono'') This is the name of the
video back end.
routine_mask This mask tells which routines were
supported by the particular back
end. These routines are:
vvvinit(), vvvcmos(),
vvvinitscreen(), vvvscroll(),
vvvcopy(), vvvclear(), vvvpchar(),
vvvscurs(), vvvsgr(), vvvioctl(),
vvvadapctl().
type 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 OEM information treated exactly the
same as the type (i.e. a literal)
paddr the physical address which the
video RAM is located. This would
allow a user to configure a future
driver. Also included as a literal
field.
size The size of the video RAM. Also
included as a literal field.
This information provides all the basic information needed
for the program to generate an appropriate space.c and build
the the correct adapter switch.
The routine mask uses the following bits to signify the
following routines:
0x0001 vvvinit()
0x0002 vvvcmos()
0x0004 vvvinitscreen()
0x0008 vvvscroll()
0x0010 vvvcopy()
0x0020 vvvclear()
0x0040 vvvpchar()
0x0080 vvvscurs()
0x0100 vvvsgr()
0x0200 vvvioctl()
0x0400 vvvadapctl()
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
See Also
sdevice(F)
(printed 2/15/90) MVDEVICE(F)