senvcfg
riscv_unified_db)RV32 / RV64 (Ratified & Standard Extensions)
main
SS, USummary
Contains fields that control certain characteristics of the U-mode execution environment.
Syntax / Encoding
CSR 0x10a (S-mode, RW)
Bitfields (7)
| Bits | Field | Description |
|---|---|---|
8 | UKTE | If the Svukte extension is implemented, the UKTE field affects the behavior of instruction fetches and explicit memory accesses. When UKTE=0, instruction fetches and explicit memory accesses proceed as though the Svukte extension were not implemented. When UKTE=1, instruction fetches and explicit memory accesses with e |
7 | CBZE | *Cache Block Zero instruction Enable* Bit is read-only 0 when menvcfg.CBZE is clear. Enables the execution of the cache block zero instruction, cbo.zero, in U-mode<% if ext?(:H) %> and (in conjunction with henvcfg.CBZE) VU-mode<% end %>. * 0: The instruction raises an illegal instruction<% if ext?(:H) %> or virtua |
6 | CBCFE | *Cache Block Clean and Flush instruction Enable* Enables the execution of the cache block clean instruction, cbo.clean, and the cache block flush instruction, cbo.flush, <% if ext?(:S) %> in S-mode <% elsif ext?(:U) %> in U-mode <% end %>. * 0: The instruction raises an illegal instruction <% if ext?(:H) %>or virtu |
5:4 | CBIE | *Cache Block Invalidate instruction Enable* The legal values of this field do not depend on menvcfg.CBIE. When the reserved value 10 is written, it is ignored and the field remains unchanged. Execution of cbo.inval in U-mode is enabled only if it is also enabled in S-mode by menvcfg.CBIE. If menvcfg.CBIE is 01, an en |
3 | SSE | *Shadow Stack Enable* When the SSE field is set to 1, the Zicfiss extension is activated in VU/U-mode. When the SSE field is 0, the Zicfiss extension remains inactive in VU/U-mode, and the following rules apply: - 32-bit Zicfiss instructions will revert to their behavior as defined by Zimop. - 16-bit Zicfiss ins |
2 | LPE | *Landing Pad Enable* When the LPE field is set to 1, the Zicfilp extension is enabled in VU/U-mode. When the LPE field is 0, the Zicfilp extension is not enabled in VU/U-mode and the following rules apply to VU/U-mode: * The hart does not update the ELP state; it remains as NO_LP_EXPECTED. * The LPAD instruction |
0 | FIOM | *Fence of I/O implies Memory* When either senvcfg.FIOM or menvcfg.FIOM is set, FENCE instructions ordering I/O regions also implicitly order memory regions when executed in U-mode as follows: [separator="!",%autowidth,float="center",align="center",cols="^,<",options="header"] !Instruction bit !Meaning when set !PI + |