On 16/05/17 21:28, Kirspel, Kevin wrote:
The second approach includes the first approach but adds support for RTEMS device drivers. We would need to add a mmap handler to “rtems_driver_address_table”. The “IMFS_device_handlers” would add a mmap handler to device_mmap(). We would need a new rtems_deviceio_mmap() function to call the drivers mmap handler. I don’t think any BSPs will be affected because the mmap handler of “rtems_driver_address_table” should initialize to NULL. Any BSP would them be free to add a handler to process mmap calls.
I would not touch the legacy RTEMS device drivers. With the IMFS generic nodes we have something more flexible with lower overhead.
-- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel