diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-20 22:47:42 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-20 22:47:42 +0000 |
commit | c068688b03f4af8994ba0d7bd41a74c8f245453b (patch) | |
tree | 9610a62180ad9afc24ad191ccd530c28adb6b282 /target-mips | |
parent | 5e3b100b65ea3af8e9a31507541e26d5e439e377 (diff) | |
download | hqemu-c068688b03f4af8994ba0d7bd41a74c8f245453b.zip hqemu-c068688b03f4af8994ba0d7bd41a74c8f245453b.tar.gz |
Extend TB flags to 64 bits (Alexander Graf).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3198 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index 8e6fe0e..ddffc0f 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -6403,7 +6403,7 @@ gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, ctx.tb = tb; ctx.bstate = BS_NONE; /* Restore delay slot state from the tb context. */ - ctx.hflags = tb->flags; + ctx.hflags = (uint32_t)tb->flags; /* FIXME: maybe use 64 bits here? */ restore_cpu_state(env, &ctx); #if defined(CONFIG_USER_ONLY) ctx.mem_idx = 0; |