qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: TeLeMan <geleman@gmail.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Fix conversions from pointer to tcg_target_long
Date: Thu, 14 Apr 2011 07:09:33 +0200	[thread overview]
Message-ID: <4DA6818D.6@mail.berlios.de> (raw)
In-Reply-To: <BANLkTing7Z5dg6t_5Me-dy8yeTAFguVrZQ@mail.gmail.com>

Am 14.04.2011 03:42, schrieb TeLeMan:
> On Sat, Apr 2, 2011 at 19:36, Stefan Weil <weil@mail.berlios.de> wrote:
>> tcg_gen_exit_tb takes a parameter of type tcg_target_long,
>> so the type casts of pointer to long should be replaced by
>> type casts of pointer to tcg_target_long (suggested by Blue Swirl).
>>
>> These changes are needed for build environments where
>> sizeof(long) != sizeof(void *), especially for w64.
> There are many "(long)tb" in exec.c and the types of tb_next in
> TranslationBlock, tc_ptr in tb_find_pc(), searched_pc etc. are
> "unsigned long". So more patches for w64 are needed.

Yes, I am very aware of this fact. This is the third effort to
get QEMU code which is w64 clean. The first two were large
patches which were difficult to review. Now I send small
patches which will finally achieve the same goal. Sometimes
these small patches seem to be unrelated to w64 (like
a recent patch which removes a parameter). I think that
increasing portability of software has positive effects for
all targets, not only the new one. That's why I do this
although I don't use w64.

      reply	other threads:[~2011-04-14  5:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-02 11:36 [Qemu-devel] [PATCH] Fix conversions from pointer to tcg_target_long Stefan Weil
2011-04-09 22:50 ` Aurelien Jarno
2011-04-14  1:42 ` TeLeMan
2011-04-14  5:09   ` Stefan Weil [this message]

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=4DA6818D.6@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=blauwirbel@gmail.com \
    --cc=geleman@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).