Skip to content

Commit

Permalink
Added missing text.
Browse files Browse the repository at this point in the history
Added text regarding CONTEXT bit in hstateen0.
  • Loading branch information
wmat committed Mar 7, 2024
1 parent 65cbd1c commit c98e6a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/smstateen.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ The JVT bit controls access to the JVT CSR provided by the Zcmt extension.
], config: {bits: 64, lanes: 4, hspace:1024}}
....

The C, FCSR, and the JVT bits control access to the same state as
controllled by the same bits in sstateen0 CSR.
The C bit controls access to any and all custom state. The FCSR and the JVT
bits control access to the same state as controlled by the same bits in the
sstateen0 CSR.

The SE0 bit in mstateen0 controls access to the hstateen0, hstateen0h,
and the sstateen0 CSRs.
Expand Down Expand Up @@ -324,6 +325,9 @@ Ssaia extension and is not controlled by either the CSRIND or the IMSIC
bits of hstateen0.
====

The CONTEXT bit in hstateen0 controls access to the scontext CSR
provided by the Sdtrig ISA extension.

=== Usage

After the writable bits of the machine-level `mstateen` CSRs are initialized to
Expand Down

0 comments on commit c98e6a8

Please sign in to comment.