aboutsummaryrefslogtreecommitdiff
path: root/riscv/csrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/csrs.h')
-rw-r--r--riscv/csrs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/riscv/csrs.h b/riscv/csrs.h
index 2595243..0920544 100644
--- a/riscv/csrs.h
+++ b/riscv/csrs.h
@@ -871,4 +871,11 @@ class hvip_csr_t : public basic_csr_t {
};
typedef std::shared_ptr<hvip_csr_t> hvip_csr_t_p;
+
+// ssp CSR provided by CFI Zicfiss extension
+class ssp_csr_t final : public masked_csr_t {
+ public:
+ ssp_csr_t(processor_t* const proc, const reg_t addr, const reg_t mask, const reg_t init);
+ virtual void verify_permissions(insn_t insn, bool write) const override;
+};
#endif