DEV Module
2-62
❏
DHL Driver (host link driver).
Driver that uses the HST interface to
send data to and from the Host Channel Control Analysis Tool.
❏
DIO Adapter (class driver).
Driver used with the device driver
model.
❏
DPI Driver (pipe driver).
Software device used to stream data
between DSP/BIOS tasks.
To configure devices for other drivers, use Tconf to create a User-defined
Device (UDEV) object. There are no global properties for the user-
defined device manager.
The following additional device drivers are supplied with DSP/BIOS:
❏
Stackable gather/scatter driver
❏
Null driver
❏
Stackable overlap driver
❏
Stackable “split” driver
❏
Stackable streaming transformer driver
DEV Object Properties
The following properties can be set for a user-defined device in the UDEV
Object Properties dialog in the DSP/BIOS Configuration Tool or in a
Tconf script. To create a user-defined device object in a configuration
script, use the following syntax:
var myDev = bios.UDEV.create("myDev");
The Tconf examples assume the myDev object is created as shown.
❏
comment
. Type a comment to identify this object.
Tconf Name: comment
Type: String
Example:
myDev.comment = "My device";
❏
init function
. Specify the function to run to initialize this device.
Use a leading underscore before the function name if the function is
written in C and you are using the DSP/BIOS Configuration Tool. If
you are using Tconf, do not add an underscore before the function
name; Tconf adds the underscore needed to call a C function from
assembly internally.
Tconf Name: initFxn
Type: Arg
Example:
myDev.initFxn = prog.extern("myInit");
❏
function table ptr
. Specify the name of the device functions table for
the driver or mini-driver. This table is of type DEV_Fxns or IOM_Fxns
depending on the setting for the function table type property.
Tconf Name: fxnTable
Type: Arg
Example:
myDev.fxnTable =
prog.extern("mydevFxnTable");