Finish arch_system.c port to ARM.