Chapter 7 Board-control Commands
Page 7 - 30 |
| Abort (0DH) |
Abort (0DH)
This command is used to halt a specific command. It attempts to find a command with the Command Identifier specified, and abort it. If the Abort command is successful, the Abort error code (3BH) will be returned in the Status Block of the command being aborted, and the Abort command will be completed without error. If the command with the specified Command Identifier cannot be found, the Abort command will return a Status Block with the Abort Failed error code (3CH).
Command
Format
Note
This command must be used to abort pending Target Mode Response commands when an
ABORT, ABORT TAG, CLEAR QUEUE, or
BUS DEVICE RESET message is received from an initiator.
The Parameter Block format for the Abort command looks like this:
Address |
|
| Byte Memory Address |
| ||
Offset | Offset + 0 |
| Offset + 1 |
| Offset + 2 | Offset + 3 |
|
|
| ||||
00H |
|
| Command Identifier |
| ||
|
|
|
|
|
|
|
04H |
|
| Reserved |
|
| Adapter ID = FFH |
|
|
|
| |||
08H |
| Command Identifier of CMD to be Aborted | ||||
|
|
|
|
|
| |
0CH |
|
|
| Reserved |
| |
|
|
|
|
| ||
10H | Command = 0DH |
|
| Reserved |
| |
|
|
|
|
|
|
|
14H |
|
|
| Reserved |
| |
18H |
|
|
| Reserved |
|
Description of Fields
Table 87: Abort Parameter Block
Each of the fields used by the Abort command are explained in the following section:
Command Identifier
The Command Identifier is used to identify the Status Block associated with a Parameter Block. It must be a unique value.
Adapter ID
This field must contain an FFH to indicate that it is an adapter command.
Command Identifier of CMD to be Aborted
This field contains the Command Identifier of a command that should be aborted. The adapter will search for the first command that has this Command Identifier and will abort it.
Command Code
This field indicates the command to be executed. For the Abort command it is 0DH.
21020285 D | User’s Guide |