| /**************************************************************************** |
| **************************************************************************** |
| *** |
| *** This header was automatically generated from a Linux kernel header |
| *** of the same name, to make information necessary for userspace to |
| *** call into the kernel available to libc. It contains only constants, |
| *** structures, and macros generated from the original header, and thus, |
| *** contains no copyrightable information. |
| *** |
| **************************************************************************** |
| ****************************************************************************/ |
| #ifndef _ASM_X86_64_VSYSCALL_H_ |
| #define _ASM_X86_64_VSYSCALL_H_ |
| |
| enum vsyscall_num { |
| __NR_vgettimeofday, |
| __NR_vtime, |
| __NR_vgetcpu, |
| }; |
| |
| #define VSYSCALL_START (-10UL << 20) |
| #define VSYSCALL_SIZE 1024 |
| #define VSYSCALL_END (-2UL << 20) |
| #define VSYSCALL_MAPPED_PAGES 1 |
| #define VSYSCALL_ADDR(vsyscall_nr) (VSYSCALL_START+VSYSCALL_SIZE*(vsyscall_nr)) |
| |
| #endif |