4.104.115
Line | |
---|
1 | /* bfin.h |
---|
2 | * |
---|
3 | * This file sets up basic CPU dependency settings based on |
---|
4 | * compiler settings. For example, it can determine if |
---|
5 | * floating point is available. This particular implementation |
---|
6 | * is specified to the Blackfin port. |
---|
7 | * |
---|
8 | * |
---|
9 | * COPYRIGHT (c) 1989-2006. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * modified by Alain Schaefer <alain.schaefer@easc.ch> |
---|
12 | * and Antonio Giovanini <antonio@atos.com.br> |
---|
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 | * $Id$ |
---|
19 | * |
---|
20 | */ |
---|
21 | |
---|
22 | #ifndef _RTEMS_SCORE_BFIN_H |
---|
23 | #define _RTEMS_SCORE_BFIN_H |
---|
24 | |
---|
25 | #ifdef __cplusplus |
---|
26 | extern "C" { |
---|
27 | #endif |
---|
28 | |
---|
29 | |
---|
30 | /* |
---|
31 | * This file contains the information required to build |
---|
32 | * RTEMS for a particular member of the Blackfin family. |
---|
33 | * It does this by setting variables to indicate which |
---|
34 | * implementation dependent features are present in a particular |
---|
35 | * member of the family. |
---|
36 | * |
---|
37 | * This is a good place to list all the known CPU models |
---|
38 | * that this port supports and which RTEMS CPU model they correspond |
---|
39 | * to. |
---|
40 | */ |
---|
41 | |
---|
42 | /* |
---|
43 | * Figure out all CPU Model Feature Flags based upon compiler |
---|
44 | * predefines. |
---|
45 | */ |
---|
46 | #if defined(__BFIN__) |
---|
47 | #define CPU_MODEL_NAME "BF533" |
---|
48 | #define BF_HAS_FPU 0 |
---|
49 | #else |
---|
50 | |
---|
51 | #error "Unsupported CPU Model" |
---|
52 | |
---|
53 | #endif |
---|
54 | |
---|
55 | /* |
---|
56 | * Define the name of the CPU family. |
---|
57 | */ |
---|
58 | |
---|
59 | #define CPU_NAME "BFIN" |
---|
60 | |
---|
61 | #ifdef __cplusplus |
---|
62 | } |
---|
63 | #endif |
---|
64 | |
---|
65 | #endif /* _RTEMS_SCORE_BFIN_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.