aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/smcdeleg.adoc3
-rw-r--r--src/sscofpmf.adoc6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/smcdeleg.adoc b/src/smcdeleg.adoc
index ba890f5..fd67d82 100644
--- a/src/smcdeleg.adoc
+++ b/src/smcdeleg.adoc
@@ -44,6 +44,7 @@ with counter _i_ can be read or written via `sireg*`, while `siselect` holds
the table below.
.Indirect HPM State Mappings
+[#indirect-hpm-state-mappings]
[width="100%",cols="21%,20%,21%,18%,20%",options="header",]
|===
|*`siselect` value* |*`sireg*` |*`sireg4`* |*`sireg2`* |*`sireg5`*
@@ -90,7 +91,7 @@ NOTE: _The memory-mapped `mtime` register is not a performance monitoring
counter to be managed by supervisor software, hence the special
treatment of `siselect` value 0x41 described above._
-For each `siselect` and `sireg*` combination defined in <<Indirect HPM State Mappings>>, the table
+For each `siselect` and `sireg*` combination defined in <<indirect-hpm-state-mappings>>, the table
further indicates the extensions upon which the underlying counter state
depends. If any extension upon which the underlying state depends is not
implemented, an attempt from M or S mode to access the given state
diff --git a/src/sscofpmf.adoc b/src/sscofpmf.adoc
index 101c15f..8ed0984 100644
--- a/src/sscofpmf.adoc
+++ b/src/sscofpmf.adoc
@@ -128,7 +128,7 @@ eventually overflow.
This extension adds the description of the LCOFIP/LCOFIE bits in these
registers (and modifies related text) as follows:
-LCOFIP is added to mip in <<mipreg-standard>> as bit 13. LCOFIP is added to mie in
+LCOFIP is added to mip in <<mipreg-standard>> as bit 13. LCOFIE is added to mie in
<<miereg-standard>> as bit 13.
If the Sscofpmf extension is implemented, bits mip.LCOFIP and mie.LCOFIE are
@@ -150,7 +150,7 @@ decreasing priority order: MEI, MSI, MTI, SEI, SSI, STI, LCOFI.
This extension adds the description of the LCOFIP/LCOFIE bits in these
registers (and modifies related text) as follows:
-LCOFIP is added to sip in <<sipreg-standard>> as bit 13. LCOFIP is added to sie in
+LCOFIP is added to sip in <<sipreg-standard>> as bit 13. LCOFIE is added to sie in
<<siereg-standard>> as bit 13.
If the Sscofpmf extension is implemented, bits sip.LCOFIP and sie.LCOFIE are
@@ -186,4 +186,4 @@ hcounteren) CSRs that mediate access to the hpmcounter CSRs by S-mode (or
VS-mode). In M and S modes, scountovf bit _X_ is readable when mcounteren bit
_X_ is set, and otherwise reads as zero. Similarly, in VS mode, scountovf bit
_X_ is readable when mcounteren bit _X_ and hcounteren bit _X_ are both set,
-and otherwise reads as zero. \ No newline at end of file
+and otherwise reads as zero.