4.115
Line | |
---|
1 | /* |
---|
2 | * LEON2 Idle Thread with power-down function |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-2009. |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | * Ported to LEON implementation of the SPARC by On-Line Applications |
---|
12 | * Research Corporation (OAR) under contract to the European Space |
---|
13 | * Agency (ESA). |
---|
14 | * |
---|
15 | * LEON modifications of respective RTEMS file: COPYRIGHT (c) 1995. |
---|
16 | * European Space Agency. |
---|
17 | * |
---|
18 | * $Id$ |
---|
19 | */ |
---|
20 | |
---|
21 | #include <bsp.h> |
---|
22 | |
---|
23 | void *bsp_idle_thread( uintptr_t ignored ) |
---|
24 | { |
---|
25 | while (1) { |
---|
26 | /* make sure on load follows store to power-down reg */ |
---|
27 | LEON_REG.Power_Down = LEON_REG.Power_Down; |
---|
28 | } |
---|
29 | return NULL; |
---|
30 | } |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.