]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
metag: System Calls
authorJames Hogan <james.hogan@imgtec.com>
Tue, 9 Oct 2012 09:54:51 +0000 (10:54 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:09:49 +0000 (20:09 +0000)
commit26025bbfbba33a9425be1b89eccb4664ea4c17b6
treef8a7f754525812c4d758b638d9bcade297af67da
parent5698c50d9da4ab2f57d98c64ea97675dcaf2a608
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: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/mman.h [new file with mode: 0644]
arch/metag/include/asm/syscall.h [new file with mode: 0644]
arch/metag/include/asm/syscalls.h [new file with mode: 0644]
arch/metag/include/asm/unistd.h [new file with mode: 0644]
arch/metag/include/asm/user_gateway.h [new file with mode: 0644]
arch/metag/include/uapi/asm/unistd.h [new file with mode: 0644]
arch/metag/kernel/sys_metag.c [new file with mode: 0644]
arch/metag/kernel/user_gateway.S [new file with mode: 0644]