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

5
Last change on this file since d7d66d7 was fc2ec62, checked in by Sebastian Huber <sebastian.huber@…>, on 03/26/18 at 10:10:15

bsps/m68k: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 702 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/system.h>
19#include <rtems/score/thread.h>
20
21void *_CPU_Thread_Idle_body( uintptr_t ignored )
22{
23  for( ; ; ) {
24    /* supervisor mode, all interrupts on */
25    __asm__ volatile( "stop #0x3000":::"cc" );
26  }
27}
Note: See TracBrowser for help on using the repository browser.