projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ded4008
)
mips: Default to using one VPE and one TC.
author
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Mon, 29 Aug 2011 21:07:38 +0000
(23:07 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Tue, 6 Sep 2011 09:09:39 +0000
(11:09 +0200)
Boards can override the setup if needed.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-mips/translate_init.c
patch
|
blob
|
history
diff --git
a/target-mips/translate_init.c
b/target-mips/translate_init.c
index fe6b1fd694833aed79ccc942c85863051961fac3..c39138f3c53467156f9bb8716b6ae47cc81f340e 100644
(file)
--- a/
target-mips/translate_init.c
+++ b/
target-mips/translate_init.c
@@
-580,7
+580,7
@@
static void mvp_init (CPUMIPSState *env, const mips_def_t *def)
// (1 << CP0MVPC0_TCA) | (0x1 << CP0MVPC0_PVPE) |
// (0x04 << CP0MVPC0_PTC);
(1 << CP0MVPC0_TCA) | (0x0 << CP0MVPC0_PVPE) |
- (0x0
4
<< CP0MVPC0_PTC);
+ (0x0
0
<< CP0MVPC0_PTC);
#if !defined(CONFIG_USER_ONLY)
/* Usermode has no TLB support */
env->mvp->CP0_MVPConf0 |= (env->tlb->nb_tlb << CP0MVPC0_PTLBE);