• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _ASM_X86_64_VSYSCALL_H_
13 #define _ASM_X86_64_VSYSCALL_H_
14 
15 enum vsyscall_num {
16  __NR_vgettimeofday,
17  __NR_vtime,
18  __NR_vgetcpu,
19 };
20 
21 #define VSYSCALL_START (-10UL << 20)
22 #define VSYSCALL_SIZE 1024
23 #define VSYSCALL_END (-2UL << 20)
24 #define VSYSCALL_MAPPED_PAGES 1
25 #define VSYSCALL_ADDR(vsyscall_nr) (VSYSCALL_START+VSYSCALL_SIZE*(vsyscall_nr))
26 
27 #endif
28