From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <449944.37907.qm@domain.hid> Date: Thu, 7 Jan 2010 13:48:23 +0000 (GMT) From: A C MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-255680901-1262872103=:37907" Subject: [Adeos-main] __ipipe_grab_irq List-Id: General discussion about Adeos List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: adeos --0-255680901-1262872103=:37907 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=0Ain the function __ipipe_grab_irq for the NIOS2, there is the follo= wing block :=0A=0Aif (likely(irq =3D=3D __ipipe_hrtimer_irq)) {=0A _= _raw_get_cpu_var(__ipipe_tick_regs).estatus =3D regs->estatus;=0A __= raw_get_cpu_var(__ipipe_tick_regs).ea =3D regs->ea;=0A if (!__ipipe_= root_domain_p) {=0A __raw_get_cpu_var(__ipipe_tick_regs).estatus= &=3D ~NIOS2_STATUS_PIE_MSK); =0A }=0A }=0A=0AWe do not und= erstand why there is an unusual case for an interruption from the timer. We= understand each lines but not the global nature. Any help ?=0A=0ACheers=0A= Adrien Chiron & Vincent Vanbesien=0A=0A=0A --0-255680901-1262872103=:37907 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,
in the function __ipipe_grab_irq for the NIOS2,= there is the following block :

if (likely(irq =3D=3D __ipipe_hrtime= r_irq)) {
        __raw_get_cpu_var(__ipip= e_tick_regs).estatus =3D regs->estatus;
     &nbs= p;  __raw_get_cpu_var(__ipipe_tick_regs).ea =3D regs->ea;
 =        if (!__ipipe_root_domain_p) {
 &nbs= p;          __raw_get_cpu_var(__ipipe_ti= ck_regs).estatus &=3D ~NIOS2_STATUS_PIE_MSK);
    &n= bsp;         }
    }
We do not understand why there is an unusual case for an interruption from= the timer. We understand each lines but not the global nature. Any help ?

Cheers
Adrien Chiron & Vincent Vanbesien

=0A<= !-- cg5.c41.mail.ird.yahoo.com compressed Thu Jan 7 04:51:55 PST 2010 -->= =0A

=0A=0A=0A=0A=0A --0-255680901-1262872103=:37907--