Re: [Xenomai-core] [PATCH 6/7] posix: Userspace hostrt reading without switching to kernel mode

2010-07-03 Thread Gilles Chanteperdrix
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;

[Xenomai-core] [PATCH 6/7] posix: Userspace hostrt reading without switching to kernel mode

2010-07-02 Thread Wolfgang Mauerer
From: Wolfgang Mauerer (none) wolfg...@dirichlet We can do this since the data are on the shared semaphore heap. The basis data structure is placed so that it is accessible from both the Linux kernel and Xenomai kernel/userland. This also requires to make the structure work with both kernel and