Home Home > GIT Browse
summaryrefslogtreecommitdiff
blob: c6260dd6ebb9f3338eee3b7f7242fe419e096b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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

#define old_mmap old_mmap_i386

#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

.section .rodata,"a"

#include "../../x86/kernel/syscall_table_32.S"

ENTRY(syscall_table_size)
.long .-sys_call_table