Hello,
We are trying to implement the function enable_pipeline.

For the NIOS2 architecture in this fonction there are calls to the functions __ipipe_init_hrclock(), __ipipe_init_hrtimer(). So we checked those functions and we understand what they do. But there are still two questions :
- Where can we find the physical adresses of the clock (timer 64 bits) (named "na_hrclock") and of the timer (timer 32 bits) (named "na_hrtimer) ? We don't find the declaration.

- Where is setting up the input clock frequency of the two timers (timer 64 bits and timer 32 bits)?

For the AVR32, we have at least  two 16-bit timers, we are thinking about to do the same functions (__ipipe_init_hrclock(), __ipipe_init_hrtimer()). We think we can also use the "ioremap_nocache" fonction.

Regards

Adrien Chiron and Vincent Vanbesien