source: rtems/bsps/sparc/leon3/start/bspidle.S @ 9964895

5
Last change on this file since 9964895 was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 633 bytes
Line 
1/*
2 *  Idle Thread Body
3 *
4 *  This routine puts LEON3 in power-down mode.
5 *
6 *  COPYRIGHT (c) 2004.
7 *  Gaisler Research.
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.org/license/LICENSE.
12 */
13
14
15
16#include <rtems/asm.h>
17
18/* LEON specific power-down function */
19
20        .align 4
21        PUBLIC(bsp_idle_thread)
22        PUBLIC(leon3_power_down_loop)
23SYM(bsp_idle_thread):
24SYM(leon3_power_down_loop):
25pwdloop:  mov   %g0, %asr19
26          lda   [%sp] 1, %g0            ! Needed for UT699 and GR712
27          ba,a    pwdloop
28           nop
Note: See TracBrowser for help on using the repository browser.