Philippe Gerum wrote:
> (...) What you do care for is how you could get:
> 
> - a clock event source for the real-time domain
> - a high precision monotonic clock to get precise timestamps
> 
> And you probably want to use what your board provides to this end, e.g.
> using a freerunning timer to emulate the monotonic clock. It's possible
> to use 16bit timers for that (some ARM platforms do), but that is
> uselessly painful if you have better hw at hand.

Actually the ARM patch contains a few implementations of monotonic clock
emulations and clock event source based on all sort of kinds of hardware
counters. So, you may get some inspiration reading it. The usual scheme
is to use whatever Linux uses (except for AT91). We even try to document
this work, though you should take the advices with a grain of salt,
since they are intended to people writing support code for ARM, so, they
suppose that the whole generic I-pipe ARM support exists around.

http://www.xenomai.org/index.php/I-pipe:ArmPorting

-- 
                                          Gilles


_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to