
14 Jul
2008
14 Jul
'08
3:12 p.m.
Hello All:
I am preparing a patch for ppc.c that divides interrupts.c in interrupts.c and ioc.c. My idea was to add a new file called xilinx_irq.c and place there the xilinx interrupt handling.
I would like that microblaze and xilinx_irq.c use the same code: but I see this quite complicated. I can create a file with the xilinx irq logic (init, enable, disable and ack) but I cannot see where shall I place it if there is no drivers/interrupt/ directory
One more question: interrupts/microblace access the pic registers like: address=&PIC; pic=value; If I create a new file, I suppose that I have to move it to out_be32() and in_be32(). Am I right?
Best regards
--
Ricardo Ribalda
http://www.eps.uam.es/~rribalda/