summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/niagara/start/bspinit.S
blob: 70ddd0ff6ead500dcad198e19d8a0b2692d4368e (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
34
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