Files
rtems/bsps/sparc/erc32/start/bspidle.c
Sebastian Huber 9964895866 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.
2018-04-20 13:52:14 +02:00

28 lines
719 B
C

/*
* ERC32 Idle Thread with power-down function
*
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*
* Ported to ERC32 implementation of the SPARC by On-Line Applications
* Research Corporation (OAR) under contract to the European Space
* Agency (ESA).
*
* ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995.
* European Space Agency.
*/
#include <bsp.h>
void *bsp_idle_thread( uintptr_t ignored )
{
while (1) {
ERC32_MEC.Power_Down = 0; /* value is irrelevant */
}
return NULL;
}