linux/arch/csky/abiv2/inc/abi
Guo Ren f4625ee0e4 csky: Use in_syscall & forget_syscall instead of r11_sig
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>
2019-04-22 13:44:57 +08:00
..
cacheflush.h csky: Cache and TLB routines 2018-10-25 23:36:19 +08:00
ckmmu.h csky: MMU and page table management 2018-10-25 23:36:19 +08:00
elf.h csky: ELF and module probe 2018-10-26 00:54:23 +08:00
entry.h csky: Update syscall_trace_enter/exit implementation 2019-04-22 13:44:57 +08:00
fpu.h csky: Process management and Signal 2018-10-26 00:54:13 +08:00
page.h csky: MMU and page table management 2018-10-25 23:36:19 +08:00
pgtable-bits.h csky: fixup abiv2 mmap(... O_SYNC) failed. 2018-12-31 10:56:45 +08:00
reg_ops.h csky: Misc headers 2018-10-26 00:54:26 +08:00
regdef.h csky: Use in_syscall & forget_syscall instead of r11_sig 2019-04-22 13:44:57 +08:00
string.h csky: Library functions 2018-10-26 00:54:24 +08:00
switch_context.h csky: fixup save hi,lo,dspcr regs in switch_stack. 2018-12-31 22:57:27 +08:00
vdso.h csky: VDSO and rt_sigreturn 2018-10-26 00:54:22 +08:00