arch/riscv/kernel/sys_hwprobe.c

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/kernel/sys_hwprobe.c
Extension
.c
Size
16448 bytes
Lines
613
Domain
Architecture Layer
Bucket
arch/riscv
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

SYSCALL_DEFINE5(riscv_hwprobe, struct riscv_hwprobe __user *, pairs,
		size_t, pair_count, size_t, cpusetsize, unsigned long __user *,
		cpus, unsigned int, flags)
{
	return do_riscv_hwprobe(pairs, pair_count, cpusetsize,
				cpus, flags);
}

Annotation

Implementation Notes