On Tue, Jan 19, 2021 at 1:55 AM Richard Henderson
wrote:
>
> On 1/11/21 6:52 PM, Bin Meng wrote:
> > +extern riscv_csr_operations csr_ops[];
>
> You might as well use CSR_TABLE_SIZE here.
>
OK, I will send a patch for this. Thanks!
> Otherwise,
> Reviewed-by: Richard Henderson
Regards,
Bin
On 1/11/21 6:52 PM, Bin Meng wrote:
> +extern riscv_csr_operations csr_ops[];
You might as well use CSR_TABLE_SIZE here.
Otherwise,
Reviewed-by: Richard Henderson
r~
On Mon, Jan 11, 2021 at 8:53 PM Bin Meng wrote:
>
> From: Bin Meng
>
> In preparation to generate the CSR register list for GDB stub
> dynamically, change csr_ops[] to non-static so that it can be
> referenced externally.
>
> Signed-off-by: Bin Meng
Reviewed-by: Alistair Francis
Alistair
>
From: Bin Meng
In preparation to generate the CSR register list for GDB stub
dynamically, change csr_ops[] to non-static so that it can be
referenced externally.
Signed-off-by: Bin Meng
---
target/riscv/cpu.h | 8
target/riscv/csr.c | 10 +-
2 files changed, 9