RTEMS | iospace: Add iospace driver (!1243)
Aaron Nyholm (@eagleirony)
gitlab at rtems.org
Thu Jun 18 06:56:47 UTC 2026
Aaron Nyholm commented on a discussion on testsuites/libtests/iodev01/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152722
> + map_addr = mmap(
> + ( void* )0x40000000,
> + region.size,
> + (PROT_READ | PROT_WRITE),
> + MAP_FIXED,
> + fd,
> + 0
> + );
> + rtems_test_assert( map_addr == MAP_FAILED );
> +
> + /* Test PROT_READ and PROT_WRITE requirement */
> + map_addr = mmap(
> + NULL,
> + region.size,
> + (PROT_READ),
> + MAP_PRIVATE,
Yes, fixed this instance and others. Thanks, missed this.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152722
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/20260618/1ac11186/attachment.htm>
More information about the bugs
mailing list