summaryrefslogtreecommitdiffstats
path: root/bsps/sparc64/niagara/start/bspinit.S
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc64/niagara/start/bspinit.S')
-rw-r--r--bsps/sparc64/niagara/start/bspinit.S35
1 files changed, 35 insertions, 0 deletions
diff --git a/bsps/sparc64/niagara/start/bspinit.S b/bsps/sparc64/niagara/start/bspinit.S
new file mode 100644
index 0000000000..70ddd0ff6e
--- /dev/null
+++ b/bsps/sparc64/niagara/start/bspinit.S
@@ -0,0 +1,35 @@
+/*
+ * bspinit.S
+ *
+ * COPYRIGHT (c) 2010 Gedare Bloom.
+ *
+ * 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.
+ */
+
+/*
+ *
+ * BSP specific initialization for Sparc64 RTEMS -- sun4v BSP
+ *
+ * This code defines start code specific to the sun4v BSP
+ */
+
+#include <rtems/asm.h>
+#include <rtems/score/cpu.h>
+
+#define STACK_WINDOW_SAVE_AREA_SIZE (16*8)
+
+.section .text
+
+PUBLIC(_BSP_init)
+ .global _BSP_init
+ SYM(_BSP_init):
+
+ save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
+
+
+
+ ret
+ restore
+