metag: System Calls
Add metag system call and gateway page interfaces. The metag
architecture port uses the generic system call numbers from
asm-generic/unistd.h, as well as a user gateway page mapped at
0x6ffff000 which contains fast atomic primitives (depending on SMP) and
a fast method of accessing TLS data.
System calls use the SWITCH instruction with the immediate 0x440001 to
signal a system call.
Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
Showing
arch/metag/include/asm/mman.h
0 → 100644
arch/metag/include/asm/syscall.h
0 → 100644
arch/metag/include/asm/syscalls.h
0 → 100644
arch/metag/include/asm/unistd.h
0 → 100644
arch/metag/kernel/sys_metag.c
0 → 100644
arch/metag/kernel/user_gateway.S
0 → 100644
想要评论请 注册 或 登录