Utilities
Overview
A utility test is started at the console prompt by entering a
command using the following format:
TEST/UTIL dev_nbr util_nbr op1...opn
Format
Meaning
/UTIL
Instructs the test dispatcher to run a utility
dev_nbr
The device on which the utility operates
util_nbr
The utility number
op1...opn
One to n optional parameters
Running a
Utility
The console mode passes a list of parameters to the test
dispatcher. The test then uses the main configuration table
(MCT), device configuration table (DCT), and driver descriptor
data structures when running a utility. Table 2–3 describes the
dispatcher process for running a utility.
Table 2–3 Running a Utility Process
Stage
Dispatcher Process
1
Uses the device number to index into the MCT.
2
Receives a pointer to the device DCT from the MCT.
3
Finds a pointer to the device directory entries in the DCT.
4
Scans all the directories for a directory type of the utility directory (=3)
5
Reads the flags field in the DCT to determine if the utility needs to be loaded
into RAM.
If the utility needs to be loaded into RAM, the dispatcher allocates memory for
loading the utility (moving it from ROM to RAM).
Continued on next page
2–8