arch/parisc/include/asm/vdso.h

Source file repositories/reference/linux-study-clean/arch/parisc/include/asm/vdso.h

File Facts

System
Linux kernel
Corpus path
arch/parisc/include/asm/vdso.h
Extension
.h
Size
664 bytes
Lines
26
Domain
Architecture Layer
Bucket
arch/parisc
Inferred role
Architecture Layer: implementation source
Status
source 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 __PARISC_VDSO_H__
#define __PARISC_VDSO_H__

#ifndef __ASSEMBLER__

#ifdef CONFIG_64BIT
#include <generated/vdso64-offsets.h>
#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
#endif
#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT)
#include <generated/vdso32-offsets.h>
#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))
#else
#define VDSO32_SYMBOL(tsk, name) 0UL
#endif

#endif /* __ASSEMBLER__ */

/* Default link addresses for the vDSOs */
#define VDSO_LBASE	0

#define VDSO_VERSION_STRING	LINUX_6.11

#endif /* __PARISC_VDSO_H__ */

Annotation

Implementation Notes