Re: [Xenomai-core] Missing IRQ end function on PowerPC

2006-01-19 Thread Wolfgang Grandegger
Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: Therefore we need a dedicated function to re-enable interrupts in the ISR. We could name it *_end_irq, but maybe *_enable_isr_irq is more obvious. On non-PPC archs it would translate to *_irq_enable. I realized, that *_irq_enable

Re: [Xenomai-core] Initialization of a nucleus pod

2006-01-19 Thread Germain Olivier
Thank you for your response So rootcb isn't the scheduler task. I was thinking it was this task which was determining what thread to run, depending of its parameters (priority, periodicity, scheduling mode). I go back to the code to understand how it work ... Germain xnthread_init does part

Re: [Xenomai-core] Problems generating vxworks/koan in two step: cc and link

2006-01-19 Thread Gilles Chanteperdrix
Niklaus Giger wrote: ld -o koan -L/usr/xenomai/lib -luvm -lnucleus -lpthread -lvxworks -lnative -e __xeno_skin_init /home/hcu/project/bb/3_1_x/work/xeno/koan.o Now I get the following error output ld: warning: cannot find entry symbol __xeno_skin_init; defaulting to 12a0

Re: [Xenomai-core] Missing IRQ end function on PowerPC

2006-01-19 Thread Gilles Chanteperdrix
Wolfgang Grandegger wrote: Therefore we need a dedicated function to re-enable interrupts in the ISR. We could name it *_end_irq, but maybe *_enable_isr_irq is more obvious. On non-PPC archs it would translate to *_irq_enable. I realized, that *_irq_enable is used in various place/skins

Re: [Xenomai-core] Missing IRQ end function on PowerPC

2006-01-19 Thread Wolfgang Grandegger
Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: Therefore we need a dedicated function to re-enable interrupts in the ISR. We could name it *_end_irq, but maybe *_enable_isr_irq is more obvious. On non-PPC archs it would translate to *_irq_enable. I realized, that *_irq_enable

Re: [Xenomai-core] Initialization of a nucleus pod

2006-01-19 Thread Germain Olivier
Thank you for your response So rootcb isn't the scheduler task. I was thinking it was this task which was determining what thread to run, depending of its parameters (priority, periodicity, scheduling mode). I go back to the code to understand how it work ... Germain xnthread_init does part