mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Choose number of TLBs at runtime, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2693 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
04f20795ac
commit
fcb4a419f5
7 changed files with 26 additions and 27 deletions
|
@ -5430,10 +5430,6 @@ void cpu_reset (CPUMIPSState *env)
|
|||
}
|
||||
env->hflags = 0;
|
||||
env->PC = (int32_t)0xBFC00000;
|
||||
#if defined (MIPS_USES_R4K_TLB)
|
||||
env->CP0_Random = MIPS_TLB_NB - 1;
|
||||
env->tlb_in_use = MIPS_TLB_NB;
|
||||
#endif
|
||||
env->CP0_Wired = 0;
|
||||
/* SMP not implemented */
|
||||
env->CP0_EBase = 0x80000000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue