<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hello,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>As per my proposal, one of the task is to generalize the PIC interrupt support in sparc to support any other simple vectored architecture. I think I get the hang of how </span><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">SPARC wraps the shared PIC IRQ code </span><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">on top of t</span><span style="color:
 rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">he Simple IRQ Model. I had some questions & thoughts, that need your guidance.</span></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;"><br></span></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">1)  I think there is no need of bsp specific bsp_dispatch_irq() in sparc & can be replaced with the inline bsp_interrupt_handler_dispatch(), which is written in
 irq-generic.h</span></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;"><br></span></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">2) From what I saw, the set_vector() is mainly used to install a vector & rtems_interrupt_catch() once in the interrupt initialization function. For ex: I'll be working on m68k bsp now. So from what I saw, most of the files use rtems_interrupt_catch() to install an ISR. Following the trend in sparc, I should
 change </span>rtems_interrupt_catch() in all files to set_vector() right ?</div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;">Any other crucial points that I should keep in mind ?</div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><span style="font-family: arial, helvetica, clean, sans-serif; background-color: transparent; color: rgb(0, 0, 0); font-size:
 13px;">Regards</span><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;line-height:1.22;">Vipul Nayyar </span></div><div style="color: rgb(0, 0, 0); font-size: 12.727272033691406px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><br></div></div></body></html>