Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* This file is part of the program psim. |
2 | ||
3 | Copyright (C) 1994-1997, Andrew Cagney <cagney@highland.com.au> | |
4 | Copyright (C) 1997, Free Software Foundation, Inc. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation; either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; if not, write to the Free Software | |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
19 | ||
20 | */ | |
21 | ||
22 | ||
23 | #ifndef SIM_INLINE_C | |
24 | #define SIM_INLINE_C | |
25 | ||
26 | #undef SIM_INLINE_P | |
27 | #define SIM_INLINE_P 1 | |
28 | ||
29 | #include "sim-inline.h" | |
30 | #include "sim-main.h" | |
31 | ||
32 | ||
33 | #if C_REVEALS_MODULE_P (SIM_BITS_INLINE) | |
34 | #include "sim-bits.c" | |
35 | #endif | |
36 | ||
37 | ||
38 | #if C_REVEALS_MODULE_P (SIM_CORE_INLINE) | |
39 | #include "sim-core.c" | |
40 | #endif | |
41 | ||
42 | ||
43 | #if C_REVEALS_MODULE_P (SIM_ENDIAN_INLINE) | |
44 | #include "sim-endian.c" | |
45 | #endif | |
46 | ||
47 | ||
48 | #if C_REVEALS_MODULE_P (SIM_EVENTS_INLINE) | |
49 | #include "sim-events.c" | |
50 | #endif | |
51 | ||
52 | ||
53 | #if C_REVEALS_MODULE_P (SIM_FPU_INLINE) | |
54 | #include "sim-fpu.c" | |
55 | #endif | |
56 | ||
57 | ||
58 | #if C_REVEALS_MODULE_P (SIM_TYPES_INLINE) | |
59 | #include "sim-types.c" | |
60 | #endif | |
61 | ||
62 | ||
63 | #if C_REVEALS_MODULE_P (SIM_MAIN_INLINE) | |
64 | #include "sim-main.c" | |
65 | #endif | |
66 | ||
67 | ||
68 | #if C_REVEALS_MODULE_P (ENGINE_INLINE) | |
69 | /* #include "engine.c" - handled by generator */ | |
70 | #endif | |
71 | ||
72 | ||
73 | #if C_REVEALS_MODULE_P (ICACHE_INLINE) | |
74 | /* #include "icache.c" - handled by generator */ | |
75 | #endif | |
76 | ||
77 | ||
78 | #if C_REVEALS_MODULE_P (IDECODE_INLINE) | |
79 | /* #include "idecode.c" - handled by generator */ | |
80 | #endif | |
81 | ||
82 | ||
83 | #if C_REVEALS_MODULE_P (SEMANTICS_INLINE) | |
84 | /* #include "semantics.c" - handled by generator */ | |
85 | #endif | |
86 | ||
87 | ||
88 | #if C_REVEALS_MODULE_P (SUPPORT_INLINE) | |
89 | /* #include "support.c" - handled by generator */ | |
90 | #endif | |
91 | ||
92 | ||
93 | #undef SIM_INLINE_P | |
94 | #define SIM_INLINE_P 0 | |
95 | ||
96 | #endif |