blob: 99c9d1f1af73bb137826e94ec74391e98dc467a4 (
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
|
/*
* 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.
*/
#include <rtems/asm.h>
/* LEON specific power-down function */
.align 4
PUBLIC(bsp_idle_thread)
SYM(bsp_idle_thread):
pwdloop: mov %g0, %asr19
ba pwdloop
nop
retl
nop
|