[machdep_calls] IRQ
Michael Ellerman
michael at ellerman.id.au
Fri Aug 22 15:20:45 EST 2008
On Thu, 2008-08-21 at 10:23 +0200, Sébastien Chrétien wrote:
> Exactly, I mean ppc_md.init_IRQ().
> Ok. What have I to setup in this function ? I set the mask and other
> registers. Is it right ? How do I chose the mask ?
It totally depends on your platform, I really can't tell you. You can
look at similar platform code if there is some, otherwise the reference
manual for your hardware or similar should have what you need.
> At the end of this funtion, IRQ are disable. Is that right ? So who
> does enable IRQs ?
Yes, irqs get enabled a bit later in start_kernel().
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080822/aab1af8f/attachment.pgp>
More information about the Linuxppc-dev
mailing list