Real-mode only PowerPC 40x do not have any TLBs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3353 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4e80effcf9
commit
141c8ae225
|
@ -2911,7 +2911,8 @@ void cpu_ppc_reset (void *opaque)
|
||||||
msr_pr = 1;
|
msr_pr = 1;
|
||||||
#else
|
#else
|
||||||
env->nip = env->hreset_vector | env->excp_prefix;
|
env->nip = env->hreset_vector | env->excp_prefix;
|
||||||
ppc_tlb_invalidate_all(env);
|
if (env->mmu_model != POWERPC_MMU_REAL_4xx)
|
||||||
|
ppc_tlb_invalidate_all(env);
|
||||||
#endif
|
#endif
|
||||||
do_compute_hflags(env);
|
do_compute_hflags(env);
|
||||||
env->reserve = -1;
|
env->reserve = -1;
|
||||||
|
|
|
@ -2729,7 +2729,6 @@ static void init_proc_IOP480 (CPUPPCState *env)
|
||||||
/* PowerPC 403 */
|
/* PowerPC 403 */
|
||||||
#define POWERPC_INSNS_403 (POWERPC_INSNS_EMB | \
|
#define POWERPC_INSNS_403 (POWERPC_INSNS_EMB | \
|
||||||
PPC_MEM_SYNC | PPC_MEM_EIEIO | \
|
PPC_MEM_SYNC | PPC_MEM_EIEIO | \
|
||||||
PPC_40x_TLB | PPC_MEM_TLBIA | PPC_MEM_TLBSYNC | \
|
|
||||||
PPC_4xx_COMMON | PPC_40x_EXCP | PPC_40x_ICBT)
|
PPC_4xx_COMMON | PPC_40x_EXCP | PPC_40x_ICBT)
|
||||||
#define POWERPC_MSRM_403 (0x000000000007D00DULL)
|
#define POWERPC_MSRM_403 (0x000000000007D00DULL)
|
||||||
#define POWERPC_MMU_403 (POWERPC_MMU_REAL_4xx)
|
#define POWERPC_MMU_403 (POWERPC_MMU_REAL_4xx)
|
||||||
|
|
Loading…
Reference in a new issue