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