mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 15:44:13 +08:00
f4625ee0e4
We could use regs->sr 16-24 bits to detect syscall: VEC_TRAP0 and r11_sig is no necessary for current implementation. In this patch, we implement the in_syscall and forget_syscall which are inspired from arm & nds32, but csky pt_regs has no syscall_num element and we just set zero to regs->sr's vector-bits-field instead. For ret_from_fork, current task was forked from parent which is in syscall progress and its regs->sr has been already setted with VEC_TRAP0. See: arch/csky/kernel/process.c: copy_thread() Signed-off-by: Guo Ren <ren_guo@c-sky.com> |
||
---|---|---|
.. | ||
cacheflush.h | ||
ckmmu.h | ||
elf.h | ||
entry.h | ||
fpu.h | ||
page.h | ||
pgtable-bits.h | ||
reg_ops.h | ||
regdef.h | ||
string.h | ||
switch_context.h | ||
vdso.h |