source: rtems/cpukit/score/cpu/arm/rtems/score/arm.h @ 60b728b5

4.104.115
Last change on this file since 60b728b5 was e0f60887, checked in by Jay Monkman <jtm@…>, on 09/15/05 at 18:44:19

2005-09-15 Jay Monkman

PR 365/rtems

  • rtems/score/arm.h, rtems/score/cpu.h: Removed unused ARM_HAS_CLZ macro
  • 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#else
54#  error "Unsupported CPU Model"
55
56#endif
57
58/* All ARM CPUs are assumed to not have floating point units */
59#if defined(__SOFTFP__)
60#define ARM_HAS_FPU     0
61#else
62#define ARM_HAS_FPU     1
63# error "FPU-support not yet implemented for the arm"
64#endif
65
66
67/*
68 *  Define the name of the CPU family.
69 */
70
71#define CPU_NAME "ARM"
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif /* _RTEMS_SCORE_ARM_H */
Note: See TracBrowser for help on using the repository browser.