senvcfg
Supervisor Environment Configuration
Contains fields that control certain characteristics of the U-mode execution environment.
Attributes
Defining Extension |
allOf: * S, version >=1.12
|
|---|---|
CSR Address |
0x10a |
Length |
64-bit |
Privilege Mode |
S |
Field Summary
| Name | Location | Type | Reset Value |
|---|---|---|---|
7 |
RW |
UNDEFINED_LEGAL |
|
6 |
RW |
UNDEFINED_LEGAL |
|
5:4 |
RW-R |
UNDEFINED_LEGAL |
|
0 |
RW |
0 |
Software write
This CSR may store a value that is different from what software attempts to write.
When a software write occurs (e.g., through csrrw), the following determines the written value:
CBZE = csr_value.CBZE
CBCFE = csr_value.CBCFE
CBIE = if (csr_value.CBIE == 0 || csr_value.CBIE == 1 || csr_value.CBIE == 3) {
return csr_value.CBIE;
} else {
return UNDEFINED_LEGAL_DETERMINISTIC;
}
FIOM = csr_value.FIOM