source:
rtems/cpukit/score/cpu/nios2/rtems/score/nios2.h
@
7a28ac8
Last change on this file since 7a28ac8 was 7a28ac8, checked in by Joel Sherrill <joel.sherrill@…>, on 09/10/08 at 15:41:37 | |
---|---|
|
|
File size: 1.4 KB |
Line | |
---|---|
1 | /* nios2.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 specific to the NIOS2 port. |
7 | * |
8 | * |
9 | * COPYRIGHT (c) 1989-1999. |
10 | * On-Line Applications Research Corporation (OAR). |
11 | * |
12 | * The license and distribution terms for this file may be |
13 | * found in the file LICENSE in this distribution or at |
14 | * http://www.rtems.com/license/LICENSE. |
15 | * |
16 | * $Id$ |
17 | * |
18 | */ |
19 | |
20 | #ifndef _RTEMS_SCORE_NIOS2_H |
21 | #define _RTEMS_SCORE_NIOS2_H |
22 | |
23 | #ifdef __cplusplus |
24 | extern "C" { |
25 | #endif |
26 | |
27 | /* |
28 | * This file contains the information required to build |
29 | * RTEMS for a particular member of the NIOS2 family. |
30 | * It does this by setting variables to indicate which |
31 | * implementation dependent features are present in a particular |
32 | * member of the family. |
33 | * |
34 | * This is a good place to list all the known CPU models |
35 | * that this port supports and which RTEMS CPU model they correspond |
36 | * to. |
37 | */ |
38 | |
39 | /* |
40 | * Define the name of the CPU family and specific model. |
41 | */ |
42 | |
43 | #define CPU_NAME "NIOS2" |
44 | #define CPU_MODEL_NAME "nios2" |
45 | |
46 | /* |
47 | * See also nios2-rtems-gcc -print-multi-lib for all valid combinations of |
48 | * |
49 | * -mno-hw-mul |
50 | * -mhw-mulx |
51 | * -mstack-check |
52 | * -pg |
53 | * -EB |
54 | * -mcustom-fpu-cfg=60-1 |
55 | * -mcustom-fpu-cfg=60-2 |
56 | */ |
57 | |
58 | #ifdef __cplusplus |
59 | } |
60 | #endif |
61 | |
62 | #endif /* _RTEMS_SCORE_NIOS2_H */ |
Note: See TracBrowser
for help on using the repository browser.