Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v4.6-rc7 46 lines 970 B view raw
1#ifndef _ASM_X86_VDSO_H 2#define _ASM_X86_VDSO_H 3 4#include <asm/page_types.h> 5#include <linux/linkage.h> 6#include <linux/init.h> 7 8#ifndef __ASSEMBLER__ 9 10#include <linux/mm_types.h> 11 12struct vdso_image { 13 void *data; 14 unsigned long size; /* Always a multiple of PAGE_SIZE */ 15 16 unsigned long alt, alt_len; 17 18 long sym_vvar_start; /* Negative offset to the vvar area */ 19 20 long sym_vvar_page; 21 long sym_hpet_page; 22 long sym_pvclock_page; 23 long sym_VDSO32_NOTE_MASK; 24 long sym___kernel_sigreturn; 25 long sym___kernel_rt_sigreturn; 26 long sym___kernel_vsyscall; 27 long sym_int80_landing_pad; 28}; 29 30#ifdef CONFIG_X86_64 31extern const struct vdso_image vdso_image_64; 32#endif 33 34#ifdef CONFIG_X86_X32 35extern const struct vdso_image vdso_image_x32; 36#endif 37 38#if defined CONFIG_X86_32 || defined CONFIG_COMPAT 39extern const struct vdso_image vdso_image_32; 40#endif 41 42extern void __init init_vdso_image(const struct vdso_image *image); 43 44#endif /* __ASSEMBLER__ */ 45 46#endif /* _ASM_X86_VDSO_H */