arch/x86/include/uapi/asm/vsyscall.h

Source file repositories/reference/linux-study-clean/arch/x86/include/uapi/asm/vsyscall.h

File Facts

System
Linux kernel
Corpus path
arch/x86/include/uapi/asm/vsyscall.h
Extension
.h
Size
278 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/x86
Inferred role
Architecture Layer: syscall or user/kernel boundary
Status
core implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _UAPI_ASM_X86_VSYSCALL_H
#define _UAPI_ASM_X86_VSYSCALL_H

enum vsyscall_num {
	__NR_vgettimeofday,
	__NR_vtime,
	__NR_vgetcpu,
};

#define VSYSCALL_ADDR (-10UL << 20)

#endif /* _UAPI_ASM_X86_VSYSCALL_H */

Annotation

Implementation Notes