summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c
diff options
context:
space:
mode:
authorAlan Cudmore <alan.cudmore@gmail.com>2013-03-23 19:13:07 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-03-24 12:57:44 +0100
commitc32b1efa43e31bd9a8a7eae3623664d00c34d842 (patch)
treee301796d2fb132b0fab24c752072cc2a7ba6e074 /c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c
parentlibfs: Always use geteuid() and getegid() (diff)
downloadrtems-c32b1efa43e31bd9a8a7eae3623664d00c34d842.tar.bz2
bsp/raspberrypi: New BSP
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c b/c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c
new file mode 100644
index 0000000000..e48dd532a4
--- /dev/null
+++ b/c/src/lib/libbsp/arm/raspberrypi/startup/bspstart.c
@@ -0,0 +1,29 @@
+/**
+ * @file
+ *
+ * @ingroup raspberrypi
+ *
+ * @brief Startup code.
+ */
+
+/*
+ * Copyright (c) 2013 by Alan Cudmore
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ *
+ * http://www.rtems.com/license/LICENSE
+ */
+
+#include <bsp.h>
+#include <bsp/bootcard.h>
+#include <bsp/irq-generic.h>
+#include <bsp/irq.h>
+#include <bsp/linker-symbols.h>
+#include <bsp/stackalloc.h>
+#include <bsp/raspberrypi.h>
+
+void bsp_start(void)
+{
+ bsp_interrupt_initialize();
+}