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