[6463] CRIS: Init the feedback shiftreg used for randomizing TLB sets.
Revision: 6463
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6463 Author: edgar_igl Date: 2009-01-26 22:21:30 +0000 (Mon, 26 Jan 2009)
Log Message:
-----------
CRIS: Init the feedback shiftreg used for randomizing TLB sets.
Signed-off-by Edgar E. Iglesias <[email protected]>
Modified Paths:
--------------
trunk/target-cris/mmu.h
trunk/target-cris/translate.c
Modified: trunk/target-cris/mmu.h
===================================================================
target-cris/mmu.h +1 -0
@@ -10,6 +10,7 @@int bf_vec; }; +void cris_mmu_init (CPUState *env);void cris_mmu_flush_pid (CPUState *env,uint32_t pid); int cris_mmu_translate(struct cris_mmu_result_t *res, CPUState *env, uint32_t vaddr,
Modified: trunk/target-cris/translate.c
===================================================================
target-cris/translate.c +2 -0
@@ -36,6 +36,7 @@#include "disas.h" #include "tcg-op.h" #include "helper.h" +#include "mmu.h" #include "crisv32-decode.h" #include "qemu-common.h"
@@ -3471,6 +3472,7 @@/* start in user mode with interrupts enabled. */ env->pregs[PR_CCS ] |=U_FLAG |I_FLAG ;#else +cris_mmu_init (env); env->pregs[PR_CCS ] =0 ;#endif }