source: rtems/c/src/lib/libbsp/sparc/leon2/startup/bspidle.c @ 183af89

4.115
Last change on this file since 183af89 was 44b06ca, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/29/09 at 15:33:28

Whitespace removal.

  • Property mode set to 100644
File size: 779 bytes
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
23void *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.