Re: [PATCH v3 2/3] target/riscv: Add stimecmp support

2022-05-11 Thread Anup Patel
On Tue, May 10, 2022 at 3:03 AM Atish Patra wrote: > > stimecmp allows the supervisor mode to update stimecmp CSR directly > to program the next timer interrupt. This CSR is part of the Sstc > extension which was ratified recently. > > Signed-off-by: Atish Patra > --- > target/riscv/cpu.c

[PATCH v3 2/3] target/riscv: Add stimecmp support

2022-05-09 Thread Atish Patra
stimecmp allows the supervisor mode to update stimecmp CSR directly to program the next timer interrupt. This CSR is part of the Sstc extension which was ratified recently. Signed-off-by: Atish Patra --- target/riscv/cpu.c | 8 target/riscv/cpu.h | 7 +++ target/riscv/cpu_