summaryrefslogtreecommitdiff
path: root/tools/arch/riscv/include/asm
AgeCommit message (Collapse)AuthorFilesLines
2024-02-26tools: riscv: Add header file vdso/processor.hHaibo Xu1-0/+32
Borrow the cpu_relax() definitions from kernel's arch/riscv/include/asm/vdso/processor.h to tools/ for riscv. Signed-off-by: Haibo Xu <haibo1.xu@intel.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Anup Patel <anup@brainfault.org>
2024-02-26tools: riscv: Add header file csr.hHaibo Xu1-0/+541
Borrow the csr definitions and operations from kernel's arch/riscv/include/asm/csr.h to tools/ for riscv. Signed-off-by: Haibo Xu <haibo1.xu@intel.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Anup Patel <anup@brainfault.org>