summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/m68k/rtems')
-rw-r--r--cpukit/score/cpu/m68k/rtems/m68k/qsm.h4
-rw-r--r--cpukit/score/cpu/m68k/rtems/m68k/sim.h7
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/m68k.h9
3 files changed, 9 insertions, 11 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/m68k/qsm.h b/cpukit/score/cpu/m68k/rtems/m68k/qsm.h
index e1bf33bc12..9853978115 100644
--- a/cpukit/score/cpu/m68k/rtems/m68k/qsm.h
+++ b/cpukit/score/cpu/m68k/rtems/m68k/qsm.h
@@ -41,10 +41,6 @@
#ifndef _QSM_H_
#define _QSM_H_
-
-#include <efi332.h>
-
-
/* SAM-- shift and mask */
#undef SAM
#define SAM(a,b,c) ((a << b) & c)
diff --git a/cpukit/score/cpu/m68k/rtems/m68k/sim.h b/cpukit/score/cpu/m68k/rtems/m68k/sim.h
index e1c637f9bd..9354412390 100644
--- a/cpukit/score/cpu/m68k/rtems/m68k/sim.h
+++ b/cpukit/score/cpu/m68k/rtems/m68k/sim.h
@@ -50,13 +50,6 @@
#define _SIM_H_
-/*
- * XXX Why is a generic file like this including a bsp specific file?
-
-#include <efi332.h>
- */
-
-
/* SAM-- shift and mask */
#undef SAM
#define SAM(a,b,c) ((a << b) & c)
diff --git a/cpukit/score/cpu/m68k/rtems/score/m68k.h b/cpukit/score/cpu/m68k/rtems/score/m68k.h
index 7408aae231..64639220dd 100644
--- a/cpukit/score/cpu/m68k/rtems/score/m68k.h
+++ b/cpukit/score/cpu/m68k/rtems/score/m68k.h
@@ -79,6 +79,15 @@ extern "C" {
* by having each model specify which core it uses and then go from there.
*/
+/*
+ * Figure out all CPU Model Feature Flags based upon compiler
+ * predefines. Notice the only exception to this is that
+ * gcc does not distinguish between CPU32 and CPU32+. This
+ * feature selection logic is setup such that if RTEMS__mcpu32p__
+ * is defined, then CPU32+ rules are used. Otherwise, the safe
+ * but less efficient CPU32 rules are used for the CPU32+.
+ */
+
#if defined(__mc68020__)
#define CPU_MODEL_NAME "m68020"