Win64 host port
Hi,
for anyone interested I have pushed my Win64 host port of QEMU togit://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
Quoted 7 lines · Filip Navara
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
Quoted 11 lines · Alexander Graf
Quoted 7 lines · Filip Navara
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.
Quoted 3 lines
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