aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/metag/include/asm/syscall.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-03-02metag: System CallsJames Hogan1-0/+104
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>