From af639704b6f5754bac9c003aeca42f77ae082963 Mon Sep 17 00:00:00 2001 From: beeman Date: Thu, 6 Jun 2024 10:51:51 -0700 Subject: [PATCH 1/2] remove references to Smcsrind, upon which S*ctr no longer depends --- body.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/body.adoc b/body.adoc index bfd1643..2d84b99 100644 --- a/body.adoc +++ b/body.adoc @@ -285,7 +285,7 @@ _Smctr/Ssctr depends upon implementation of S-mode because much of CTR state is == Entry Registers Control transfer records are stored in a CTR buffer, such that each buffer entry stores information about a single transfer. The CTR buffer entries are logically accessed via the indirect register access mechanism defined by the -https://github.com/riscv/riscv-indirect-csr-access/releases[[.underline]#Smcsrind/Sscsrind#] +https://github.com/riscv/riscv-indirect-csr-access/releases[[.underline]#Sscsrind#] extension. The `siselect` index range 0x200 through 0x2FF is reserved for CTR entries 0 through 255. When `siselect` holds a value in this range, `sireg` provides access to <<_control_transfer_record_source_ctrsource, `ctrsource`>>, `sireg2` provides access to <<_control_transfer_record_target_ctrtarget, `ctrtarget`>>, and `sireg3` provides access to <<_control_transfer_record_source_ctrdata, `ctrdata`>>. `sireg4`, `sireg5`, and `sireg6` are read-only 0. @@ -429,7 +429,7 @@ The CTR bit is bit 54 in `mstateen0` and `hstateen0`. [NOTE] [%unbreakable] ==== -_See the https://github.com/riscv/riscv-indirect-csr-access[[.underline]#Smcsrind/Sscsrind spec#] for how bit 60 in mstateen0 and hstateen0 can also restrict access to `sireg*`/`siselect` and `vsireg*`/`vsiselect` from privilege modes less privileged than M-mode._ +_See the https://github.com/riscv/riscv-indirect-csr-access[[.underline]#Sscsrind spec#] for how bit 60 in mstateen0 and hstateen0 can also restrict access to `sireg*`/`siselect` and `vsireg*`/`vsiselect` from privilege modes less privileged than M-mode._ ==== == Behavior From dbd33400218d41edd565def470526117256e264d Mon Sep 17 00:00:00 2001 From: beeman Date: Fri, 7 Jun 2024 07:41:12 -0700 Subject: [PATCH 2/2] remove intro reference to Smcsrind --- intro.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intro.adoc b/intro.adoc index 0024222..1d70c8b 100644 --- a/intro.adoc +++ b/intro.adoc @@ -25,4 +25,4 @@ privilege levels. The corresponding supervisor-level extension, *Ssctr*, is ess identical to Smctr, except that it excludes machine-level CSRs and behaviors not intended to be directly accessible at the supervisor level. -Smctr depends on the Smcsrind extension, while Ssctr depends on the Sscsrind extension. Further, both Smctr and Ssctr depend upon implementation of S-mode. See <> for details. \ No newline at end of file +Smctr and Ssctr depend on both the implementation of S-mode and the Sscsrind extension. \ No newline at end of file