* [Qemu-devel] Win64 host port
@ 2009-08-01 11:41 Filip Navara
2009-08-01 16:31 ` Alexander Graf
0 siblings, 1 reply; 3+ messages in thread
From: Filip Navara @ 2009-08-01 11:41 UTC (permalink / raw)
To: qemu-devel, malc
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.
Best regards,
Filip Navara
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Win64 host port
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
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2009-08-01 16:31 UTC (permalink / raw)
To: Filip Navara; +Cc: qemu-devel
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?
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Win64 host port
2009-08-01 16:31 ` Alexander Graf
@ 2009-08-01 16:39 ` Filip Navara
0 siblings, 0 replies; 3+ messages in thread
From: Filip Navara @ 2009-08-01 16:39 UTC (permalink / raw)
To: Alexander Graf; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-01 16:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).