summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/or32/rtems/score/or32.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/or32/rtems/score/or32.h')
-rw-r--r--cpukit/score/cpu/or32/rtems/score/or32.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/cpukit/score/cpu/or32/rtems/score/or32.h b/cpukit/score/cpu/or32/rtems/score/or32.h
index 1aadcfc286..c996c046cf 100644
--- a/cpukit/score/cpu/or32/rtems/score/or32.h
+++ b/cpukit/score/cpu/or32/rtems/score/or32.h
@@ -1,10 +1,7 @@
-/* or32.h
- *
- * This file sets up basic CPU dependency settings based on
- * compiler settings. For example, it can determine if
- * floating point is available. This particular implementation
- * is specified to the OPENCORES.ORG OR32 port.
+/* or1k.h
*
+ * This include file contains Or1k definitions pertaining to the Opencores
+ * or1k processor family.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
@@ -13,12 +10,14 @@
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
- * $Id$
+ * This file adapted from no_cpu example of the RTEMS distribution.
+ * The body has been modified for the Opencores Or1k implementation by
+ * Chris Ziomkowski. <chris@asics.ws>
*
*/
-#ifndef _INCLUDE_OR32_h
-#define _INCLUDE_OR32_h
+#ifndef _OR1K_H
+#define _OR1K_H
#ifdef __cplusplus
extern "C" {
@@ -26,7 +25,7 @@ extern "C" {
/*
* This file contains the information required to build
- * RTEMS for a particular member of the OPENCORES.ORG OR32 family.
+ * RTEMS for a particular member of the or1k CPU family.
* It does this by setting variables to indicate which
* implementation dependent features are present in a particular
* member of the family.
@@ -43,16 +42,17 @@ extern "C" {
*/
#define CPU_MODEL_NAME "rtems_multilib"
-#define OR32_HAS_FPU 1
+#define OR1K_HAS_FPU 1
-#elif defined(__or1k__) || defined(__OR1K__)
+#elif defined(or1200)
-#define CPU_MODEL_NAME "or32_model"
-#define OR32_HAS_FPU 1
+#define CPU_MODEL_NAME "OR1200"
+#define OR1K_HAS_FPU 0
#else
-#error "Unsupported CPU Model"
+#define CPU_MODEL_NAME "Generic Or1k Compatible"
+#define OR1K_HAS_FPU 0
#endif
@@ -60,11 +60,11 @@ extern "C" {
* Define the name of the CPU family.
*/
-#define CPU_NAME "OPENCORES.ORG OR32"
+#define CPU_NAME "OpenRisc 1000"
#ifdef __cplusplus
}
#endif
-#endif /* ! _INCLUDE_OR32_h */
+#endif /* ! _INCLUDE_NO_CPU_h */
/* end of include file */