RTEMS MAP_SHARED support expansion

Kirspel, Kevin Kevin-Kirspel at idexx.com
Wed May 17 11:42:14 UTC 2017

OK.  I will just stick with approach 1.

Kevin Kirspel
Electrical Engineer - Sr. Staff
Idexx Roswell
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510-4444 ext. 81642
Direct: (770)-688-1642
Fax: (770)-510-4445

-----Original Message-----
From: devel [mailto:devel-bounces at rtems.org] On Behalf Of Sebastian Huber
Sent: Wednesday, May 17, 2017 1:32 AM
To: Kirspel, Kevin <Kevin-Kirspel at idexx.com>; devel at rtems.org
Subject: Re: RTEMS MAP_SHARED support expansion

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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

devel mailing list
devel at rtems.org

More information about the devel mailing list