source: rtems/c/src/lib/libbsp/sparc/leon2/startup/bspidle.c @ 9b4422a2

4.11
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 767 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
19#include <bsp.h>
20
21void *bsp_idle_thread( uintptr_t ignored )
22{
23  while (1) {
24    /* make sure on load follows store to power-down reg */
25    LEON_REG.Power_Down = LEON_REG.Power_Down;
26  }
27  return NULL;
28}
29
Note: See TracBrowser for help on using the repository browser.