From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Wolfgang Mauerer <wolfgang.mauerer@domain.hid>
Cc: Jan Kiszka <jan.kiszka@domain.hid>, xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH 6/7] posix: Userspace hostrt reading without switching to kernel mode
Date: Sat, 03 Jul 2010 14:06:28 +0200 [thread overview]
Message-ID: <4C2F27C4.1050107@domain.hid> (raw)
In-Reply-To: <1278071353-13836-7-git-send-email-wolfgang.mauerer@domain.hid>
Wolfgang Mauerer wrote:
> int __wrap_clock_gettime(clockid_t clock_id, struct timespec *tp)
> {
> int err;
> @@ -68,7 +128,11 @@ int __wrap_clock_gettime(clockid_t clock_id, struct timespec *tp)
> tp->tv_sec = xnarch_divrem_billion(ns, &rem);
> tp->tv_nsec = rem;
> return 0;
> + } else if (clock_id == CLOCK_HOST_REALTIME) {
> + err = __do_clock_host_realtime(tp, NULL);
> + goto out;
swich case here
--
Gilles.
next prev parent reply other threads:[~2010-07-03 12:06 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-02 11:49 [Xenomai-core] [PATCH 0/7] Host realtime clock support Wolfgang Mauerer
2010-07-02 11:49 ` [Xenomai-core] [PATCH 1/7] nucleus: Spelling fix for check-vdso.c Wolfgang Mauerer
2010-07-02 11:49 ` [Xenomai-core] [PATCH 2/7] nucleus: Sanity check for vdso.h Wolfgang Mauerer
2010-07-02 11:49 ` [Xenomai-core] [PATCH 3/7] nucleus: Add userland cpu_relax() definition for x86 Wolfgang Mauerer
2010-07-02 11:49 ` [Xenomai-core] [PATCH 4/7] nucleus: Add CLOCK_HOST_REALTIME bits to nkvdso Wolfgang Mauerer
2010-07-03 11:57 ` Gilles Chanteperdrix
2010-07-03 19:31 ` Wolfgang Mauerer
2010-07-03 19:52 ` Gilles Chanteperdrix
2010-07-03 20:25 ` Wolfgang Mauerer
2010-07-02 11:49 ` [Xenomai-core] [PATCH 5/7] posix: Support reading the host realtime clock in realtime context Wolfgang Mauerer
2010-07-03 12:04 ` Gilles Chanteperdrix
2010-07-03 19:21 ` Wolfgang Mauerer
2010-07-02 11:49 ` [Xenomai-core] [PATCH 6/7] posix: Userspace hostrt reading without switching to kernel mode Wolfgang Mauerer
2010-07-03 12:06 ` Gilles Chanteperdrix [this message]
2010-07-02 11:49 ` [Xenomai-core] [PATCH 7/7] posix: Add some example code for CLOCK_HOST_REALTIME Wolfgang Mauerer
2010-07-02 14:21 ` Jan Kiszka
2010-07-02 14:26 ` Gilles Chanteperdrix
2010-07-02 14:34 ` Wolfgang Mauerer
2010-07-02 14:35 ` Gilles Chanteperdrix
2010-07-02 14:39 ` Jan Kiszka
2010-07-02 14:31 ` [Xenomai-core] [PATCH (7+1)/7] " Wolfgang Mauerer
2010-07-02 13:52 ` [Xenomai-core] [PATCH 0/7] Host realtime clock support Gilles Chanteperdrix
2010-07-02 14:59 ` Wolfgang Mauerer
2010-07-02 15:07 ` Gilles Chanteperdrix
2010-07-02 15:20 ` Jan Kiszka
2010-07-03 18:46 ` Wolfgang Mauerer
2010-07-03 16:56 ` Gilles Chanteperdrix
2010-07-03 19:29 ` Wolfgang Mauerer
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=4C2F27C4.1050107@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jan.kiszka@domain.hid \
--cc=wolfgang.mauerer@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.