h6. [[DeviceFS]] h6(. » [[DeviceFS SWI Calls|SWI Calls]] h6((. » DeviceFS_Register h2. DeviceFS_Register h5. (SWI &42740) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Device flags":#flags | |<^. R1 |<^. Pointer to list of [[DeviceFS Technical Details|devices to install]] | |<^. R2 |<^. Pointer to [[DeviceDriver_Entry|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 [[DeviceFS Technical Details#specialfields|special field validation string]] | |<^. R6 |<^. Maximium RX devices (0 for none, -1 for unlimited) | |<^. R7 |<^. Maximium TX devices (0 for none, -1 for unlimited) | |_<^{width:4em}. Exit | | |<^. R0 |<^. Device driver's handle | h4(#flags). Global Device Flags |_<^{width:4em}. 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) | h4. Use The purpose of this call is to register a device driver and its associated devices with [[DeviceFS]]. h4. Notes If a device in the list should fail to register than all devices specified will be removed. h4. See also * [[DeviceDriver_Entry]] * [[DeviceFS_Deregister]] * [[DeviceFS_RegisterObjects]] * [[OS_UpCall]]