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

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

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
RevLine 
[b181c30]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
[44b06ca]12 *  Research Corporation (OAR) under contract to the European Space
[b181c30]13 *  Agency (ESA).
14 *
[44b06ca]15 *  LEON modifications of respective RTEMS file: COPYRIGHT (c) 1995.
[b181c30]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.