Re: [PATCH 2/4] target/riscv: Add CSR name in the CSR function table

2021-01-15 Thread Alistair Francis
On Fri, Jan 15, 2021 at 5:35 AM Alexander Richardson wrote: > > On Tue, 12 Jan 2021 at 05:02, Bin Meng wrote: > > > > From: Bin Meng > > > > In preparation to generate the CSR register list for GDB stub > > dynamically, let's add the CSR name in the CSR function table. > > > > Signed-off-by: Bin

Re: [PATCH 2/4] target/riscv: Add CSR name in the CSR function table

2021-01-15 Thread Alistair Francis
On Mon, Jan 11, 2021 at 9:05 PM Bin Meng wrote: > > From: Bin Meng > > In preparation to generate the CSR register list for GDB stub > dynamically, let's add the CSR name in the CSR function table. > > Signed-off-by: Bin Meng Reviewed-by: Alistair Francis Alistair > --- > > target/riscv/cpu

Re: [PATCH 2/4] target/riscv: Add CSR name in the CSR function table

2021-01-15 Thread Bin Meng
Hi Alex, On Fri, Jan 15, 2021 at 9:14 PM Alexander Richardson wrote: > > On Tue, 12 Jan 2021 at 05:02, Bin Meng wrote: > > > > From: Bin Meng > > > > In preparation to generate the CSR register list for GDB stub > > dynamically, let's add the CSR name in the CSR function table. > > > > Signed-o

Re: [PATCH 2/4] target/riscv: Add CSR name in the CSR function table

2021-01-15 Thread Alexander Richardson
On Tue, 12 Jan 2021 at 05:02, Bin Meng wrote: > > From: Bin Meng > > In preparation to generate the CSR register list for GDB stub > dynamically, let's add the CSR name in the CSR function table. > > Signed-off-by: Bin Meng > --- > > target/riscv/cpu.h | 1 + > target/riscv/csr.c | 332 > +++

[PATCH 2/4] target/riscv: Add CSR name in the CSR function table

2021-01-11 Thread Bin Meng
From: Bin Meng In preparation to generate the CSR register list for GDB stub dynamically, let's add the CSR name in the CSR function table. Signed-off-by: Bin Meng --- target/riscv/cpu.h | 1 + target/riscv/csr.c | 332 +++-- 2 files changed,