From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <784.75506.qm@domain.hid> Date: Tue, 15 Dec 2009 14:42:33 +0000 (GMT) From: A C MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1256412553-1260888153=:75506" Subject: [Adeos-main] Porting Adeos-Ipipe on AVR32 (NGW 100), enable_pipeline. List-Id: General discussion about Adeos List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: adeos --0-1256412553-1260888153=:75506 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=0AWe are trying to implement the function enable_pipeline. =0A=0AFor= the NIOS2 architecture in this fonction there are calls to the functions _= _ipipe_init_hrclock(), __ipipe_init_hrtimer(). So we checked those function= s and we understand what they do. But there are still two questions :=0A- W= here 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.=0A=0A- Where is setting up the input clock frequen= cy of the two timers (timer 64 bits and timer 32 bits)?=0A=0AFor 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. =0A=0ARegards=0A=0AAdrien Chiron = and Vincent Vanbesien=0A=0A=0A=0A --0-1256412553-1260888153=:75506 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,
We are trying to implement the function enable_= pipeline.

For the NIOS2 architecture in this fonction there are cal= ls to the functions __ipipe_init_hrclock(), __ipipe_init_hrtimer(). So we c= hecked 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 bi= ts)?

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

Regards

Adrien Chiron and Vincent Vanbesien
=0A=0A

=0A=0A=0A=0A=0A --0-1256412553-1260888153=:75506--