Commit b49d07ba03bd727f198d92749147ec1a9bee6509
1 parent
33ef55bd
Use target_ulong type for emulator registers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2381 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
3 deletions
cpu-exec.c
@@ -226,9 +226,9 @@ static inline TranslationBlock *tb_find_fast(void) | @@ -226,9 +226,9 @@ static inline TranslationBlock *tb_find_fast(void) | ||
226 | 226 | ||
227 | int cpu_exec(CPUState *env1) | 227 | int cpu_exec(CPUState *env1) |
228 | { | 228 | { |
229 | - int saved_T0, saved_T1; | 229 | + target_ulong saved_T0, saved_T1; |
230 | #if defined(reg_T2) | 230 | #if defined(reg_T2) |
231 | - int saved_T2; | 231 | + target_ulong saved_T2; |
232 | #endif | 232 | #endif |
233 | CPUState *saved_env; | 233 | CPUState *saved_env; |
234 | #if defined(TARGET_I386) | 234 | #if defined(TARGET_I386) |
@@ -262,7 +262,8 @@ int cpu_exec(CPUState *env1) | @@ -262,7 +262,8 @@ int cpu_exec(CPUState *env1) | ||
262 | #endif | 262 | #endif |
263 | #endif | 263 | #endif |
264 | #if defined(__sparc__) && !defined(HOST_SOLARIS) | 264 | #if defined(__sparc__) && !defined(HOST_SOLARIS) |
265 | - int saved_i7, tmp_T0; | 265 | + int saved_i7; |
266 | + target_ulong tmp_T0; | ||
266 | #endif | 267 | #endif |
267 | int ret, interrupt_request; | 268 | int ret, interrupt_request; |
268 | void (*gen_func)(void); | 269 | void (*gen_func)(void); |