Re: [PATCH 1/2] target/riscv: Add scontext CSR handling

2025-02-28 Thread Daniel Henrique Barboza
On 2/26/25 11:39 AM, Florian Lugou wrote: scontext size is 16 bits on RV32 and 32 bits on RV64, as recommended by version 1.0 2025-02-21 of the debug specification. When the Smstateen extension is implemented, accessibility to the scontext CSR is controlled by bit 57 of the [mh]stateen0 CSRs.

[PATCH 1/2] target/riscv: Add scontext CSR handling

2025-02-26 Thread Florian Lugou
scontext size is 16 bits on RV32 and 32 bits on RV64, as recommended by version 1.0 2025-02-21 of the debug specification. When the Smstateen extension is implemented, accessibility to the scontext CSR is controlled by bit 57 of the [mh]stateen0 CSRs. Signed-off-by: Florian Lugou --- target/ris