Changeset 26e5cd4 in rtems


Ignore:
Timestamp:
Aug 13, 1998, 2:23:37 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9898425
Parents:
7e19c72b
Message:

Patch from Chris Johns <ccj@…>. Comments follow:

Here is a small patch which allows the m68060 to be used. I have not
tested the FP switching stuff which we know is broken. This is taken
against the libchip snapshot but should merge without problems. If you
have any problems please let me know.

There are other smaller issues such as superscalar enable and cache
control which I have not addressed yet. They are different to all other
m68k processors. These can wait IMO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/m68k/m68k.h

    r7e19c72b r26e5cd4  
    3838 *     -m68040
    3939 *     -m68040 -msoft-float
     40 *     -m68060
     41 *     -m68060 -msoft-float
    4042 *     -m68302        (no FP) (deprecated, use -m68000)
    4143 *     -m68332        (no FP) (deprecated, use -mcpu32)
     
    118120#define M68K_HAS_VBR             1
    119121#define M68K_HAS_SEPARATE_STACKS 1
     122#define M68K_HAS_BFFFO           1
     123#define M68K_HAS_PREINDEXING     1
     124#define M68K_HAS_EXTB_L          1
     125#define M68K_HAS_MISALIGNED      1
     126# if defined (__HAVE_68881__)
     127# define M68K_HAS_FPU            1
     128# define M68K_HAS_FPSP_PACKAGE   1
     129# else
     130# define M68K_HAS_FPU            0
     131# define M68K_HAS_FPSP_PACKAGE   0
     132# endif
     133 
     134#elif defined(__mc68060__)
     135
     136#define CPU_MODEL_NAME          "m68060"
     137#define M68K_HAS_VBR             1
     138#define M68K_HAS_SEPARATE_STACKS 0
    120139#define M68K_HAS_BFFFO           1
    121140#define M68K_HAS_PREINDEXING     1
Note: See TracChangeset for help on using the changeset viewer.