summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/niagara/start/bspinit.S
blob: b5b68204736b1c8076a84206e5c181c46b777918 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * bspinit.S
 *
 * BSP specific initialization for Sparc64 RTEMS -- sun4v BSP
 *
 *  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.com/license/LICENSE.
 * 
 *  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