User`s manual

.IOCONFIG
5-108
5
.IOCONFIG
Name
.IOCONFIG - Port Configure
Code
$0128
Description
This trap will instruct the PPCBug to access the I/O device to
change port operation and to update its internal I/O Control
structures. The PPCBug writes ERROR CODE and (possibly) PORT
NUMBER in your Port Control Structure.
If you wish to inform the PPCBug that you are turning on
Concurrent Mode, you must set the Concurrent Mode field of the
Port Control Structure. It is permissible to use a Port number of -2
when turning on Concurrent Mode. The PPCBug will return a valid
Port Number for your future reference.
If you wish to inform the PPCBug that you are turning off
Concurrent Mode operation, you must use a PORT NUMBER that
has been returned by the .IOINQ or .IOINFORM system calls.
Entry Conditions
R03: Pointer to Port Control Structure.
All members of the Port Control Structure, except Error Code and
Reserved, as well as the Board Name String and I/O Control
Structure must be user initialized before calling .IOCONFIG.
Exit Conditions Different From Entry
R03: Pointer to Port Control Structure as defined above, or
R03: NULL (Port not recognized error).
The Port Control Structure will be modified as described above.