source: rtems/bsps/sparc/erc32/start/bspidle.c @ c05d7a9d

5
Last change on this file since c05d7a9d was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 719 bytes
Line 
1/*
2 *  ERC32 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.org/license/LICENSE.
10 *
11 *  Ported to ERC32 implementation of the SPARC by On-Line Applications
12 *  Research Corporation (OAR) under contract to the European Space
13 *  Agency (ESA).
14 *
15 *  ERC32 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    ERC32_MEC.Power_Down = 0;   /* value is irrelevant */
25  }
26  return NULL;
27}
Note: See TracBrowser for help on using the repository browser.