arch/riscv/include/asm/vdso/arch_data.h

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/vdso/arch_data.h
Extension
.h
Size
638 bytes
Lines
24
Domain
Architecture Layer
Bucket
arch/riscv
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

struct vdso_arch_data {
	/* Stash static answers to the hwprobe queries when all CPUs are selected. */
	__u64 all_cpu_hwprobe_values[RISCV_HWPROBE_MAX_KEY + 1];

	/* Boolean indicating all CPUs have the same static hwprobe values. */
	__u8 homogeneous_cpus;

	/*
	 * A gate to check and see if the hwprobe data is actually ready, as
	 * probing is deferred to avoid boot slowdowns.
	 */
	__u8 ready;
};

#endif /* __RISCV_ASM_VDSO_ARCH_DATA_H */

Annotation

Implementation Notes