* [Qemu-devel] [6463] CRIS: Init the feedback shiftreg used for randomizing TLB sets.
@ 2009-01-26 22:21 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2009-01-26 22:21 UTC (permalink / raw)
To: qemu-devel
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 <edgar.iglesias@gmail.com>
Modified Paths:
--------------
trunk/target-cris/mmu.h
trunk/target-cris/translate.c
Modified: trunk/target-cris/mmu.h
===================================================================
--- trunk/target-cris/mmu.h 2009-01-26 21:47:27 UTC (rev 6462)
+++ trunk/target-cris/mmu.h 2009-01-26 22:21:30 UTC (rev 6463)
@@ -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
===================================================================
--- trunk/target-cris/translate.c 2009-01-26 21:47:27 UTC (rev 6462)
+++ trunk/target-cris/translate.c 2009-01-26 22:21:30 UTC (rev 6463)
@@ -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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-26 22:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 22:21 [Qemu-devel] [6463] CRIS: Init the feedback shiftreg used for randomizing TLB sets Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).