h6. [[DeviceFS]] h6(. » [[DeviceDriver_Entry]] h6((. » DeviceDriver_Entry 6 h2. DeviceDriver_Entry 6 h5. (SWI -) |_<^{width:4em}. Entry | | |<^. R0 |<^. 6 (Create buffer for TX) | |<^. R2 |<^. Device driver stream handle | |<^. R3 |<^. Suggested [[Buffer Flags Word|buffer flags]] | |<^. R4 |<^. Suggested buffer size (non-zero) | |<^. R5 |<^. Suggested buffer handle, or -1 to generate unique handle | |<^. R6 |<^. Suggested buffer threshold (when [[DeviceDriver_Entry 8|halt]] event is called) | |_<^{width:4em}. Exit | | |<^. R3 - R6 |<^. Modified as the device driver requires | h4. Use This entry point is called just before the buffer is created, to allow the driver to modify parameters as desired. h4. Notes The suggested buffer flags are those given when the [[DeviceFS Technical Details|device was registered]]. R5 will default to -1 (generate unique handle) but you may specify the number of a buffer to link to. h4. See also * [[Buffer Flags Word]] * [[DeviceFS]] * [[DeviceFS Technical Details]] * [[DeviceDriver_Entry]]