RTEMS | iospace: Add iospace driver (!1243)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu May 14 13:09:31 UTC 2026
Kinsey Moore started a new discussion on cpukit/include/dev/iospace/iospace.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_150042
> +
> +/**
> + * @brief Unregister the iospace device.
> + *
> + * @param[in] iospace The iospace device.
> + *
> + * @retval 0 Successful operation.
> + * @retval non-zero Failed operation.
> + */
> +int rtems_iospace_unregister( const char *iospace_path );
> +
> +/**
> + * @brief Destroys the iospace device.
> + *
> + * This function must only be used on rtems_iospace instances that have not
> + * been registered.
This is slightly ambiguous. The registration function description claims that it always takes ownership, but this comment suggests that a failed registration attempt may leave an iospace in a state where it will still need to be destroyed.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_150042
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/20260514/0d6fd6f7/attachment-0001.htm>
More information about the bugs
mailing list