From 110f4ff71726eaf73c4b0c993a186a59d98e50e4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 6 Mar 1996 22:23:56 +0000 Subject: Added 68360 support submitted by W. Eric Norum (eric@skatter.usask.ca). Also increased minimum stack size from 1K to 2K. --- c/src/exec/score/cpu/m68k/cpu.h | 2 +- c/src/exec/score/cpu/m68k/m68k.h | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'c/src/exec/score') diff --git a/c/src/exec/score/cpu/m68k/cpu.h b/c/src/exec/score/cpu/m68k/cpu.h index f7678a820b..256e273b65 100644 --- a/c/src/exec/score/cpu/m68k/cpu.h +++ b/c/src/exec/score/cpu/m68k/cpu.h @@ -182,7 +182,7 @@ extern char _VBR[]; * Minimum size of a thread's stack. */ -#define CPU_STACK_MINIMUM_SIZE 1024 +#define CPU_STACK_MINIMUM_SIZE 2048 /* * m68k is pretty tolerant of alignment. Just put things on 4 byte boundaries. diff --git a/c/src/exec/score/cpu/m68k/m68k.h b/c/src/exec/score/cpu/m68k/m68k.h index 706788ef70..482a7fb292 100644 --- a/c/src/exec/score/cpu/m68k/m68k.h +++ b/c/src/exec/score/cpu/m68k/m68k.h @@ -58,9 +58,10 @@ extern "C" { * m68040 (implies FP) * m68lc040 (no FP) * m68ec040 (no FP) + * m68360 (no FP) * * Primary difference (for RTEMS) between m68040, m680lc040, and - * m68ec040 is the presence or abscense of the FPU. + * m68ec040 is the presence or absence of the FPU. * * Here is some information on the 040 variants (courtesy of Doug McBride, * mcbride@rodin.colorado.edu): @@ -148,6 +149,15 @@ extern "C" { #define M68K_HAS_BFFFO 0 #define M68K_HAS_PREINDEXING 0 +#elif defined(m68360) + +#define CPU_MODEL_NAME "m68360" +#define M68K_HAS_VBR 1 +#define M68K_HAS_SEPARATE_STACKS 0 +#define M68K_HAS_FPU 0 +#define M68K_HAS_BFFFO 0 +#define M68K_HAS_PREINDEXING 1 + #else #error "Unsupported CPU Model" -- cgit v1.2.3