[Xenomai-core] Problem with #define uint i

2006-01-06 Thread Wolfgang Grandegger
Hallo, when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I stumbeld over the following problem: In linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h there is defined: #define ulong i #define uint i This makes trouble when a driver uses the types uint or

Re: [Xenomai-core] Problem with #define uint i

2006-01-06 Thread Philippe Gerum
Wolfgang Grandegger wrote: Hallo, when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I stumbeld over the following problem: In linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h there is defined: #define ulong i #define uint i This makes trouble when a

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other skins as well? Or do you also prefer

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Jan Kiszka
Philippe Gerum wrote: Gilles Chanteperdrix wrote: Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other skins as

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Gilles Chanteperdrix wrote: Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Jan Kiszka
Heikki Lindholm wrote: Jan Kiszka kirjoitti: Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task happens to hit one of

[Xenomai-core] Re: [PATCH, RFC] nucleus:shared irq and possible ipipe problem

2006-01-06 Thread Dmitry Adamushko
On 05/01/06, Philippe Gerum [EMAIL PROTECTED] wrote: Dmitry Adamushko wrote: err... I have to orginize some issues next few days so I'll be out of my notebook. Then I'll finilize the ipipe-irq-related patch so to be ready for the .01 version. Meanwhile, I have finished merging the shared IRQ

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Heikki Lindholm
Jan Kiszka kirjoitti: Heikki Lindholm wrote: Jan Kiszka kirjoitti: Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task

Re: [Xenomai-core] heres a go at an adeos-ipipe-2.6.15-i386-1.1-01.patch

2006-01-06 Thread Kent Borg
Jim Cromie posted a patch attempt for 2.6.15 (yeah!), and the patch applied, but it doesn't compile for me: [...] LD init/built-in.o LD .tmp_vmlinux1 arch/i386/kernel/built-in.o: In function `__ipipe_sync_stage': : undefined reference to `ret_from_intr'

[Xenomai-core] Problem with #define uint i

2006-01-06 Thread Wolfgang Grandegger
Hallo, when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I stumbeld over the following problem: In linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h there is defined: #define ulong i #define uint i This makes trouble when a driver uses the types uint or

Re: [Xenomai-core] Re: [PATCH] latency tracer update

2006-01-06 Thread Jan Kiszka
Jan Kiszka wrote: ... Meanwhile I found a solution for the described unterminated trace (put an explicite trace_end at the end of __ipipe_unstall_iret_root), included the irq number in the begin/end report, and stumbled over some other remaining unterminated trace on a different machine. So,

[Xenomai-core] Re: [Adeos-main] Re: [PATCH] latency tracer update

2006-01-06 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Jan Kiszka wrote: Hi again, here comes the first update of the new latency tracer. arch/i386/kernel/entry.S | 27 +++ Is there any good reason to patch the callers of __ipipe_handle_irq instead of instrumenting the callee directly? To

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Gilles Chanteperdrix
Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other skins as well? Or do you also prefer that user include

Re: [Xenomai-core] Problem with #define uint i

2006-01-06 Thread Philippe Gerum
Wolfgang Grandegger wrote: Hallo, when trying to build RTnet with Xenomai and Linux 2.4.25 for PowerPC, I stumbeld over the following problem: In linuxppc_2_4_devel/include/asm-generic/xenomai/wrappers.h there is defined: #define ulong i #define uint i This makes trouble when a

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other skins as well? Or do you also prefer

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Jan Kiszka
Philippe Gerum wrote: Gilles Chanteperdrix wrote: Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other skins as

Re: [Xenomai-core] Re: Oops, I broke something

2006-01-06 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Gilles Chanteperdrix wrote: Philippe Gerum wrote: Jan Kiszka wrote: But this raised the question to me again if we really need the xenomai prefix for all the skin headers /from within xenomai/. Why not doing the same linking dance for the other

[Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Heikki Lindholm
Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task happens to hit one of the codepaths that save FPU state if MSR_FP is set, the wrong FPU state

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Jan Kiszka
Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task happens to hit one of the codepaths that save FPU state if MSR_FP is set,

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Heikki Lindholm
Jan Kiszka kirjoitti: Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task happens to hit one of the codepaths that save FPU

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Jan Kiszka
Heikki Lindholm wrote: Jan Kiszka kirjoitti: Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task happens to hit one of

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Jan Kiszka
Jan Kiszka wrote: Heikki Lindholm wrote: Jan Kiszka kirjoitti: Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task happens

Re: [Xenomai-core] heres a go at an adeos-ipipe-2.6.15-i386-1.1-01.patch

2006-01-06 Thread Kent Borg
Jim Cromie posted a patch attempt for 2.6.15 (yeah!), and the patch applied, but it doesn't compile for me: [...] LD init/built-in.o LD .tmp_vmlinux1 arch/i386/kernel/built-in.o: In function `__ipipe_sync_stage': : undefined reference to `ret_from_intr'

Re: [Xenomai-core] [PATCH] Fix ppc fpu support

2006-01-06 Thread Heikki Lindholm
Jan Kiszka kirjoitti: Heikki Lindholm wrote: Jan Kiszka kirjoitti: Heikki Lindholm wrote: Xenomai might preempt linux when linux has cleared a tasks MSR_FP, but not yet set last_task_used_math to NULL. As a result the tasks MSR_FP will get set, although it should be cleared. If the task