B

Debugger General Information

.DSKCFIG

Disk conÞgure. Use this system call to change the conÞguration of the

 

speciÞed device.

 

 

.DSKFMT

Disk format. Use this system call to send a format command to the

 

speciÞed device.

 

 

.DSKCTRL

Disk control. Use this system call to implement any special device

 

control functions that cannot be accommodated easily with any of the

 

other disk functions.

 

 

Refer to the Debugging Package for Motorola 68K CISC CPUs User's Manual for information on using these and other system calls.

To perform a disk operation, 177Bug must eventually present a particular disk controller module with a controller command packet which has been especially prepared for that type of controller module. (This is accomplished in the respective controller driver module.) A command packet for one type of controller module usually does not have the same format as a command packet for a different type of module. The system call facilities which perform disk I/O:

Accept a generalized (controller-independent) packet format as an argument

Translate it into a controller-specific packet

Send it to the specified device

Refer to the system call descriptions in the Debugging Package for Motorola 68K CISC CPUs User's Manual for details on the format and construction of these standardized ÒuserÓ packets.

The packets which a controller module expects to receive vary from controller to controller. The disk driver module for the particular hardware module (board) must take the standardized packet given to a trap function and create a new packet which is specifically tailored for the disk drive controller receiving it. Refer to documentation on the particular controller module for the format of its packets, and for using the IOC command.

B-18

Page 98
Image 98
Motorola MVME177 manual Dskcfig