RTEMS | iospace: Add iospace driver (!1243)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Jun 17 14:19:12 UTC 2026
Gedare Bloom started a new discussion on testsuites/libtests/iodev01/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152619
> + /* Test event info */
> + status = ioctl( fd, RTEMS_IODEV_IOCTL_EVENT_COUNT, &count);
> + rtems_test_assert( !status );
> + rtems_test_assert( count == TEST_IODEV_EVENT_COUNT );
> +
> + for ( i = 0; i < count; i++ ) {
> + event.index = i;
> + status = ioctl( fd, RTEMS_IODEV_IOCTL_EVENT_INFO, &event );
> + rtems_test_assert( !status );
> + rtems_test_assert( event.name != NULL );
> + rtems_test_assert( event.index == i );
> + }
> +
> + /* Test 5 second event */
> + event_args.index = 0;
> + event_args.timeout.tv_sec = 0;
4?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152619
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/20260617/c36323ae/attachment-0001.htm>
More information about the bugs
mailing list