Re: [Xenomai-core] Problem with periodic timer on PPC40x solved

2006-09-25 Thread Wolfgang Grandegger
Niklaus Giger wrote: Am Montag, 25. September 2006 17:57 schrieb Philippe Gerum: On Sun, 2006-09-24 at 23:07 +0200, Wolfgang Grandegger wrote: Niklaus Giger wrote: <..> Ok, we can go for the lazy fix here, since this code is poised to disappear anyway. I've merged a variant of the above we al

Re: [Xenomai-core] Problem with periodic timer on PPC40x solved

2006-09-25 Thread Niklaus Giger
Am Montag, 25. September 2006 22:59 schrieb Philippe Gerum: > On Mon, 2006-09-25 at 22:29 +0200, Niklaus Giger wrote: > > Am Montag, 25. September 2006 17:57 schrieb Philippe Gerum: > > > On Sun, 2006-09-24 at 23:07 +0200, Wolfgang Grandegger wrote: > > > > Niklaus Giger wrote: <..> > > Is the outp

[Xenomai-core] vxworks returns -1 for semGive

2006-09-25 Thread Niklaus Giger
Hi I modified satch.c (see attached patch) to get a testcase for a wrong behaviour of the vxWorks skin. A semGive returns -1 if it is not preceded by a errnoSet(0). Output is: -- /usr/xenomai/bin $ /bin/satch NO TASK WAITING Xenomai: Switching RootTask to secondary mode after exception #1025 fr

Re: [Xenomai-core] Problem with periodic timer on PPC40x solved

2006-09-25 Thread Philippe Gerum
On Mon, 2006-09-25 at 22:29 +0200, Niklaus Giger wrote: > Am Montag, 25. September 2006 17:57 schrieb Philippe Gerum: > > On Sun, 2006-09-24 at 23:07 +0200, Wolfgang Grandegger wrote: > > > Niklaus Giger wrote: > <..> > > Ok, we can go for the lazy fix here, since this code is poised to > > disappe

Re: [Xenomai-core] Problem with periodic timer on PPC40x solved

2006-09-25 Thread Niklaus Giger
Am Montag, 25. September 2006 17:57 schrieb Philippe Gerum: > On Sun, 2006-09-24 at 23:07 +0200, Wolfgang Grandegger wrote: > > Niklaus Giger wrote: <..> > Ok, we can go for the lazy fix here, since this code is poised to > disappear anyway. I've merged a variant of the above we already use for > t

Re: [Xenomai-core] Problem with periodic timer on PPC40x solved

2006-09-25 Thread Philippe Gerum
On Sun, 2006-09-24 at 23:07 +0200, Wolfgang Grandegger wrote: > Niklaus Giger wrote: > > static void rthal_set_local_cpu_timer(void) > > { > > +#ifndef CONFIG_40x > > long ticks; > > +#endif > > rthal_declare_cpuid; > > > > rthal_load_cpuid(); > > @@ -110,7 +112,7 @@ > > if

[Xenomai-core] Re: adeos-ipipe-2.6.18-ppc-1.4-00.patch, first version

2006-09-25 Thread Wolfgang Grandegger
Philippe Gerum wrote: On Sun, 2006-09-24 at 22:55 +0200, Wolfgang Grandegger wrote: Hi Philippe, attached you will find a first version of the PPC ADEOS-IPipe patch for Linux 2.6.18 (from kernel.org) for review. I have also included a commented log file with more information on the porting of