Re: [PATCH 4/8] target/riscv: add helper to get CSR name

2025-02-23 Thread Yong-Xuan Wang
Hi Andrew, On Mon, Feb 17, 2025 at 10:01 PM Andrew Jones wrote: > > On Mon, Feb 17, 2025 at 04:17:24PM +0800, Yong-Xuan Wang wrote: > > Add a helper function to get CSR name from CSR number. > > > > Signed-off-by: Yong-Xuan Wang > > --- > > target/riscv/cpu.h | 6 +- > > 1 file changed, 5 i

Re: [PATCH 4/8] target/riscv: add helper to get CSR name

2025-02-17 Thread Andrew Jones
On Mon, Feb 17, 2025 at 04:17:24PM +0800, Yong-Xuan Wang wrote: > Add a helper function to get CSR name from CSR number. > > Signed-off-by: Yong-Xuan Wang > --- > target/riscv/cpu.h | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/target/riscv/cpu.h b/target/riscv/c

[PATCH 4/8] target/riscv: add helper to get CSR name

2025-02-17 Thread Yong-Xuan Wang
Add a helper function to get CSR name from CSR number. Signed-off-by: Yong-Xuan Wang --- target/riscv/cpu.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 616c3bdc1c24..133d1852ee1e 100644 --- a/target/riscv/cpu.h +++ b/targ