forked from Imagelibrary/rtems
32 lines
555 B
ArmAsm
32 lines
555 B
ArmAsm
/*
|
|
* Idle Thread Body
|
|
*
|
|
* This routine puts LEON3 in power-down mode.
|
|
*
|
|
* COPYRIGHT (c) 2004.
|
|
* Gaisler Research.
|
|
*
|
|
* 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.
|
|
*
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
|
|
|
|
#include <rtems/asm.h>
|
|
|
|
/* LEON specific power-down function */
|
|
|
|
.align 4
|
|
PUBLIC(_CPU_Thread_Idle_body)
|
|
SYM(_CPU_Thread_Idle_body):
|
|
pwdloop: mov %g0, %asr19
|
|
ba pwdloop
|
|
nop
|
|
retl
|
|
nop
|
|
|