Implemented most of ARM11 specific code for context switcing