From 1603ecd4b4ce4710db206454d1da940179345335 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 13 Jun 2008 22:13:02 +0000 Subject: 2008-06-13 Joel Sherrill * rtems/score/m68k.h: There is no point in defining the maximum priorities to 255. priority.h will default it to this. --- cpukit/score/cpu/m68k/rtems/score/m68k.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'cpukit/score/cpu/m68k/rtems/score/m68k.h') 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 -- cgit v1.2.3