From: Filip Navara <filip.navara@gmail.com>
To: Alexander Graf <agraf@suse.de>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Win64 host port
Date: Sat, 1 Aug 2009 18:39:37 +0200 [thread overview]
Message-ID: <5b31733c0908010939h3acae278y849526f2cf3996a1@mail.gmail.com> (raw)
In-Reply-To: <A82A8552-018B-4607-A41C-0D6774292955@suse.de>
On Sat, Aug 1, 2009 at 6:31 PM, Alexander Graf<agraf@suse.de> wrote:
>
> On 01.08.2009, at 13:41, Filip Navara wrote:
>
>> Hi,
>>
>> for anyone interested I have pushed my Win64 host port of QEMU to
>> git://repo.or.cz/qemu/navara.git. I'm eventually planning to clean it
>> up and submit it as patches, but I have already way too long patch
>> queue now. Only i386 and ARM targets were tested and it is as stable
>> as the Win32 port.
>
> Wow, congratulations!
>
> How did you get around the sizeof(ulong) != sizeof(void*) problems?
I replaced all the uses of "long" with intptr_t where it was used to
store pointer values. Similarly "unsigned long" was replaced by
"uintptr_t". In some places the conversions to integer types are
unnecessary, but I didn't try to cleanup the code yet.
Another problem was with the printf format specifiers where I had to
use PRIuPTR / PRIxPTR macros instead of the hard-coded "l" specifier.
Both of these features are specified in C99 standard and should be
available on all systems QEMU runs on. Thanks to malc the code is now
tested to compile on PowerPC host.
Best regards,
Filip Navara
prev parent reply other threads:[~2009-08-01 16:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-01 11:41 [Qemu-devel] Win64 host port Filip Navara
2009-08-01 16:31 ` Alexander Graf
2009-08-01 16:39 ` Filip Navara [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=5b31733c0908010939h3acae278y849526f2cf3996a1@mail.gmail.com \
--to=filip.navara@gmail.com \
--cc=agraf@suse.de \
--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).