summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/or1ksim/include/bsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/or1k/or1ksim/include/bsp.h')
-rw-r--r--c/src/lib/libbsp/or1k/or1ksim/include/bsp.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/or1k/or1ksim/include/bsp.h b/c/src/lib/libbsp/or1k/or1ksim/include/bsp.h
new file mode 100644
index 0000000000..502e4d9302
--- /dev/null
+++ b/c/src/lib/libbsp/or1k/or1ksim/include/bsp.h
@@ -0,0 +1,47 @@
+/**
+ * @file
+ *
+ * @ingroup or1k_or1ksim
+ *
+ * @brief Global BSP definitions.
+ */
+
+/*
+ * COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary@gmail.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE
+ */
+
+#ifndef LIBBSP_OR1K_OR1KSIM_H
+#define LIBBSP_OR1K_OR1KSIM_H
+
+#include <bspopts.h>
+#include <rtems.h>
+#include <rtems/console.h>
+#include <rtems/clockdrv.h>
+#include <bsp/or1ksim.h>
+
+#include <bsp/default-initial-extension.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#define BSP_FEATURE_IRQ_EXTENSION
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_OR1K_OR1KSIM_H */
+
+/**
+ * @defgroup or1k_or1ksim support
+ *
+ * @ingroup bsp_or1k
+ *
+ * @brief or1ksim support package
+ *
+ */