Skip to content
Unverified Commit 426d0e1a authored by Evan Green's avatar Evan Green Committed by Palmer Dabbelt
Browse files

riscv: Add Linux hwprobe syscall support



Add awareness and a thin wrapper function around a new Linux system call
that allows callers to get architecture and microarchitecture
information about the CPUs from the kernel. This can be used to
do things like dynamically choose a memcpy implementation.

Signed-off-by: default avatarEvan Green <evan@rivosinc.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 71648e80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment