Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
make non-normative blocks unbreakable
Browse files Browse the repository at this point in the history
  • Loading branch information
bcstrongx committed Aug 15, 2023
1 parent fc1ec91 commit c8e9b55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions body.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
|===

[NOTE]
[%unbreakable]
====
_The mireg* CSR numbers are not consecutive because miph is CSR number
0x354._
Expand Down Expand Up @@ -42,6 +43,7 @@ is changed, the most-significant bit of miselect moves to the new
position, retaining its value from before.

[NOTE]
[%unbreakable]
====
_An implementation is not required to support any custom values for
miselect._
Expand All @@ -52,6 +54,7 @@ value that is reserved, or is standard but not implemented, is
UNSPECIFIED.

[NOTE]
[%unbreakable]
====
_It is expected that implementations will typically raise an illegal
instruction exception for such accesses, so that, for example, they can
Expand All @@ -66,6 +69,7 @@ combination of miselect and mireg__i__, is defined by the extension to
which the miselect value is allocated.

[NOTE]
[%unbreakable]
====
__Ordinarily, each mireg__i _will access register state, access
read-only 0 state, or raise an illegal instruction exception._
Expand Down Expand Up @@ -98,6 +102,7 @@ minimum range. Only if such an extension is implemented will siselect be
required to support larger values.

[NOTE]
[%unbreakable]
====
_Requiring a range of 0–0xFFF for siselect, even though most or
all of the space may be reserved or inaccessible, permits M-mode to
Expand All @@ -118,12 +123,14 @@ holds a value that is reserved, or is standard but not implemented at
supervisor level, is UNSPECIFIED.

[NOTE]
[%unbreakable]
====
_It is recommended that implementations raise an illegal instruction
exception for such accesses, to facilitate possible emulation (by
M-mode) of these accesses._
====
[NOTE]
[%unbreakable]
====
_An extension is considered not to be implemented at supervisor level if
machine level has disabled the extension for S-mode, such as by the
Expand All @@ -137,6 +144,7 @@ sireg__i__, is defined by the extension to which the siselect value is
allocated.

[NOTE]
[%unbreakable]
====
__Ordinarily, each sireg__i _will access register state, access
read-only 0 state, or, unless executing in a virtual machine (covered in
Expand Down Expand Up @@ -181,6 +189,7 @@ minimum range. Only if such an extension is implemented will vsiselect
be required to support larger values.

[NOTE]
[%unbreakable]
====
_Requiring a range of 0–0xFFF for vsiselect, even though most or all of
the space may be reserved or inaccessible, permits a hypervisor to
Expand Down Expand Up @@ -219,6 +228,7 @@ is reserved, or is standard but not implemented at HS level, is
UNSPECIFIED.

[NOTE]
[%unbreakable]
====
_It is recommended that implementations raise an illegal instruction
exception for such accesses, to facilitate possible emulation (by M-mode
Expand All @@ -233,6 +243,7 @@ vsireg__i__, is defined by the extension to which the vsiselect value is
allocated.

[NOTE]
[%unbreakable]
====
__Ordinarily, each vsireg__i _will access register state, access
read-only 0 state, or raise an exception (either an illegal instruction
Expand Down
1 change: 1 addition & 0 deletions intro.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ requiring allocation of large chunks of the limited CSR address space.
without requiring a switch statement with a case for each register.

[NOTE]
[%unbreakable]
====
_CSRs are accessed indirectly via this extension using select values, in
contrast to being accessed directly using standard CSR numbers. A CSR
Expand Down

0 comments on commit c8e9b55

Please sign in to comment.