source: rtems/c/src/lib/libbsp/sparc/leon3/startup/ithread.S @ 1348869f

Last change on this file since 1348869f was 1348869f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/05/05 at 19:26:00

2005-10-05 Jiri Gaisler <jiri@…>

Edvin Catovic <edvin@…>
Konrad Eisele <konrad@…>

PR 827/bsps

  • .cvsignore, ChangeLog?, Makefile.am, README, bsp_specs, configure.ac, times, amba/.cvsignore, amba/Makefile.am, amba/amba.c, clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, console/.cvsignore, console/Makefile.am, console/console.c, console/consolereserveresources.c, console/debugputs.c, gnatsupp/.cvsignore, gnatsupp/Makefile.am, gnatsupp/gnatsupp.c, include/.cvsignore, include/Makefile.am, include/amba.h, include/bsp.h, include/coverhd.h, include/leon.h, leon_open_eth/.cvsignore, leon_open_eth/Makefile.am, leon_open_eth/leon_open_eth.c, leon_smc91111/.cvsignore, leon_smc91111/Makefile.am, leon_smc91111/leon_smc91111.c, start/.cvsignore, start/Makefile.am, startup/.cvsignore, startup/Makefile.am, startup/bspstart.c, startup/ithread.S, startup/linkcmds, startup/setvec.c, startup/spurious.c, timer/.cvsignore, timer/Makefile.am, timer/timer.c, tools/.cvsignore, tools/ChangeLog, tools/Makefile.am, tools/configure.ac, tools/runtest.in, wrapup/.cvsignore, wrapup/Makefile.am: New files.
  • Property mode set to 100644
File size: 549 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.com/license/LICENSE.
12 *
13 *
14 *  $Id$
15 */
16
17
18       
19#include <asm.h>
20       
21/* LEON specific power-down function */
22
23        .align 4
24        PUBLIC(_CPU_Thread_Idle_body)
25SYM(_CPU_Thread_Idle_body):
26pwdloop:  mov   %g0, %asr19
27          ba    pwdloop
28          nop
29          retl
30          nop
31
Note: See TracBrowser for help on using the repository browser.