qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6463] CRIS: Init the feedback shiftreg used for randomizing TLB sets.
Date: Mon, 26 Jan 2009 22:21:33 +0000	[thread overview]
Message-ID: <E1LRZpl-00054j-S1@cvs.savannah.gnu.org> (raw)

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
 }

                 reply	other threads:[~2009-01-26 22:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LRZpl-00054j-S1@cvs.savannah.gnu.org \
    --to=edgar.iglesias@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).