]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: System calls handling
authorLey Foon Tan <lftan@altera.com>
Thu, 6 Nov 2014 07:19:57 +0000 (15:19 +0800)
committerLey Foon Tan <lftan@altera.com>
Mon, 8 Dec 2014 04:55:58 +0000 (12:55 +0800)
commit68060b8a629a40e05be8a5375603691dcf98f67f
tree9c494ebb84afcfae63306c6d8fdcd56028cb80fc
parentf72608f4da2cf15dad517c653f1177ab2a913feb
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: Ley Foon Tan <lftan@altera.com>
arch/nios2/include/asm/syscall.h [new file with mode: 0644]
arch/nios2/include/asm/syscalls.h [new file with mode: 0644]
arch/nios2/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/nios2/kernel/sys_nios2.c [new file with mode: 0644]
arch/nios2/kernel/syscall_table.c [new file with mode: 0644]