Re: [Xenomai-core] PORTING XENOMAI on ep9315 proccessor
On Jan 17, 2008 3:04 PM, Gilles Chanteperdrix [EMAIL PROTECTED] wrote: On Jan 17, 2008 2:58 PM, axel axel [EMAIL PROTECTED] wrote: HI another question four you. i'm a newbie of Xenomai and Ipipe, but i had to porting Xenomai on ARM9 Cirrus ep9315. And so i ask me and you: where and when is TSC( time stam counter ) used in Xenomai ? I try to know reading the code but i don't understand good. I explain it better. Is it foundamental the implementation of TSC emulation ( the hardware doesn't have TSC, has only a free counter for debug ) for the main functionality of Xenomai OR need only for the functions relative to exactly differences of time () ? Implementation of a TSC is mandatory, but the good news is that if your hardware has a free running counter, the implementation is pretty straightforward, and you have an example on Xenomai wiki: http://www.xenomai.org/index.php/I-pipe:ArmPorting#Free-running_counters From what I read in arch/arm/mach-ep93xx/core.c, __raw_readl(EP93XX_TIMER4_VALUE_LOW) is a free-running counter that can be used for the I-pipe TSC emulation. -- Gilles Chanteperdrix ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
Re: [Xenomai-core] PORTING XENOMAI on ep9315 proccessor
On Jan 17, 2008 2:58 PM, axel axel [EMAIL PROTECTED] wrote: HI another question four you. i'm a newbie of Xenomai and Ipipe, but i had to porting Xenomai on ARM9 Cirrus ep9315. And so i ask me and you: where and when is TSC( time stam counter ) used in Xenomai ? I try to know reading the code but i don't understand good. I explain it better. Is it foundamental the implementation of TSC emulation ( the hardware doesn't have TSC, has only a free counter for debug ) for the main functionality of Xenomai OR need only for the functions relative to exactly differences of time () ? Implementation of a TSC is mandatory, but the good news is that if your hardware has a free running counter, the implementation is pretty straightforward, and you have an example on Xenomai wiki: http://www.xenomai.org/index.php/I-pipe:ArmPorting#Free-running_counters -- Gilles Chanteperdrix ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
[Xenomai-core] PORTING XENOMAI on ep9315 proccessor
HI another question four you. i'm a newbie of Xenomai and Ipipe, but i had to porting Xenomai on ARM9 Cirrus ep9315. And so i ask me and you: where and when is TSC( time stam counter ) used in Xenomai ? I try to know reading the code but i don't understand good. I explain it better. Is it foundamental the implementation of TSC emulation ( the hardware doesn't have TSC, has only a free counter for debug ) for the main functionality of Xenomai OR need only for the functions relative to exactly differences of time () ? Thanks for All Roberto Bielli ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core