Finish ARM porting