RTEMS  5.0.0
bfin.h
Go to the documentation of this file.
1 
13 /*
14  *
15  * COPYRIGHT (c) 1989-2006.
16  * On-Line Applications Research Corporation (OAR).
17  * modified by Alain Schaefer <alain.schaefer@easc.ch>
18  * and Antonio Giovanini <antonio@atos.com.br>
19  *
20  * The license and distribution terms for this file may be
21  * found in the file LICENSE in this distribution or at
22  * http://www.rtems.org/license/LICENSE.
23  *
24  */
25 
26 #ifndef _RTEMS_SCORE_BFIN_H
27 #define _RTEMS_SCORE_BFIN_H
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 
34 /*
35  * This file contains the information required to build
36  * RTEMS for a particular member of the Blackfin family.
37  * It does this by setting variables to indicate which
38  * implementation dependent features are present in a particular
39  * member of the family.
40  *
41  * This is a good place to list all the known CPU models
42  * that this port supports and which RTEMS CPU model they correspond
43  * to.
44  */
45 
46 /*
47  * Figure out all CPU Model Feature Flags based upon compiler
48  * predefines.
49  */
50 #if defined(__BFIN__)
51 #define CPU_MODEL_NAME "BF533"
52 #define BF_HAS_FPU 0
53 #else
54 
55 #error "Unsupported CPU Model"
56 
57 #endif
58 
59 /*
60  * Define the name of the CPU family.
61  */
62 
63 #define CPU_NAME "BFIN"
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif /* _RTEMS_SCORE_BFIN_H */