Kinsey Moore commented on a discussion on cpukit/include/dev/iospace/iospace.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_150182

 > +
 > +/**
 > + * @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.

Actually, I would say it's useful when you're trying to allocate several things 
at once and if something else fails along the way you'd still need this 
function if you never attempted the registration.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_150182
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to