summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/virt64/tick.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/risc-v/virt64/tick.h')
-rw-r--r--libcpu/risc-v/virt64/tick.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libcpu/risc-v/virt64/tick.h b/libcpu/risc-v/virt64/tick.h
new file mode 100644
index 0000000000..0821004263
--- /dev/null
+++ b/libcpu/risc-v/virt64/tick.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2018/10/28 Bernard The unify RISC-V porting code.
+ */
+
+#ifndef TICK_H__
+#define TICK_H__
+
+int tick_isr(void);
+int rt_hw_tick_init(void);
+
+#endif