From: Jan Kiszka <jan.kiszka@domain.hid>
To: Alessio Igor Bogani <abogani@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rtdm_mmap and rt_heap
Date: Tue, 28 Feb 2006 12:36:35 +0100 [thread overview]
Message-ID: <440435C3.9070007@domain.hid> (raw)
In-Reply-To: <1141117773.7873.11.camel@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
Alessio Igor Bogani wrote:
> Hi All,
>
> Exist differences between RTDM's Memory mapped API
> (rtdm_mmap()/rtdm_munmap()) and Native's sharing memory API
> (rt_heap_*())? Which?
The RTDM API is intended to be used by portable drivers for all skins
(even for other RT-Linux extensions) while the native heaps are for
native skin applications. So, if you are planning to implement a driver
for some hardware or some communication protocol and you want to map
e.g. DMA buffers from kernel to user space, use the RTDM API. If you
want to set up shared memory between native applications (user-user,
user-kernel), the heaps are your mechanism of choice.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-02-28 11:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 14:56 [Xenomai-core] [PATCH] Shared interrupts (yet another movie :) Dmitry Adamushko
2006-02-27 19:25 ` [Xenomai-core] " Jan Kiszka
2006-02-28 9:09 ` [Xenomai-help] rtdm_mmap and rt_heap Alessio Igor Bogani
2006-02-28 11:36 ` Jan Kiszka [this message]
[not found] ` <4403891C.5070603@domain.hid>
2006-02-28 9:20 ` [Xenomai-core] Re: [PATCH] Shared interrupts (yet another movie :) Dmitry Adamushko
2006-02-28 17:03 ` Philippe Gerum
2006-02-28 17:03 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=440435C3.9070007@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=abogani@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.