Ok thank you, I will begin to implement the irq functions<br><br><div><span class="gmail_quote">2008/8/22, Michael Ellerman &lt;<a href="mailto:michael@ellerman.id.au">michael@ellerman.id.au</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 2008-08-21 at 10:23 +0200, Sébastien Chrétien wrote:<br> &gt; Exactly, I mean ppc_md.init_IRQ().<br> <br> &gt; Ok. What have I to setup in this function ? I set the mask and other<br> &gt; registers. Is it right ?&nbsp;&nbsp;How do I chose the mask ?<br>
 <br> <br>It totally depends on your platform, I really can&#39;t tell you. You can<br> look at similar platform code if there is some, otherwise the reference<br> manual for your hardware or similar should have what you need.<br>
 <br><br> &gt; At the end of this funtion, IRQ are disable. Is that right ? So who<br> &gt; does enable IRQs ?<br> <br> <br>Yes, irqs get enabled a bit later in start_kernel().<br> <br><br> cheers<br> <br> --<br> Michael Ellerman<br>
 OzLabs, IBM Australia Development Lab<br> <br> wwweb: <a href="http://michael.ellerman.id.au">http://michael.ellerman.id.au</a><br> phone: +61 2 6212 1183 (tie line 70 21183)<br> <br> We do not inherit the earth from our ancestors,<br>
 we borrow it from our children. - S.M.A.R.T Person<br> <br></blockquote></div><br>