2005-05-01 23:58:55 +08:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
/* Steal i386 syscall table for our purposes, but with some slight changes.*/
|
|
|
|
|
|
|
|
#define sys_iopl sys_ni_syscall
|
|
|
|
#define sys_ioperm sys_ni_syscall
|
|
|
|
|
|
|
|
#define sys_vm86old sys_ni_syscall
|
|
|
|
#define sys_vm86 sys_ni_syscall
|
|
|
|
|
2010-03-11 07:21:15 +08:00
|
|
|
#define old_mmap sys_old_mmap
|
2005-05-01 23:58:55 +08:00
|
|
|
|
2009-04-03 07:56:51 +08:00
|
|
|
#define ptregs_fork sys_fork
|
|
|
|
#define ptregs_execve sys_execve
|
|
|
|
#define ptregs_iopl sys_iopl
|
|
|
|
#define ptregs_vm86old sys_vm86old
|
|
|
|
#define ptregs_sigreturn sys_sigreturn
|
|
|
|
#define ptregs_clone sys_clone
|
|
|
|
#define ptregs_vm86 sys_vm86
|
|
|
|
#define ptregs_rt_sigreturn sys_rt_sigreturn
|
|
|
|
#define ptregs_sigaltstack sys_sigaltstack
|
|
|
|
#define ptregs_vfork sys_vfork
|
|
|
|
|
2008-02-05 14:31:29 +08:00
|
|
|
.section .rodata,"a"
|
|
|
|
|
2007-10-11 17:17:01 +08:00
|
|
|
#include "../../x86/kernel/syscall_table_32.S"
|
2008-02-05 14:31:29 +08:00
|
|
|
|
|
|
|
ENTRY(syscall_table_size)
|
|
|
|
.long .-sys_call_table
|