shared memory Beispiel?

Adam Lackorzynski adam at
Thu Sep 1 00:54:21 CEST 2005

On Wed Aug 31, 2005 at 10:36:19 +0200, Frank Mehnert wrote:
> To map it into L4Linux 2.6, you have to reserve a range of virtual memory
> inside the Linux server (Adam, which function should someone use for this?)
> and then map it into that reserved region via l4dm_map_ds() (see dm_phys
> manual). Since L4Linux 2.6 makes havy use of L4env functionality, this
> function is available. Make sure that the whole dataspace is mapped into
> L4Linux since there is no region manager.

The Linux server is a 'normal' L4Env application so mapping memory
works as usual. Depending on what one wants to do it may be necessary to
make the memory region known to Linux. But if it's (just) a driver one
can simply use it. Look at the stub drivers in 2.6, they just do that.

Adam                 adam at

More information about the l4-hackers mailing list