mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2009-09-10 Till Straumann <strauman@slac.stanford.edu>
* shared/misc/m68kidle.c: added "cc" clobber to inline asm; STOP instruction modifies CCR!
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-09-10 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
* shared/misc/m68kidle.c: added "cc" clobber to inline
|
||||||
|
asm; STOP instruction modifies CCR!
|
||||||
|
|
||||||
2009-02-11 Till Straumann <strauman@slac.stanford.edu>
|
2009-02-11 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
PR 1369/bsps
|
PR 1369/bsps
|
||||||
|
|||||||
@@ -38,6 +38,6 @@ void *_CPU_Thread_Idle_body( uint32_t ignored )
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
for( ; ; )
|
for( ; ; )
|
||||||
asm volatile( "stop #0x3000" ); /* supervisor mode, all interrupts on */
|
asm volatile( "stop #0x3000":::"cc" ); /* supervisor mode, all interrupts on */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user