0001
0002 #ifndef _ASM_X86_PROTO_H
0003 #define _ASM_X86_PROTO_H
0004
0005 #include <asm/ldt.h>
0006
0007 struct task_struct;
0008
0009
0010
0011 void syscall_init(void);
0012
0013 #ifdef CONFIG_X86_64
0014 void entry_SYSCALL_64(void);
0015 void entry_SYSCALL_64_safe_stack(void);
0016 void entry_SYSRETQ_unsafe_stack(void);
0017 void entry_SYSRETQ_end(void);
0018 long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2);
0019 #endif
0020
0021 #ifdef CONFIG_X86_32
0022 void entry_INT80_32(void);
0023 void entry_SYSENTER_32(void);
0024 void __begin_SYSENTER_singlestep_region(void);
0025 void __end_SYSENTER_singlestep_region(void);
0026 #endif
0027
0028 #ifdef CONFIG_IA32_EMULATION
0029 void entry_SYSENTER_compat(void);
0030 void __end_entry_SYSENTER_compat(void);
0031 void entry_SYSCALL_compat(void);
0032 void entry_SYSCALL_compat_safe_stack(void);
0033 void entry_SYSRETL_compat_unsafe_stack(void);
0034 void entry_SYSRETL_compat_end(void);
0035 void entry_INT80_compat(void);
0036 #ifdef CONFIG_XEN_PV
0037 void xen_entry_INT80_compat(void);
0038 #endif
0039 #endif
0040
0041 void x86_configure_nx(void);
0042
0043 extern int reboot_force;
0044
0045 long do_arch_prctl_common(int option, unsigned long arg2);
0046
0047 #endif