]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/kernel/arch-x86/asm/vsyscall.h
auto import from //depot/cupcake/@135843
[android-sdk/platform-bionic.git] / libc / kernel / arch-x86 / asm / vsyscall.h
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_
15 enum vsyscall_num {
16  __NR_vgettimeofday,
17  __NR_vtime,
18  __NR_vgetcpu,
19 };
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))
27 #endif