diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-26 18:43:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-26 18:43:28 +0000 |
commit | cc9442b9fc4f86da341f9d4dcb0f04e8e013764d (patch) | |
tree | 013016ab715a56492f2f6ec447932f65e2b0019c /cpu-exec.c | |
parent | 15338fd765041410bc1aa0d7fe7bea7c2849fcde (diff) | |
download | qemu-cc9442b9fc4f86da341f9d4dcb0f04e8e013764d.tar.gz qemu-cc9442b9fc4f86da341f9d4dcb0f04e8e013764d.tar.bz2 qemu-cc9442b9fc4f86da341f9d4dcb0f04e8e013764d.zip |
fixed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1666 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index cddea532a4..5c85c1e9d8 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -192,7 +192,7 @@ static inline TranslationBlock *tb_find_fast(void) pc = env->nip; #elif defined(TARGET_MIPS) flags = env->hflags & MIPS_HFLAGS_TMASK; - cs_base = NULL; + cs_base = 0; pc = env->PC; #else #error unsupported CPU @@ -1056,7 +1056,7 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, } /* see if it is an MMU fault */ - ret = cpu_ppc_handle_mmu_fault(env, address, is_write, msr_pr, 0); + ret = cpu_mips_handle_mmu_fault(env, address, is_write, 1, 0); if (ret < 0) return 0; /* not an MMU fault */ if (ret == 0) |