1 #ifndef _ASM_X86_VDSO_H
2 #define _ASM_X86_VDSO_H
4 #include <asm/page_types.h>
5 #include <linux/linkage.h>
6 #include <linux/init.h>
10 #include <linux/mm_types.h>
14 unsigned long size; /* Always a multiple of PAGE_SIZE */
16 /* text_mapping.pages is big enough for data/size page pointers */
17 struct vm_special_mapping text_mapping;
19 unsigned long alt, alt_len;
21 unsigned long sym_end_mapping; /* Total size of the mapping */
23 unsigned long sym_vvar_page;
24 unsigned long sym_hpet_page;
25 unsigned long sym_VDSO32_NOTE_MASK;
26 unsigned long sym___kernel_sigreturn;
27 unsigned long sym___kernel_rt_sigreturn;
28 unsigned long sym___kernel_vsyscall;
29 unsigned long sym_VDSO32_SYSENTER_RETURN;
33 extern const struct vdso_image vdso_image_64;
37 extern const struct vdso_image vdso_image_x32;
40 #if defined CONFIG_X86_32 || defined CONFIG_COMPAT
41 extern const struct vdso_image vdso_image_32_int80;
43 extern const struct vdso_image vdso_image_32_syscall;
45 extern const struct vdso_image vdso_image_32_sysenter;
47 extern const struct vdso_image *selected_vdso32;
50 extern void __init init_vdso_image(const struct vdso_image *image);
52 #endif /* __ASSEMBLER__ */
54 #endif /* _ASM_X86_VDSO_H */