mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1435/bsps * startup/bspidle.c: Removed.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
PR 1435/bsps
|
||||
* startup/bspidle.c: Removed.
|
||||
|
||||
2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
PR 1435/bsps
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
* The MPC860 specific stuff was written by Jay Monkman (jmonkman@frasca.com)
|
||||
*
|
||||
* Modified for the MPC8260ADS board by Andy Dachs <a.dachs@sstl.co.uk>
|
||||
* Surrey Satellite Technology Limited, 2001
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <bsp.h>
|
||||
|
||||
/*
|
||||
* bsp_idle_thread
|
||||
*
|
||||
* The MSR[POW] bit is set to put the CPU into the low power mode
|
||||
* defined in HID0. HID0 is set during starup in start.S.
|
||||
*
|
||||
*/
|
||||
void *bsp_idle_thread( uintptr_t ignored )
|
||||
{
|
||||
for( ; ; ) {
|
||||
asm volatile(
|
||||
"mfmsr 3; oris 3,3,4; sync; mtmsr 3; isync; ori 3,3,0; ori 3,3,0"
|
||||
);
|
||||
}
|
||||
|
||||
return 0; /* to remove warning */
|
||||
}
|
||||
Reference in New Issue
Block a user