* [Xenomai-core] bug with tm_evevery()
@ 2008-05-13 11:01 Markus Osterried
2008-05-15 7:42 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Markus Osterried @ 2008-05-13 11:01 UTC (permalink / raw)
To: Xenomai-core
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
Hello,
there is a bug in the pSOS user-space skin, calling the wrong
kernel-space function for tm_evevery().
The file xenomai/src/skins/psos+/tm.c should be fixed like this:
--- xenomai-2.4/src/skins/psos+/tm.c
+++ xenomai-2.4/src/skins/psos+/tm.c
@@ -71,7 +71,7 @@
u_long tm_evevery(u_long ticks, u_long events, u_long *tmid_r)
{
- return XENOMAI_SKINCALL3(__psos_muxid, __psos_tm_evwhen, ticks,
events, tmid_r);
+ return XENOMAI_SKINCALL3(__psos_muxid, __psos_tm_evevery, ticks,
events, tmid_r);
}
u_long tm_getm(unsigned long long *ns_r) /* Xenomai extension. */
Thank you.
Markus
[-- Attachment #2: Type: text/html, Size: 2263 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-core] bug with tm_evevery()
2008-05-13 11:01 [Xenomai-core] bug with tm_evevery() Markus Osterried
@ 2008-05-15 7:42 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2008-05-15 7:42 UTC (permalink / raw)
To: Markus Osterried; +Cc: Xenomai-core
Markus Osterried wrote:
> Hello,
>
> there is a bug in the pSOS user-space skin, calling the wrong
> kernel-space function for tm_evevery().
> The file xenomai/src/skins/psos+/tm.c should be fixed like this:
>
>
> --- xenomai-2.4/src/skins/psos+/tm.c
> +++ xenomai-2.4/src/skins/psos+/tm.c
> @@ -71,7 +71,7 @@
>
> u_long tm_evevery(u_long ticks, u_long events, u_long *tmid_r)
> {
> - return XENOMAI_SKINCALL3(__psos_muxid, __psos_tm_evwhen, ticks,
> events, tmid_r);
> + return XENOMAI_SKINCALL3(__psos_muxid, __psos_tm_evevery, ticks,
> events, tmid_r);
> }
>
> u_long tm_getm(unsigned long long *ns_r) /* Xenomai extension. */
>
>
Merged, thanks.
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-15 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13 11:01 [Xenomai-core] bug with tm_evevery() Markus Osterried
2008-05-15 7:42 ` Philippe Gerum
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.