From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] sh4 doesn't set the cpu_model_str
Date: Mon, 15 Sep 2008 09:34:55 +0200 [thread overview]
Message-ID: <20080915073455.GC9801@volta.aurel32.net> (raw)
In-Reply-To: <48C799C8.4020708@gandalf.sssup.it>
On Wed, Sep 10, 2008 at 11:56:24AM +0200, michael wrote:
> Hi all,
>
> this patch fix the setting of cpu_model_str for the sh4 cpu. When the qemu
> do a cpu_copy can crash.
Thanks, applied.
> Regards Michael
>
>
>
>
> Fix setting of cpu_model_str for sh4
>
> Index: target-sh4/translate.c
> ===================================================================
> --- target-sh4/translate.c (revision 5181)
> +++ target-sh4/translate.c (working copy)
> @@ -243,6 +243,7 @@
> return NULL;
> cpu_exec_init(env);
> sh4_translate_init();
> + env->cpu_model_str = cpu_model;
> cpu_sh4_reset(env);
> cpu_sh4_register(env, def);
> tlb_flush(env, 1);
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
next prev parent reply other threads:[~2008-09-15 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 9:56 [Qemu-devel] [PATCH] sh4 doesn't set the cpu_model_str michael
2008-09-15 7:34 ` Aurelien Jarno [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-09-10 9:55 michael
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=20080915073455.GC9801@volta.aurel32.net \
--to=aurelien@aurel32.net \
--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).