commit | 26025bbfbba33a9425be1b89eccb4664ea4c17b6 | [log] [tgz] |
---|---|---|
author | James Hogan <james.hogan@imgtec.com> | Tue Oct 09 10:54:51 2012 +0100 |
committer | James Hogan <james.hogan@imgtec.com> | Sat Mar 02 20:09:49 2013 +0000 |
tree | f8a7f754525812c4d758b638d9bcade297af67da | |
parent | 5698c50d9da4ab2f57d98c64ea97675dcaf2a608 [diff] |
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>