diff options
| author | Frank Chang <frank.chang@sifive.com> | 2025-01-06 13:43:36 +0800 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2025-01-19 09:44:35 +1000 |
| commit | 0266fd8b56a4de8180cda9b2064ed2e58d17b3d9 (patch) | |
| tree | 8028b8491cb0617b6bb095862be744456ac91c3d /rust/qemu-api/src | |
| parent | f9653d4eb2ccaf6fe140e38fb1027a9e829d4062 (diff) | |
| download | focaccia-qemu-0266fd8b56a4de8180cda9b2064ed2e58d17b3d9.tar.gz focaccia-qemu-0266fd8b56a4de8180cda9b2064ed2e58d17b3d9.zip | |
target/riscv: Add Zicfilp support for Smrnmi
Zicfilp extension introduces the MNPELP (bit 9) in mnstatus. The MNPELP field holds the previous ELP. When a RNMI trap is delivered, the MNPELP is set to ELP and ELP set to NO_LP_EXPECTED. Upon a mnret, if the mnstatus.MNPP holds the value y, then ELP is set to the value of MNPELP if yLPE is 1; otherwise, it is set to NO_LP_EXPECTED. Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20250106054336.1878291-7-frank.chang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions