aboutsummaryrefslogtreecommitdiff
path: root/c_emulator/riscv_platform_impl.h
diff options
context:
space:
mode:
authorTim Hutt <timothy.hutt@codasip.com>2024-03-05 13:44:32 +0000
committerBill McSpadden <bill@riscv.org>2024-04-15 15:37:18 -0500
commit16077e126b634c006590b02cb758d48a3882528a (patch)
tree8310d601b872a04001d28bb39a95ab9b93b87130 /c_emulator/riscv_platform_impl.h
parentf1c043d76b0f5030ced7eaaea34420d3a916fd91 (diff)
downloadsail-riscv-16077e126b634c006590b02cb758d48a3882528a.zip
sail-riscv-16077e126b634c006590b02cb758d48a3882528a.tar.gz
sail-riscv-16077e126b634c006590b02cb758d48a3882528a.tar.bz2
Implement Zcb extension
This adds an implementation of the Zcb code size extension. Co-authored-by: Martin Berger <martinberger@users.noreply.github.com>
Diffstat (limited to 'c_emulator/riscv_platform_impl.h')
-rw-r--r--c_emulator/riscv_platform_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c_emulator/riscv_platform_impl.h b/c_emulator/riscv_platform_impl.h
index e3e4a96..d377c9c 100644
--- a/c_emulator/riscv_platform_impl.h
+++ b/c_emulator/riscv_platform_impl.h
@@ -11,6 +11,7 @@
extern uint64_t rv_pmp_count;
extern uint64_t rv_pmp_grain;
+extern bool rv_enable_zcb;
extern bool rv_enable_zfinx;
extern bool rv_enable_rvc;
extern bool rv_enable_next;