summaryrefslogtreecommitdiff
path: root/doc/hpm.txt
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-11-06 13:22:41 -0600
committercheapie <cheapiephp@gmail.com>2026-11-06 13:24:17 -0600
commitf1fe00423df3fda0ace4222d9d5e3d1976db3964 (patch)
tree0155ad01ad8a2ba1f18ae6cd59f3d0c912088580 /doc/hpm.txt
parentc3ca1afe6ba655b71db048b513801cd3d5acf406 (diff)
downloadrvcontroller-f1fe00423df3fda0ace4222d9d5e3d1976db3964.tar
rvcontroller-f1fe00423df3fda0ace4222d9d5e3d1976db3964.tar.gz
rvcontroller-f1fe00423df3fda0ace4222d9d5e3d1976db3964.tar.bz2
rvcontroller-f1fe00423df3fda0ace4222d9d5e3d1976db3964.tar.xz
rvcontroller-f1fe00423df3fda0ace4222d9d5e3d1976db3964.zip
Add Zihpm and Zicboz
Diffstat (limited to 'doc/hpm.txt')
-rw-r--r--doc/hpm.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hpm.txt b/doc/hpm.txt
new file mode 100644
index 0000000..07ae2e1
--- /dev/null
+++ b/doc/hpm.txt
@@ -0,0 +1,11 @@
+RVController Zihpm Counter List
+===============================
+
+The following counters are supported as part of the Zihpm extension:
+
+* hpmcounter3: Number of interrupts serviced
+* hpmcounter4: Number of non-interrupt traps handled
+* hpmcounter5: Number of digilines messages received (excluding console)
+* hpmcounter6: Number of console events received
+
+The upper word of each of these values is available in the corresponding hpmcounterXXh CSR.