forked from Imagelibrary/rtems
Added 68360 support submitted by W. Eric Norum (eric@skatter.usask.ca).
Also increased minimum stack size from 1K to 2K.
This commit is contained in:
@@ -182,7 +182,7 @@ extern char _VBR[];
|
|||||||
* Minimum size of a thread's stack.
|
* 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.
|
* m68k is pretty tolerant of alignment. Just put things on 4 byte boundaries.
|
||||||
|
|||||||
@@ -58,9 +58,10 @@ extern "C" {
|
|||||||
* m68040 (implies FP)
|
* m68040 (implies FP)
|
||||||
* m68lc040 (no FP)
|
* m68lc040 (no FP)
|
||||||
* m68ec040 (no FP)
|
* m68ec040 (no FP)
|
||||||
|
* m68360 (no FP)
|
||||||
*
|
*
|
||||||
* Primary difference (for RTEMS) between m68040, m680lc040, and
|
* 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,
|
* Here is some information on the 040 variants (courtesy of Doug McBride,
|
||||||
* mcbride@rodin.colorado.edu):
|
* mcbride@rodin.colorado.edu):
|
||||||
@@ -148,6 +149,15 @@ extern "C" {
|
|||||||
#define M68K_HAS_BFFFO 0
|
#define M68K_HAS_BFFFO 0
|
||||||
#define M68K_HAS_PREINDEXING 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
|
#else
|
||||||
|
|
||||||
#error "Unsupported CPU Model"
|
#error "Unsupported CPU Model"
|
||||||
|
|||||||
Reference in New Issue
Block a user