arch/riscv/kernel/vdso/sys_hwprobe.S

Source file repositories/reference/linux-study-clean/arch/riscv/kernel/vdso/sys_hwprobe.S

File Facts

System
Linux kernel
Corpus path
arch/riscv/kernel/vdso/sys_hwprobe.S
Extension
.S
Size
326 bytes
Lines
20
Domain
Architecture Layer
Bucket
arch/riscv
Inferred role
Architecture Layer: arch/riscv
Status
atlas-only

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

#include <linux/linkage.h>
#include <asm/unistd.h>
#include <asm/assembler.h>

.text
SYM_FUNC_START(riscv_hwprobe)
	.cfi_startproc
	vdso_lpad
	li a7, __NR_riscv_hwprobe
	ecall
	ret

	.cfi_endproc
SYM_FUNC_END(riscv_hwprobe)

emit_riscv_feature_1_and

Annotation

Implementation Notes