summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k/rtems/score/m68k.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-13 22:13:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-13 22:13:02 +0000
commit1603ecd4b4ce4710db206454d1da940179345335 (patch)
tree27b43e59adcf055d4e33364b62a7b8dedfb97cc3 /cpukit/score/cpu/m68k/rtems/score/m68k.h
parent2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-1603ecd4b4ce4710db206454d1da940179345335.tar.bz2
2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/m68k.h: There is no point in defining the maximum priorities to 255. priority.h will default it to this.
Diffstat (limited to 'cpukit/score/cpu/m68k/rtems/score/m68k.h')
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/m68k.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/score/m68k.h b/cpukit/score/cpu/m68k/rtems/score/m68k.h
index 6b0b7741fd..31dbbd7bfb 100644
--- a/cpukit/score/cpu/m68k/rtems/score/m68k.h
+++ b/cpukit/score/cpu/m68k/rtems/score/m68k.h
@@ -138,6 +138,10 @@ extern "C" {
/*
* Tiny RTEMS support. Small stack and limited priorities.
+ *
+ * These CPUs have very limited on-CPU memory which cannot
+ * be expanded. We have to be gentle with them or nothing
+ * will every run.
*/
# if (defined(__mcf_cpu_52221) || \
defined(__mcf_cpu_52223) || \
@@ -149,12 +153,12 @@ extern "C" {
defined(__mcf_cpu_52235) || \
defined(__mcf_cpu_52225) || \
defined(__mcf_cpu_52235))
-# define M68K_CPU_STACK_MINIMUM_SIZE 2048
-/* Define the lowest priority. Based from 0 to this is 16 levels. */
-# define M68K_CPU_PRIORITY_MAXIMUM 15
+ #define M68K_CPU_STACK_MINIMUM_SIZE 1024
+ /* Define the lowest priority. Based from 0 to this is 16 levels. */
+ #define M68K_CPU_PRIORITY_MAXIMUM 15
# else
-# define M68K_CPU_STACK_MINIMUM_SIZE 4096
-# define M68K_CPU_PRIORITY_MAXIMUM 255
+ #define M68K_CPU_STACK_MINIMUM_SIZE 4096
+ /* Use the default number of priorities */
# endif
#else