RTEMS 6.1-rc6
Loading...
Searching...
No Matches
nios2.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
15/*
16 * COPYRIGHT (c) 1989-1999.
17 * On-Line Applications Research Corporation (OAR).
18 *
19 * Redistribution and use in source and binary forms, with or without
20 * modification, are permitted provided that the following conditions
21 * are met:
22 * 1. Redistributions of source code must retain the above copyright
23 * notice, this list of conditions and the following disclaimer.
24 * 2. Redistributions in binary form must reproduce the above copyright
25 * notice, this list of conditions and the following disclaimer in the
26 * documentation and/or other materials provided with the distribution.
27 *
28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
32 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
34 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
35 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38 * POSSIBILITY OF SUCH DAMAGE.
39 *
40 */
41
42#ifndef _RTEMS_SCORE_NIOS2_H
43#define _RTEMS_SCORE_NIOS2_H
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49/*
50 * This file contains the information required to build
51 * RTEMS for a particular member of the NIOS2 family.
52 * It does this by setting variables to indicate which
53 * implementation dependent features are present in a particular
54 * member of the family.
55 *
56 * This is a good place to list all the known CPU models
57 * that this port supports and which RTEMS CPU model they correspond
58 * to.
59 */
60
61/*
62 * Define the name of the CPU family and specific model.
63 */
64
65#define CPU_NAME "NIOS2"
66#define CPU_MODEL_NAME "nios2"
67
68/*
69 * See also nios2-rtems-gcc -print-multi-lib for all valid combinations of
70 *
71 * -mno-hw-mul
72 * -mhw-mulx
73 * -mstack-check
74 * -pg
75 * -EB
76 * -mcustom-fpu-cfg=60-1
77 * -mcustom-fpu-cfg=60-2
78 */
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif /* _RTEMS_SCORE_NIOS2_H */