From: Zhu, Yaozong (zyz@chinadigipro.com)
Date: Sun Jan 21 2001 - 05:27:51 EST
Hi all, It seems that start_kernel(init/main.c) runs in SVC mode. And in start_kernel, kernel_thread(init, NULL, 0) is called which does two swi's . My humble question is , when doing system calls from SVC mode, vector_swi(arch/armnommu/kernel/entry-armv.S) saves and restores USER mode registers, and _ret_from_sys_call does restore sp_SVC and spsr_SVC, but lr_SVC is lost, isn't this a problem, or I am wrong? This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:27 EDT