Porting IO driver code back to 32-bit calling conventions
Merge branch 'iosys' of ssh://github/dargueta/CUSPOS into iosys for rebase to master