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