1*af170c50SDavid Howells #ifndef _UAPI_ASM_X86_VSYSCALL_H 2*af170c50SDavid Howells #define _UAPI_ASM_X86_VSYSCALL_H 3*af170c50SDavid Howells 4*af170c50SDavid Howells enum vsyscall_num { 5*af170c50SDavid Howells __NR_vgettimeofday, 6*af170c50SDavid Howells __NR_vtime, 7*af170c50SDavid Howells __NR_vgetcpu, 8*af170c50SDavid Howells }; 9*af170c50SDavid Howells 10*af170c50SDavid Howells #define VSYSCALL_START (-10UL << 20) 11*af170c50SDavid Howells #define VSYSCALL_SIZE 1024 12*af170c50SDavid Howells #define VSYSCALL_END (-2UL << 20) 13*af170c50SDavid Howells #define VSYSCALL_MAPPED_PAGES 1 14*af170c50SDavid Howells #define VSYSCALL_ADDR(vsyscall_nr) (VSYSCALL_START+VSYSCALL_SIZE*(vsyscall_nr)) 15*af170c50SDavid Howells 16*af170c50SDavid Howells 17*af170c50SDavid Howells #endif /* _UAPI_ASM_X86_VSYSCALL_H */ 18