Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:08

0001 /*
0002  *  ERC32 Idle Thread with power-down function
0003  *
0004  *  COPYRIGHT (c) 1989-2009.
0005  *  On-Line Applications Research Corporation (OAR).
0006  *
0007  *  The license and distribution terms for this file may be
0008  *  found in the file LICENSE in this distribution or at
0009  *  http://www.rtems.org/license/LICENSE.
0010  *
0011  *  Ported to ERC32 implementation of the SPARC by On-Line Applications
0012  *  Research Corporation (OAR) under contract to the European Space
0013  *  Agency (ESA).
0014  *
0015  *  ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995.
0016  *  European Space Agency.
0017  */
0018 
0019 #include <bsp.h>
0020 
0021 void *bsp_idle_thread( uintptr_t ignored )
0022 {
0023   while (1) {
0024     ERC32_MEC.Power_Down = 0;   /* value is irrelevant */
0025   }
0026   return NULL;
0027 }