source: rtems/bsps/m68k/shared/m68kidle.c

Last change on this file was 3fe2155, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 1, 2019 at 9:00:36 AM

Remove superfluous <rtems/system.h> includes

  • Property mode set to 100644
File size: 676 bytes
Line 
1/*
2 *  Motorola MC68xxx Dependent Idle Body Source
3 *
4 *  This kernel routine is the idle thread.  The idle thread runs any time
5 *  no other thread is ready to run.  This thread loops forever with
6 *  interrupts enabled.
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-2002.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.org/license/LICENSE.
16 */
17
18#include <rtems/score/thread.h>
19
20void *_CPU_Thread_Idle_body( uintptr_t ignored )
21{
22  for( ; ; ) {
23    /* supervisor mode, all interrupts on */
24    __asm__ volatile( "stop #0x3000":::"cc" );
25  }
26}
Note: See TracBrowser for help on using the repository browser.