Marvell MV64360 interrupt question
Brian Waite
bwaite at irobot.com
Mon Sep 12 22:56:23 EST 2005
On Friday 09 September 2005 3:09 pm, Walter L. Wimer III wrote:
> Thinking about this some more, I think the cascade mechanism I suggested
> earlier is backwards. Architecturally, I think it makes more sense to
> define a platform-specific function like boardXYZ_get_irq() in
> boardXYZ_setup.c that knows all of the idiosyncrasies of the board and
> calls whatever standard PIC libraries it needs in order to do the right
> thing. Then we set ppc_md.get_irq = boardXYZ_get_irq;
>
> I looked around, and lo and behold, the Radstone PPC7D already "stole"
> my idea. :-) :-)
>
>
Yes, the syslib case in the general case. You can easily override the
get_irq() routine for your own platform to match a priority scheme you
desire.
Thanks
Brian
More information about the Linuxppc-embedded
mailing list