5
Last change
on this file since 3cf2bf63 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
|
Rev | Line | |
---|
[06a27bbf] | 1 | /* |
---|
| 2 | * Motorola MC68xxx Dependent Idle Body Source |
---|
| 3 | * |
---|
[78a38fa2] | 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 | /* |
---|
[06a27bbf] | 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 |
---|
[c499856] | 15 | * http://www.rtems.org/license/LICENSE. |
---|
[06a27bbf] | 16 | */ |
---|
| 17 | |
---|
| 18 | #include <rtems/system.h> |
---|
| 19 | #include <rtems/score/thread.h> |
---|
| 20 | |
---|
[326220e] | 21 | void *_CPU_Thread_Idle_body( uintptr_t ignored ) |
---|
[06a27bbf] | 22 | { |
---|
[78a38fa2] | 23 | for( ; ; ) { |
---|
| 24 | /* supervisor mode, all interrupts on */ |
---|
| 25 | __asm__ volatile( "stop #0x3000":::"cc" ); |
---|
| 26 | } |
---|
[06a27bbf] | 27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.