Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | Device flags |
R1 | Pointer to list of devices to install |
R2 | Pointer to device driver entry point |
R3 | Private word (passed to entry point in R8) |
R4 | Workspace pointer (passed to entry point in R12) |
R5 | Pointer to special field validation string? |
R6 | Maximium RX devices (0 for none, -1 for unlimited) |
R7 | Maximium TX devices (0 for none, -1 for unlimited) |
Exit | |
---|---|
R0 | Device driver’s handle |
Bit | Meaning when set |
---|---|
0 | Is block device (otherwise is character device) |
1 | Device is Full duplex |
2 | Monitor TX/RX available |
3 | Monitor EOF on reading |
4 | Issue device OS_UpCall with reason code 15 – 17 |
5 – 31 | Reserved (must be zero) |
The purpose of this call is to register a device driver and its associated devices with DeviceFS.
If a device in the list should fail to register than all devices specified will be removed.