diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-02 03:57:09 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-02 03:57:09 +0000 |
commit | b49d07ba03bd727f198d92749147ec1a9bee6509 (patch) | |
tree | baa94016706d289402bb4d25bca7f29761bda512 | |
parent | 33ef55bd96d89b3259922438a7c45958438e364c (diff) | |
download | qemu-b49d07ba03bd727f198d92749147ec1a9bee6509.zip qemu-b49d07ba03bd727f198d92749147ec1a9bee6509.tar.gz qemu-b49d07ba03bd727f198d92749147ec1a9bee6509.tar.bz2 |
Use target_ulong type for emulator registers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2381 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | cpu-exec.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -226,9 +226,9 @@ static inline TranslationBlock *tb_find_fast(void) int cpu_exec(CPUState *env1) { - int saved_T0, saved_T1; + target_ulong saved_T0, saved_T1; #if defined(reg_T2) - int saved_T2; + target_ulong saved_T2; #endif CPUState *saved_env; #if defined(TARGET_I386) @@ -262,7 +262,8 @@ int cpu_exec(CPUState *env1) #endif #endif #if defined(__sparc__) && !defined(HOST_SOLARIS) - int saved_i7, tmp_T0; + int saved_i7; + target_ulong tmp_T0; #endif int ret, interrupt_request; void (*gen_func)(void); |