summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/include/bsp/gptimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc/include/bsp/gptimer.h')
-rw-r--r--bsps/sparc/include/bsp/gptimer.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/bsps/sparc/include/bsp/gptimer.h b/bsps/sparc/include/bsp/gptimer.h
new file mode 100644
index 0000000000..ee0120d2bd
--- /dev/null
+++ b/bsps/sparc/include/bsp/gptimer.h
@@ -0,0 +1,30 @@
+/* GPTIMER and GRTIMER timer driver
+ *
+ * COPYRIGHT (c) 2015.
+ * Cobham Gaisler.
+ *
+ * The license and distribution terms for this file may be
+ * found in found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ *
+ */
+
+#ifndef __GPTIMER_H__
+#define __GPTIMER_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* The GPTIMER_INFO_AVAIL define set from the BSP bsp.h configures if the
+ * Driver manager info interface is built.
+ */
+
+/* Register GPTIMER and GRTIMER driver to Driver Manager */
+void gptimer_register_drv (void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif