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/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to