nios2: System calls handling
This patch adds support for system calls from userspaces. It uses the
asm-generic/unistd.h definitions with architecture spcific syscall.
The sys_call_table is just an array defined in a C file and it contains
pointers to the syscall functions.
Signed-off-by: NLey Foon Tan <lftan@altera.com>
Showing
arch/nios2/include/asm/syscall.h
0 → 100644
arch/nios2/include/asm/syscalls.h
0 → 100644
arch/nios2/kernel/sys_nios2.c
0 → 100644
arch/nios2/kernel/syscall_table.c
0 → 100644
想要评论请 注册 或 登录