source: rtems/cpukit/score/cpu/no_cpu/cpuidle.c @ 68e1ccc4

5
Last change on this file since 68e1ccc4 was 8776bb9, checked in by Sebastian Huber <sebastian.huber@…>, on 09/26/18 at 04:34:54

score: Remove CPU_PROVIDES_IDLE_THREAD_BODY

Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary
conditional compilation.

Close #3539.

  • Property mode set to 100644
File size: 538 bytes
Line 
1/*
2 * Copyright (c) 2013-2014 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifdef HAVE_CONFIG_H
16#include "config.h"
17#endif
18
19#include <rtems/score/cpu.h>
20
21void *_CPU_Thread_Idle_body( uintptr_t ignored )
22{
23  while ( true ) {
24    /* Do nothing */
25  }
26
27  return NULL;
28}
Note: See TracBrowser for help on using the repository browser.