root / softmmu_header.h @ 6c9bf893
History | View | Annotate | Download (9.5 kB)
1 | b92e5a22 | bellard | /*
|
---|---|---|---|
2 | b92e5a22 | bellard | * Software MMU support
|
3 | b92e5a22 | bellard | *
|
4 | b92e5a22 | bellard | * Copyright (c) 2003 Fabrice Bellard
|
5 | b92e5a22 | bellard | *
|
6 | b92e5a22 | bellard | * This library is free software; you can redistribute it and/or
|
7 | b92e5a22 | bellard | * modify it under the terms of the GNU Lesser General Public
|
8 | b92e5a22 | bellard | * License as published by the Free Software Foundation; either
|
9 | b92e5a22 | bellard | * version 2 of the License, or (at your option) any later version.
|
10 | b92e5a22 | bellard | *
|
11 | b92e5a22 | bellard | * This library is distributed in the hope that it will be useful,
|
12 | b92e5a22 | bellard | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 | b92e5a22 | bellard | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 | b92e5a22 | bellard | * Lesser General Public License for more details.
|
15 | b92e5a22 | bellard | *
|
16 | b92e5a22 | bellard | * You should have received a copy of the GNU Lesser General Public
|
17 | b92e5a22 | bellard | * License along with this library; if not, write to the Free Software
|
18 | b92e5a22 | bellard | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19 | b92e5a22 | bellard | */
|
20 | b92e5a22 | bellard | #if DATA_SIZE == 8 |
21 | b92e5a22 | bellard | #define SUFFIX q
|
22 | 61382a50 | bellard | #define USUFFIX q
|
23 | b92e5a22 | bellard | #define DATA_TYPE uint64_t
|
24 | b92e5a22 | bellard | #elif DATA_SIZE == 4 |
25 | b92e5a22 | bellard | #define SUFFIX l
|
26 | 61382a50 | bellard | #define USUFFIX l
|
27 | b92e5a22 | bellard | #define DATA_TYPE uint32_t
|
28 | b92e5a22 | bellard | #elif DATA_SIZE == 2 |
29 | b92e5a22 | bellard | #define SUFFIX w
|
30 | 61382a50 | bellard | #define USUFFIX uw
|
31 | b92e5a22 | bellard | #define DATA_TYPE uint16_t
|
32 | b92e5a22 | bellard | #define DATA_STYPE int16_t
|
33 | b92e5a22 | bellard | #elif DATA_SIZE == 1 |
34 | b92e5a22 | bellard | #define SUFFIX b
|
35 | 61382a50 | bellard | #define USUFFIX ub
|
36 | b92e5a22 | bellard | #define DATA_TYPE uint8_t
|
37 | b92e5a22 | bellard | #define DATA_STYPE int8_t
|
38 | b92e5a22 | bellard | #else
|
39 | b92e5a22 | bellard | #error unsupported data size
|
40 | b92e5a22 | bellard | #endif
|
41 | b92e5a22 | bellard | |
42 | 61382a50 | bellard | #if ACCESS_TYPE == 0 |
43 | 61382a50 | bellard | |
44 | 61382a50 | bellard | #define CPU_MEM_INDEX 0 |
45 | 61382a50 | bellard | #define MMUSUFFIX _mmu
|
46 | 61382a50 | bellard | |
47 | 61382a50 | bellard | #elif ACCESS_TYPE == 1 |
48 | 61382a50 | bellard | |
49 | 61382a50 | bellard | #define CPU_MEM_INDEX 1 |
50 | 61382a50 | bellard | #define MMUSUFFIX _mmu
|
51 | 61382a50 | bellard | |
52 | 61382a50 | bellard | #elif ACCESS_TYPE == 2 |
53 | 61382a50 | bellard | |
54 | 2d603d22 | bellard | #ifdef TARGET_I386
|
55 | 61382a50 | bellard | #define CPU_MEM_INDEX ((env->hflags & HF_CPL_MASK) == 3) |
56 | 2d603d22 | bellard | #elif defined (TARGET_PPC)
|
57 | 2d603d22 | bellard | #define CPU_MEM_INDEX (msr_pr)
|
58 | 2d603d22 | bellard | #endif
|
59 | 61382a50 | bellard | #define MMUSUFFIX _mmu
|
60 | 61382a50 | bellard | |
61 | 61382a50 | bellard | #elif ACCESS_TYPE == 3 |
62 | 61382a50 | bellard | |
63 | 2d603d22 | bellard | #ifdef TARGET_I386
|
64 | 61382a50 | bellard | #define CPU_MEM_INDEX ((env->hflags & HF_CPL_MASK) == 3) |
65 | 2d603d22 | bellard | #elif defined (TARGET_PPC)
|
66 | 2d603d22 | bellard | #define CPU_MEM_INDEX (msr_pr)
|
67 | 2d603d22 | bellard | #endif
|
68 | 61382a50 | bellard | #define MMUSUFFIX _cmmu
|
69 | 61382a50 | bellard | |
70 | b92e5a22 | bellard | #else
|
71 | 61382a50 | bellard | #error invalid ACCESS_TYPE
|
72 | b92e5a22 | bellard | #endif
|
73 | b92e5a22 | bellard | |
74 | b92e5a22 | bellard | #if DATA_SIZE == 8 |
75 | b92e5a22 | bellard | #define RES_TYPE uint64_t
|
76 | b92e5a22 | bellard | #else
|
77 | b92e5a22 | bellard | #define RES_TYPE int |
78 | b92e5a22 | bellard | #endif
|
79 | b92e5a22 | bellard | |
80 | b92e5a22 | bellard | |
81 | 61382a50 | bellard | DATA_TYPE REGPARM(1) glue(glue(__ld, SUFFIX), MMUSUFFIX)(unsigned long addr, |
82 | 61382a50 | bellard | int is_user);
|
83 | 61382a50 | bellard | void REGPARM(2) glue(glue(__st, SUFFIX), MMUSUFFIX)(unsigned long addr, DATA_TYPE v, int is_user); |
84 | b92e5a22 | bellard | |
85 | e16c53fa | bellard | #if (DATA_SIZE <= 4) && defined(__i386__) && (ACCESS_TYPE <= 1) && defined(ASM_SOFTMMU) |
86 | e16c53fa | bellard | |
87 | e16c53fa | bellard | static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(void *ptr) |
88 | e16c53fa | bellard | { |
89 | e16c53fa | bellard | int res;
|
90 | e16c53fa | bellard | |
91 | e16c53fa | bellard | asm volatile ("movl %1, %%edx\n" |
92 | e16c53fa | bellard | "movl %1, %%eax\n"
|
93 | e16c53fa | bellard | "shrl %3, %%edx\n"
|
94 | e16c53fa | bellard | "andl %4, %%eax\n"
|
95 | e16c53fa | bellard | "andl %2, %%edx\n"
|
96 | e16c53fa | bellard | "leal %5(%%edx, %%ebp), %%edx\n"
|
97 | e16c53fa | bellard | "cmpl (%%edx), %%eax\n"
|
98 | e16c53fa | bellard | "movl %1, %%eax\n"
|
99 | e16c53fa | bellard | "je 1f\n"
|
100 | e16c53fa | bellard | "pushl %6\n"
|
101 | e16c53fa | bellard | "call %7\n"
|
102 | e16c53fa | bellard | "popl %%edx\n"
|
103 | e16c53fa | bellard | "movl %%eax, %0\n"
|
104 | e16c53fa | bellard | "jmp 2f\n"
|
105 | e16c53fa | bellard | "1:\n"
|
106 | e16c53fa | bellard | "addl 4(%%edx), %%eax\n"
|
107 | e16c53fa | bellard | #if DATA_SIZE == 1 |
108 | e16c53fa | bellard | "movzbl (%%eax), %0\n"
|
109 | e16c53fa | bellard | #elif DATA_SIZE == 2 |
110 | e16c53fa | bellard | "movzwl (%%eax), %0\n"
|
111 | e16c53fa | bellard | #elif DATA_SIZE == 4 |
112 | e16c53fa | bellard | "movl (%%eax), %0\n"
|
113 | e16c53fa | bellard | #else
|
114 | e16c53fa | bellard | #error unsupported size
|
115 | e16c53fa | bellard | #endif
|
116 | e16c53fa | bellard | "2:\n"
|
117 | e16c53fa | bellard | : "=r" (res)
|
118 | e16c53fa | bellard | : "r" (ptr),
|
119 | e16c53fa | bellard | "i" ((CPU_TLB_SIZE - 1) << 3), |
120 | e16c53fa | bellard | "i" (TARGET_PAGE_BITS - 3), |
121 | e16c53fa | bellard | "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)), |
122 | e16c53fa | bellard | "m" (*(uint32_t *)offsetof(CPUState, tlb_read[CPU_MEM_INDEX][0].address)), |
123 | e16c53fa | bellard | "i" (CPU_MEM_INDEX),
|
124 | e16c53fa | bellard | "m" (*(uint8_t *)&glue(glue(__ld, SUFFIX), MMUSUFFIX))
|
125 | e16c53fa | bellard | : "%eax", "%ecx", "%edx", "memory", "cc"); |
126 | e16c53fa | bellard | return res;
|
127 | e16c53fa | bellard | } |
128 | e16c53fa | bellard | |
129 | e16c53fa | bellard | #if DATA_SIZE <= 2 |
130 | e16c53fa | bellard | static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(void *ptr) |
131 | e16c53fa | bellard | { |
132 | e16c53fa | bellard | int res;
|
133 | e16c53fa | bellard | |
134 | e16c53fa | bellard | asm volatile ("movl %1, %%edx\n" |
135 | e16c53fa | bellard | "movl %1, %%eax\n"
|
136 | e16c53fa | bellard | "shrl %3, %%edx\n"
|
137 | e16c53fa | bellard | "andl %4, %%eax\n"
|
138 | e16c53fa | bellard | "andl %2, %%edx\n"
|
139 | e16c53fa | bellard | "leal %5(%%edx, %%ebp), %%edx\n"
|
140 | e16c53fa | bellard | "cmpl (%%edx), %%eax\n"
|
141 | e16c53fa | bellard | "movl %1, %%eax\n"
|
142 | e16c53fa | bellard | "je 1f\n"
|
143 | e16c53fa | bellard | "pushl %6\n"
|
144 | e16c53fa | bellard | "call %7\n"
|
145 | e16c53fa | bellard | "popl %%edx\n"
|
146 | e16c53fa | bellard | #if DATA_SIZE == 1 |
147 | e16c53fa | bellard | "movsbl %%al, %0\n"
|
148 | e16c53fa | bellard | #elif DATA_SIZE == 2 |
149 | e16c53fa | bellard | "movswl %%ax, %0\n"
|
150 | e16c53fa | bellard | #else
|
151 | e16c53fa | bellard | #error unsupported size
|
152 | e16c53fa | bellard | #endif
|
153 | e16c53fa | bellard | "jmp 2f\n"
|
154 | e16c53fa | bellard | "1:\n"
|
155 | e16c53fa | bellard | "addl 4(%%edx), %%eax\n"
|
156 | e16c53fa | bellard | #if DATA_SIZE == 1 |
157 | e16c53fa | bellard | "movsbl (%%eax), %0\n"
|
158 | e16c53fa | bellard | #elif DATA_SIZE == 2 |
159 | e16c53fa | bellard | "movswl (%%eax), %0\n"
|
160 | e16c53fa | bellard | #else
|
161 | e16c53fa | bellard | #error unsupported size
|
162 | e16c53fa | bellard | #endif
|
163 | e16c53fa | bellard | "2:\n"
|
164 | e16c53fa | bellard | : "=r" (res)
|
165 | e16c53fa | bellard | : "r" (ptr),
|
166 | e16c53fa | bellard | "i" ((CPU_TLB_SIZE - 1) << 3), |
167 | e16c53fa | bellard | "i" (TARGET_PAGE_BITS - 3), |
168 | e16c53fa | bellard | "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)), |
169 | e16c53fa | bellard | "m" (*(uint32_t *)offsetof(CPUState, tlb_read[CPU_MEM_INDEX][0].address)), |
170 | e16c53fa | bellard | "i" (CPU_MEM_INDEX),
|
171 | e16c53fa | bellard | "m" (*(uint8_t *)&glue(glue(__ld, SUFFIX), MMUSUFFIX))
|
172 | e16c53fa | bellard | : "%eax", "%ecx", "%edx", "memory", "cc"); |
173 | e16c53fa | bellard | return res;
|
174 | e16c53fa | bellard | } |
175 | e16c53fa | bellard | #endif
|
176 | e16c53fa | bellard | |
177 | e16c53fa | bellard | static inline void glue(glue(st, SUFFIX), MEMSUFFIX)(void *ptr, RES_TYPE v) |
178 | e16c53fa | bellard | { |
179 | e16c53fa | bellard | asm volatile ("movl %0, %%edx\n" |
180 | e16c53fa | bellard | "movl %0, %%eax\n"
|
181 | e16c53fa | bellard | "shrl %3, %%edx\n"
|
182 | e16c53fa | bellard | "andl %4, %%eax\n"
|
183 | e16c53fa | bellard | "andl %2, %%edx\n"
|
184 | e16c53fa | bellard | "leal %5(%%edx, %%ebp), %%edx\n"
|
185 | e16c53fa | bellard | "cmpl (%%edx), %%eax\n"
|
186 | e16c53fa | bellard | "movl %0, %%eax\n"
|
187 | e16c53fa | bellard | "je 1f\n"
|
188 | e16c53fa | bellard | #if DATA_SIZE == 1 |
189 | e16c53fa | bellard | "movzbl %b1, %%edx\n"
|
190 | e16c53fa | bellard | #elif DATA_SIZE == 2 |
191 | e16c53fa | bellard | "movzwl %w1, %%edx\n"
|
192 | e16c53fa | bellard | #elif DATA_SIZE == 4 |
193 | e16c53fa | bellard | "movl %1, %%edx\n"
|
194 | e16c53fa | bellard | #else
|
195 | e16c53fa | bellard | #error unsupported size
|
196 | e16c53fa | bellard | #endif
|
197 | e16c53fa | bellard | "pushl %6\n"
|
198 | e16c53fa | bellard | "call %7\n"
|
199 | e16c53fa | bellard | "popl %%eax\n"
|
200 | e16c53fa | bellard | "jmp 2f\n"
|
201 | e16c53fa | bellard | "1:\n"
|
202 | e16c53fa | bellard | "addl 4(%%edx), %%eax\n"
|
203 | e16c53fa | bellard | #if DATA_SIZE == 1 |
204 | e16c53fa | bellard | "movb %b1, (%%eax)\n"
|
205 | e16c53fa | bellard | #elif DATA_SIZE == 2 |
206 | e16c53fa | bellard | "movw %w1, (%%eax)\n"
|
207 | e16c53fa | bellard | #elif DATA_SIZE == 4 |
208 | e16c53fa | bellard | "movl %1, (%%eax)\n"
|
209 | e16c53fa | bellard | #else
|
210 | e16c53fa | bellard | #error unsupported size
|
211 | e16c53fa | bellard | #endif
|
212 | e16c53fa | bellard | "2:\n"
|
213 | e16c53fa | bellard | : |
214 | e16c53fa | bellard | : "r" (ptr),
|
215 | e16c53fa | bellard | /* NOTE: 'q' would be needed as constraint, but we could not use it
|
216 | e16c53fa | bellard | with T1 ! */
|
217 | e16c53fa | bellard | "r" (v),
|
218 | e16c53fa | bellard | "i" ((CPU_TLB_SIZE - 1) << 3), |
219 | e16c53fa | bellard | "i" (TARGET_PAGE_BITS - 3), |
220 | e16c53fa | bellard | "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)), |
221 | e16c53fa | bellard | "m" (*(uint32_t *)offsetof(CPUState, tlb_write[CPU_MEM_INDEX][0].address)), |
222 | e16c53fa | bellard | "i" (CPU_MEM_INDEX),
|
223 | e16c53fa | bellard | "m" (*(uint8_t *)&glue(glue(__st, SUFFIX), MMUSUFFIX))
|
224 | e16c53fa | bellard | : "%eax", "%ecx", "%edx", "memory", "cc"); |
225 | e16c53fa | bellard | } |
226 | e16c53fa | bellard | |
227 | e16c53fa | bellard | #else
|
228 | e16c53fa | bellard | |
229 | e16c53fa | bellard | /* generic load/store macros */
|
230 | e16c53fa | bellard | |
231 | 8948b5d6 | bellard | static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(void *ptr) |
232 | b92e5a22 | bellard | { |
233 | b92e5a22 | bellard | int index;
|
234 | b92e5a22 | bellard | RES_TYPE res; |
235 | b92e5a22 | bellard | unsigned long addr, physaddr; |
236 | 61382a50 | bellard | int is_user;
|
237 | 61382a50 | bellard | |
238 | b92e5a22 | bellard | addr = (unsigned long)ptr; |
239 | b92e5a22 | bellard | index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
|
240 | 61382a50 | bellard | is_user = CPU_MEM_INDEX; |
241 | 61382a50 | bellard | if (__builtin_expect(env->tlb_read[is_user][index].address !=
|
242 | b92e5a22 | bellard | (addr & (TARGET_PAGE_MASK | (DATA_SIZE - 1))), 0)) { |
243 | 61382a50 | bellard | res = glue(glue(__ld, SUFFIX), MMUSUFFIX)(addr, is_user); |
244 | b92e5a22 | bellard | } else {
|
245 | 61382a50 | bellard | physaddr = addr + env->tlb_read[is_user][index].addend; |
246 | 61382a50 | bellard | res = glue(glue(ld, USUFFIX), _raw)((uint8_t *)physaddr); |
247 | b92e5a22 | bellard | } |
248 | b92e5a22 | bellard | return res;
|
249 | b92e5a22 | bellard | } |
250 | b92e5a22 | bellard | |
251 | b92e5a22 | bellard | #if DATA_SIZE <= 2 |
252 | b92e5a22 | bellard | static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(void *ptr) |
253 | b92e5a22 | bellard | { |
254 | b92e5a22 | bellard | int res, index;
|
255 | b92e5a22 | bellard | unsigned long addr, physaddr; |
256 | 61382a50 | bellard | int is_user;
|
257 | 61382a50 | bellard | |
258 | b92e5a22 | bellard | addr = (unsigned long)ptr; |
259 | b92e5a22 | bellard | index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
|
260 | 61382a50 | bellard | is_user = CPU_MEM_INDEX; |
261 | 61382a50 | bellard | if (__builtin_expect(env->tlb_read[is_user][index].address !=
|
262 | b92e5a22 | bellard | (addr & (TARGET_PAGE_MASK | (DATA_SIZE - 1))), 0)) { |
263 | 61382a50 | bellard | res = (DATA_STYPE)glue(glue(__ld, SUFFIX), MMUSUFFIX)(addr, is_user); |
264 | b92e5a22 | bellard | } else {
|
265 | 61382a50 | bellard | physaddr = addr + env->tlb_read[is_user][index].addend; |
266 | b92e5a22 | bellard | res = glue(glue(lds, SUFFIX), _raw)((uint8_t *)physaddr); |
267 | b92e5a22 | bellard | } |
268 | b92e5a22 | bellard | return res;
|
269 | b92e5a22 | bellard | } |
270 | b92e5a22 | bellard | #endif
|
271 | b92e5a22 | bellard | |
272 | e16c53fa | bellard | /* generic store macro */
|
273 | e16c53fa | bellard | |
274 | b92e5a22 | bellard | static inline void glue(glue(st, SUFFIX), MEMSUFFIX)(void *ptr, RES_TYPE v) |
275 | b92e5a22 | bellard | { |
276 | b92e5a22 | bellard | int index;
|
277 | b92e5a22 | bellard | unsigned long addr, physaddr; |
278 | 61382a50 | bellard | int is_user;
|
279 | 61382a50 | bellard | |
280 | b92e5a22 | bellard | addr = (unsigned long)ptr; |
281 | b92e5a22 | bellard | index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
|
282 | 61382a50 | bellard | is_user = CPU_MEM_INDEX; |
283 | 61382a50 | bellard | if (__builtin_expect(env->tlb_write[is_user][index].address !=
|
284 | b92e5a22 | bellard | (addr & (TARGET_PAGE_MASK | (DATA_SIZE - 1))), 0)) { |
285 | 61382a50 | bellard | glue(glue(__st, SUFFIX), MMUSUFFIX)(addr, v, is_user); |
286 | b92e5a22 | bellard | } else {
|
287 | 61382a50 | bellard | physaddr = addr + env->tlb_write[is_user][index].addend; |
288 | b92e5a22 | bellard | glue(glue(st, SUFFIX), _raw)((uint8_t *)physaddr, v); |
289 | b92e5a22 | bellard | } |
290 | b92e5a22 | bellard | } |
291 | b92e5a22 | bellard | |
292 | e16c53fa | bellard | #endif
|
293 | e16c53fa | bellard | |
294 | 2d603d22 | bellard | #if DATA_SIZE == 8 |
295 | 2d603d22 | bellard | static inline double glue(ldfq, MEMSUFFIX)(void *ptr) |
296 | 2d603d22 | bellard | { |
297 | 2d603d22 | bellard | union {
|
298 | 2d603d22 | bellard | double d;
|
299 | 2d603d22 | bellard | uint64_t i; |
300 | 2d603d22 | bellard | } u; |
301 | 2d603d22 | bellard | u.i = glue(ldq, MEMSUFFIX)(ptr); |
302 | 2d603d22 | bellard | return u.d;
|
303 | 2d603d22 | bellard | } |
304 | 2d603d22 | bellard | |
305 | 2d603d22 | bellard | static inline void glue(stfq, MEMSUFFIX)(void *ptr, double v) |
306 | 2d603d22 | bellard | { |
307 | 2d603d22 | bellard | union {
|
308 | 2d603d22 | bellard | double d;
|
309 | 2d603d22 | bellard | uint64_t i; |
310 | 2d603d22 | bellard | } u; |
311 | 2d603d22 | bellard | u.d = v; |
312 | 2d603d22 | bellard | glue(stq, MEMSUFFIX)(ptr, u.i); |
313 | 2d603d22 | bellard | } |
314 | 2d603d22 | bellard | #endif /* DATA_SIZE == 8 */ |
315 | 2d603d22 | bellard | |
316 | 2d603d22 | bellard | #if DATA_SIZE == 4 |
317 | 2d603d22 | bellard | static inline float glue(ldfl, MEMSUFFIX)(void *ptr) |
318 | 2d603d22 | bellard | { |
319 | 2d603d22 | bellard | union {
|
320 | 2d603d22 | bellard | float f;
|
321 | 2d603d22 | bellard | uint32_t i; |
322 | 2d603d22 | bellard | } u; |
323 | 2d603d22 | bellard | u.i = glue(ldl, MEMSUFFIX)(ptr); |
324 | 2d603d22 | bellard | return u.f;
|
325 | 2d603d22 | bellard | } |
326 | 2d603d22 | bellard | |
327 | 2d603d22 | bellard | static inline void glue(stfl, MEMSUFFIX)(void *ptr, float v) |
328 | 2d603d22 | bellard | { |
329 | 2d603d22 | bellard | union {
|
330 | 2d603d22 | bellard | float f;
|
331 | 2d603d22 | bellard | uint32_t i; |
332 | 2d603d22 | bellard | } u; |
333 | 2d603d22 | bellard | u.f = v; |
334 | 2d603d22 | bellard | glue(stl, MEMSUFFIX)(ptr, u.i); |
335 | 2d603d22 | bellard | } |
336 | 2d603d22 | bellard | #endif /* DATA_SIZE == 4 */ |
337 | 2d603d22 | bellard | |
338 | b92e5a22 | bellard | #undef RES_TYPE
|
339 | b92e5a22 | bellard | #undef DATA_TYPE
|
340 | b92e5a22 | bellard | #undef DATA_STYPE
|
341 | b92e5a22 | bellard | #undef SUFFIX
|
342 | 61382a50 | bellard | #undef USUFFIX
|
343 | b92e5a22 | bellard | #undef DATA_SIZE
|
344 | 61382a50 | bellard | #undef CPU_MEM_INDEX
|
345 | 61382a50 | bellard | #undef MMUSUFFIX |