summaryrefslogtreecommitdiff
path: root/riscv/riscv_platform_impl.c
diff options
context:
space:
mode:
authorPrashanth Mundkur2018-09-28 18:37:11 -0700
committerPrashanth Mundkur2018-10-23 15:32:15 -0700
commit8525e0b26eaec05c2c031279693cd61c544fc12a (patch)
tree78f2f2ce1625152b0a3a380b5cdf8b27b5758d95 /riscv/riscv_platform_impl.c
parent0bce4fc40f2473e6f9f59e54b3e5061a4752b2d5 (diff)
RISC-V: tick the clock in the C platform.
Diffstat (limited to 'riscv/riscv_platform_impl.c')
-rw-r--r--riscv/riscv_platform_impl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/riscv_platform_impl.c b/riscv/riscv_platform_impl.c
index 1a1d42a7..3135895d 100644
--- a/riscv/riscv_platform_impl.c
+++ b/riscv/riscv_platform_impl.c
@@ -15,3 +15,4 @@ uint64_t rv_clint_base = UINT64_C(0x2000000);
uint64_t rv_clint_size = UINT64_C(0xc0000);
uint64_t rv_htif_tohost = UINT64_C(0x80001000);
+uint64_t rv_insns_per_tick = UINT64_C(100);