2008-10-23 12:26:29 +07:00
|
|
|
#ifndef _ASM_X86_PROTO_H
|
|
|
|
#define _ASM_X86_PROTO_H
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
#include <asm/ldt.h>
|
|
|
|
|
|
|
|
/* misc architecture specific prototypes */
|
|
|
|
|
2009-11-17 04:55:31 +07:00
|
|
|
void syscall_init(void);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2016-03-10 10:00:30 +07:00
|
|
|
#ifdef CONFIG_X86_64
|
2015-06-08 13:42:03 +07:00
|
|
|
void entry_SYSCALL_64(void);
|
2017-03-20 15:16:22 +07:00
|
|
|
long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2);
|
2016-03-10 10:00:30 +07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_X86_32
|
2015-06-08 13:42:03 +07:00
|
|
|
void entry_INT80_32(void);
|
2015-06-08 13:33:56 +07:00
|
|
|
void entry_SYSENTER_32(void);
|
2016-03-10 10:00:30 +07:00
|
|
|
void __begin_SYSENTER_singlestep_region(void);
|
|
|
|
void __end_SYSENTER_singlestep_region(void);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_IA32_EMULATION
|
2015-06-08 13:33:56 +07:00
|
|
|
void entry_SYSENTER_compat(void);
|
2016-03-10 10:00:30 +07:00
|
|
|
void __end_entry_SYSENTER_compat(void);
|
|
|
|
void entry_SYSCALL_compat(void);
|
|
|
|
void entry_INT80_compat(void);
|
|
|
|
#endif
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2009-11-17 04:55:31 +07:00
|
|
|
void x86_configure_nx(void);
|
|
|
|
void x86_report_nx(void);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
extern int reboot_force;
|
|
|
|
|
2017-03-20 15:16:23 +07:00
|
|
|
long do_arch_prctl_common(struct task_struct *task, int option,
|
|
|
|
unsigned long cpuid_enabled);
|
|
|
|
|
2008-10-23 12:26:29 +07:00
|
|
|
#endif /* _ASM_X86_PROTO_H */
|