~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/include/asm/vdso.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef _ASM_X86_VDSO_H
  3 #define _ASM_X86_VDSO_H
  4 
  5 #include <asm/page_types.h>
  6 #include <linux/linkage.h>
  7 #include <linux/init.h>
  8 
  9 #ifndef __ASSEMBLER__
 10 
 11 #include <linux/mm_types.h>
 12 
 13 struct vdso_image {
 14         void *data;
 15         unsigned long size;   /* Always a multiple of PAGE_SIZE */
 16 
 17         unsigned long alt, alt_len;
 18         unsigned long extable_base, extable_len;
 19         const void *extable;
 20 
 21         long sym_vvar_start;  /* Negative offset to the vvar area */
 22 
 23         long sym_vvar_page;
 24         long sym_pvclock_page;
 25         long sym_hvclock_page;
 26         long sym_timens_page;
 27         long sym_VDSO32_NOTE_MASK;
 28         long sym___kernel_sigreturn;
 29         long sym___kernel_rt_sigreturn;
 30         long sym___kernel_vsyscall;
 31         long sym_int80_landing_pad;
 32         long sym_vdso32_sigreturn_landing_pad;
 33         long sym_vdso32_rt_sigreturn_landing_pad;
 34 };
 35 
 36 #ifdef CONFIG_X86_64
 37 extern const struct vdso_image vdso_image_64;
 38 #endif
 39 
 40 #ifdef CONFIG_X86_X32_ABI
 41 extern const struct vdso_image vdso_image_x32;
 42 #endif
 43 
 44 #if defined CONFIG_X86_32 || defined CONFIG_COMPAT
 45 extern const struct vdso_image vdso_image_32;
 46 #endif
 47 
 48 extern int __init init_vdso_image(const struct vdso_image *image);
 49 
 50 extern int map_vdso_once(const struct vdso_image *image, unsigned long addr);
 51 
 52 extern bool fixup_vdso_exception(struct pt_regs *regs, int trapnr,
 53                                  unsigned long error_code,
 54                                  unsigned long fault_addr);
 55 #endif /* __ASSEMBLER__ */
 56 
 57 #endif /* _ASM_X86_VDSO_H */
 58 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php