Motorola MVME162LX 300 Series Installation And Use Manual page 100

Embedded controller
Table of Contents

Advertisement

Debugger General Information
3
3-16
The following system calls are provided to allow user programs to do disk
I/O:
.DSKRD
Disk read. System call to read blocks from a disk into
memory.
.DSKWR
Disk write. System call to write blocks from memory onto a
disk.
.DSKCFIG
Disk configure. This function allows you to change the
configuration of the specified device.
.DSKFMT
Disk format. This function allows you to send a format
command to the specified device.
.DSKCTRL
Disk control. This function is used 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 the above and other system calls.
To perform a disk operation, the 162Bug 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). It is important to
note that 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 do disk I/O accept a generalized
(controller-independent) packet format as an argument, and translate it into
a controller-specific packet, which is then sent to the specified device.
Refer to the system call descriptions in the Debugging Package for
Motorola 68K CISC CPUs User's Manual for additional information on
the format and construction of these standardized "user" packets.
The packets which a controller module expects to be given 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 it is sent to. Refer to documentation on the particular controller
module for the format of its packets, and for using the IOC command.
Computer Group Literature Center Web Site

Advertisement

Table of Contents
loading

Table of Contents