Entry | |
---|---|
R0 | 1 (reason code for Finalise) |
R2 | DeviceFS stream handle, or 0 for all streams |
Exit | |
---|---|
- | - |
This entry point is called when a stream is being closed.
Your device driver must tidy up and ensure that all vectors have been released. This entry point is also called when a device driver is being removed, although in this case R2 is set to contain 0 indicating that all streams should be closed.