Changes made to gpio.s to correct formatting and add C++ signatures.