blob: a7bee3b637eb40a8d7e221433a58e19ab3099839 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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
15enum 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