Gedare Bloom started a new discussion on cpukit/include/dev/io/iodev.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_151572 > + * it must be destroyed via rtems_iodev_destroy_and_free(). > + * > + * @param[in] size The number of bytes to allocate. > + * > + * @retval NULL Failed to set up iodev device. > + * @retval non-NULL The new iodev device. > + */ > +rtems_iodev *rtems_iodev_alloc_and_init( size_t size ); > + > +/** > + * @brief Initialize the iodev device. > + * > + * After a successful initialization of the iodev device it must be > + * destroyed via rtems_iodev_destroy(). > + * > + * After initialization and before registration read, write, erase, jedec_id `jedec_id`? Please read through your complete MR. I'm turning this into a draft until this is cleaned up. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_151572 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
