<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;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">Since this being the end of the coding period of GSOC 2013, I'm submitting my report for the work done this summer. More detailed glance into the work done can be taken at my blog (<a href="http://www.vipulnayyar.com/" style="font-size: 10pt;">http://www.vipulnayyar.com/</a><span style="background-color: transparent;">) across different blog posts written over time during the GSOC timeline.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color:
 transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(102, 102, 102); font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 18px;">I've created a separate repository on </span><a href="https://github.com/vipulnayyar/gsoc2013_rtems/" style="text-decoration: none; color: rgb(136, 136, 136); font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 18px;">github</a> ( <a href="https://github.com/vipulnayyar/gsoc2013_rtems/" style="font-size: 10pt;">https://github.com/vipulnayyar/gsoc2013_rtems/</a> <span style="background-color: transparent;">)</span><span style="background-color: transparent; color: rgb(102, 102, 102); font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 18px;"> where all the code & work done by me
 can be found. I'll briefly take you through the work done & stuff left in the pipeline below :</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><br style="color: rgb(102, 102, 102); font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 18px;"><h3 style="margin: 0px; position: relative; color: rgb(102, 102, 102); font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif;"><u>Contributed Work</u></h3><div style="color: rgb(102, 102, 102); font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 18px;"><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Submitted patches to remove legacy code from RTEMS bsps which have been accepted & are currently a part of the official RTEMS repository. These patches were submitted for bsps : csb337,
 csb336, edb7312, gumstix, gba, rtl22xx, & pc386.</li></ul><br><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Since more than about 100 bsps are a part of RTEMS, so guided instructions & rules for continuing this work has been compiled & is present in my github repository & publicly available on a Google drive document.</li></ul><br><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Studied the PIC interrupt model based on the comments written in irq-generic.h & my own observations. Information about PIC Interrupt Model API  is added to the current RTEMS documentation.</li></ul><br><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">For bsps that do not use the generic interrupt framework , rules to initialize & use
 it are written and present in the code repository. These rules specify how bsp specific code & the generic code works together & handles Interrupt Service Routines before, during and after an interrupt has occurred.</li></ul><br><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Based on my observations from model bsp lpc24xx , rules were compiled based on an ongoing discussion in the community on how bsp support files are included & compiled. These rules specify which set of files are a must to be used by a bsp & in which directory they all must lie. These rules will in future help in maintaining a unified pattern for BSP file organization.</li></ul><br><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Since the above rules are very difficult to check manually for each bsp, so a bash script was written
 merging the functionality of check_submission from rtems-testing. This script is supposed to be a final test for any bsp developer before his code is accepted into RTEMS, so as to check whether that the bsp code submitted follows this unified pattern of file organization & formatting or not.</li></ul><div><br></div><h3 style="margin: 0px; position: relative;"><u>To be Done</u></h3><div><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Continue working with the RTEMS community to strengthen the unified way rules and include more checks in it as suggested.</li></ul><div><br></div></div><div><ul style="padding: 0px 2.5em; margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Increase code coverage for removing legacy support from bsps by converting them to PIC interrupt support model.</li></ul><div><br></div></div><div><ul style="padding: 0px 2.5em;
 margin: 0.5em 0px; line-height: 1.4;"><li style="padding: 0px; margin: 0px 0px 0.25em;">Submit regular patches so as to correct the warnings flagged by the new check_submission script in rtems-testing.</li></ul></div><div><br>I sincerely hope that my work will benefit the RTEMS community as a whole in the long run & avoid incurring any more <b>technical debt </b> so that someone else doesn't have to pay for it. I gladly look forward to working with RTEMS developers in future while continuing the work done in GSOC & maybe more !!</div></div></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><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;">Regards</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>