RTEMS | iospace: Add iospace driver (!1243)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Jun 17 14:50:26 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_152624

 > +  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,

should this be `MAP_SHARED`?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152624
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/9df219ac/attachment.htm>


More information about the bugs mailing list