RTEMS | iospace: Add iospace driver (!1243)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue Jun 2 17:07:35 UTC 2026
Gedare Bloom started a new discussion on cpukit/include/dev/io/iodev.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_151570
> + *
> + * @retval 0 Successful operation.
> + * @retval non-zero Failed operation.
> + */
> +int rtems_iodev_unregister( const char *iodev_path );
> +
> +/**
> + * @brief Destroys the iodev device. Frees the iodev if initialised with
> + * rtems_iodev_alloc_and_init.
> + *
> + * This function must only be used on rtems_iodev instances that have not been
> + * successfully registered with rtems_iodev_register.
> + *
> + * @param[in] iodev The iodev device.
> + */
> +void rtems_iodev_destroy_unregistered( rtems_iodev *iodev );
I would just call this `destroy` and make it an error if it is registered.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_151570
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260602/3c58e0ef/attachment.htm>
More information about the bugs
mailing list