summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k/rtems/score/cpu.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2008-06-11 08:19:13 +0000
committerChris Johns <chrisj@rtems.org>2008-06-11 08:19:13 +0000
commite339d8b718018d49b734d38e5496433cee5d097a (patch)
treefc1d6aecb360821936790e1fba67efcdcbd971c9 /cpukit/score/cpu/m68k/rtems/score/cpu.h
parenthris Johns <chrisj@rtems.org> (diff)
downloadrtems-e339d8b718018d49b734d38e5496433cee5d097a.tar.bz2
hris Johns <chrisj@rtems.org>
* cpu_asm.S: Add Coldfire FPU support. * rtems/score/m68k.h: Change the Coldfire CPU defines to be based on the instruction set. Add Tiny RTEMS support to the small memory model RTEMS processors. * rtems/score/cpu.h: Handle the new Tiny RTEMS support.
Diffstat (limited to 'cpukit/score/cpu/m68k/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/cpu.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h
index fcdfeffd31..084d2cf0c9 100644
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h
@@ -276,7 +276,12 @@ SCORE_EXTERN _CPU_ISR_handler_entry _CPU_ISR_jump_table[256];
* Minimum size of a thread's stack.
*/
-#define CPU_STACK_MINIMUM_SIZE 4096
+#define CPU_STACK_MINIMUM_SIZE M68K_CPU_STACK_MINIMUM_SIZE
+
+/*
+ * Maximum priority of a thread. Note based from 0 which is the idle task.
+ */
+#define CPU_PRIORITY_MAXIMUM M68K_CPU_PRIORITY_MAXIMUM
/*
* m68k is pretty tolerant of alignment. Just put things on 4 byte boundaries.
@@ -463,7 +468,7 @@ void _CPU_Thread_Idle_body( void );
#define _CPU_Bitfield_Find_first_bit( _value, _output ) \
asm volatile( "bfffo (%1),#0,#16,%0" : "=d" (_output) : "a" (&_value));
-#elif ( M68K_HAS_ISA_APLUS == 1 )
+#elif ( __mcfisaaplus__ )
/* This is simplified by the fact that RTEMS never calls it with _value=0 */
#define _CPU_Bitfield_Find_first_bit( _value, _output ) \
asm volatile ( \