From: Jan Kiszka <jan.kiszka@domain.hid>
To: Alexis Berlemont <berlemont.hauw@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH 0/2] RTDM in user mode
Date: Sun, 04 Jan 2009 14:45:41 +0100 [thread overview]
Message-ID: <4960BD85.6040703@domain.hid> (raw)
In-Reply-To: <200812310119.48242.berlemont.hauw@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1742 bytes --]
Hi Alexis,
Alexis Berlemont wrote:
> Hi,
>
> Il already tried to send this mail to xenomai-core; I have been waiting for it
> for the past 24 hours. So I tried again with a few changes. Sorry for the
> noise.
>
> Here are three patches which provide the whole RTDM API to user-land. Thanks
> to these features, driver code can be executed by common user processes.
>
> - As Jan suggested, this first version is a "single process" driver, it can
> only be used (many times) by one process as it runs as library within the
> context of the user process. The multiple user space contexts implementation
> will follow (if you consider it as interesting).
>
> - The Linux framework for common Linux services (lists, ioremap(), etc. at
> least) is not available yet. It will follow.
>
> - The RTDM API has not changed... (except the IRQ and NRT sig handlers
> functions headers...).
>
> - The code has been tested thanks to the examples (available in
> examples/rtdm/user-api / patch n°2).
>
> Do you find such patches interesting for inclusion ?
Very nice stuff! And obviously already fairly complete even in details,
which is impressing for the first run.
I already created some local branch with your patches and compiled them.
Only minor issues visible: please check for pointer<->int conversion
warnings on 64-bit - and please add spaces after if, while, for etc. :).
I will look into this in more details soon.
Did you already tried to build or even run some existing single-user
driver against your extension? I'm thinking of the 16550A e.g. (it even
has a test case). Also the irqbench driver could be a candidate. Is
there some standard how-to-convert/build procedure?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-01-04 13:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-31 21:23 [Xenomai-core] skin RTDM in user mode Alexis Berlemont
2008-09-02 8:10 ` Jan Kiszka
2008-09-02 23:48 ` Alexis Berlemont
2008-09-05 5:53 ` Jan Kiszka
2008-12-31 0:19 ` [Xenomai-core] [PATCH 0/2] " Alexis Berlemont
2009-01-04 13:45 ` Jan Kiszka [this message]
2009-01-04 23:15 ` Alexis Berlemont
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=4960BD85.6040703@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=berlemont.hauw@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.