source: rtems/cpukit/score/cpu/arm/rtems/score/arm.h @ f98ce8b8

4.104.11
Last change on this file since f98ce8b8 was f98ce8b8, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 1, 2009 at 12:57:30 PM

2009-10-01 Joel Sherrill <joel.sherrill@…>

  • rtems/score/arm.h: Recognize ARMv6J as needed by arm1136 variants.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1/**
2 * @file rtems/score/arm.h
3 */
4
5/* 
6 *  $Id$
7 *
8 *  COPYRIGHT (c) 2000 Canon Research Centre France SA.
9 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
10 *
11 *  Copyright (c) 2002 Advent Networks, Inc.
12 *       Jay Monkman <jmonkman@adventnetworks.com>
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 *
18 */
19
20#ifndef _RTEMS_SCORE_ARM_H
21#define _RTEMS_SCORE_ARM_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*
28 *  This file contains the information required to build
29 *  RTEMS for a particular member of the "arm"
30 *  family when executing in protected mode.  It does
31 *  this by setting variables to indicate which implementation
32 *  dependent features are present in a particular member
33 *  of the family.
34 */
35#if defined(__ARM_ARCH_4__)
36#  define CPU_MODEL_NAME  "ARMv4"
37
38#elif defined(__ARM_ARCH_4T__)
39#  define CPU_MODEL_NAME  "ARMv4T"
40
41#elif defined(__ARM_ARCH_5__)
42#  define CPU_MODEL_NAME  "ARMv5"
43
44#elif defined(__ARM_ARCH_5T__)
45#  define CPU_MODEL_NAME  "ARMv5T"
46
47#elif defined(__ARM_ARCH_5E__)
48#  define CPU_MODEL_NAME  "ARMv5E"
49
50#elif defined(__ARM_ARCH_5TE__)
51#  define CPU_MODEL_NAME  "ARMv5TE"
52
53#elif defined(__ARM_ARCH_6J__)
54#  define CPU_MODEL_NAME  "ARMv6J"
55
56#else
57#  error "Unsupported CPU Model"
58
59#endif
60
61/* All ARM CPUs are assumed to not have floating point units */
62#if defined(__SOFTFP__)
63#define ARM_HAS_FPU     0
64#else
65#define ARM_HAS_FPU     1
66# error "FPU-support not yet implemented for the arm"
67#endif
68
69
70/*
71 *  Define the name of the CPU family.
72 */
73
74#define CPU_NAME "ARM"
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* _RTEMS_SCORE_ARM_H */
Note: See TracBrowser for help on using the repository browser.