完善sys_arch.c函数功能
Signed-off-by: liudonghua7914 <657226657@qq.com>