Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/um/sys-i386/sys_call_table.S
10817 views
1
#include <linux/linkage.h>
2
/* Steal i386 syscall table for our purposes, but with some slight changes.*/
3
4
#define sys_iopl sys_ni_syscall
5
#define sys_ioperm sys_ni_syscall
6
7
#define sys_vm86old sys_ni_syscall
8
#define sys_vm86 sys_ni_syscall
9
10
#define old_mmap sys_old_mmap
11
12
#define ptregs_fork sys_fork
13
#define ptregs_execve sys_execve
14
#define ptregs_iopl sys_iopl
15
#define ptregs_vm86old sys_vm86old
16
#define ptregs_sigreturn sys_sigreturn
17
#define ptregs_clone sys_clone
18
#define ptregs_vm86 sys_vm86
19
#define ptregs_rt_sigreturn sys_rt_sigreturn
20
#define ptregs_sigaltstack sys_sigaltstack
21
#define ptregs_vfork sys_vfork
22
23
.section .rodata,"a"
24
25
#include "../../x86/kernel/syscall_table_32.S"
26
27
ENTRY(syscall_table_size)
28
.long .-sys_call_table
29
30