tools: riscv: Add header file csr.h

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>
This commit is contained in:
Haibo Xu
2024-02-26 10:14:02 +05:30
committed by Anup Patel
parent b4b12469c5
commit a69459d579
File diff suppressed because it is too large Load Diff