| Entry | |
|---|---|
| R0 | Bits 0-7 sub-reason code |
| Bits 8-31 flags (undefined, ignore) | |
| R1 | Reason code (&D9) |
| R2 | Pointer to device |
| Exit | |
|---|---|
| - | Depends on sub-reason code |
| Exit | |
|---|---|
| - | All registers must be preserved |
This service call is issued by the OS after a new device has been added to the system.
| Exit | |
|---|---|
| R1 | 0 to object to device being removed |
| R0 → error block | |
| Other registers must be preserved | |
| Else all other registers must be preserved | |
This service call is issued by the OS before a device is removed from the system. Claiming the service call by setting R1 to 0 will block the removal of the device.