fixed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1666 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
15338fd765
commit
cc9442b9fc
@ -192,7 +192,7 @@ static inline TranslationBlock *tb_find_fast(void)
|
|||||||
pc = env->nip;
|
pc = env->nip;
|
||||||
#elif defined(TARGET_MIPS)
|
#elif defined(TARGET_MIPS)
|
||||||
flags = env->hflags & MIPS_HFLAGS_TMASK;
|
flags = env->hflags & MIPS_HFLAGS_TMASK;
|
||||||
cs_base = NULL;
|
cs_base = 0;
|
||||||
pc = env->PC;
|
pc = env->PC;
|
||||||
#else
|
#else
|
||||||
#error unsupported CPU
|
#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 */
|
/* 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)
|
if (ret < 0)
|
||||||
return 0; /* not an MMU fault */
|
return 0; /* not an MMU fault */
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user