Re: [Qemu-devel] generating EFAULT in linux-user

2007-03-23 Thread Stuart Anderson
Here is an updated patch that show more of the changes that are needed to detect EFAULT situations in linux-user. The areas I focused on are the socket, semaphore, and message queue family of syscalls as they all make interesting use of pointers to structures. This patch does sit on top of the ot

[Qemu-devel] [PATCH][SPARC] Switch the sun4m FPU to Meiko

2007-03-23 Thread Aurelien Jarno
Hi all, The current FPU model on the sun4m SPARC is the Fujitsu MB86910. It supports very few instructions. The patch below changes the FPU to the Meiko L64804. It is the one that can be found on the microSPARC-II CPU, ie the one that is present in the SparcStation 5. All the instructions support

RE: [Qemu-devel] [Bug] Timer bugs in hw/m48t59.c?

2007-03-23 Thread Blue Swirl
could SPARC or PPC users please check whether the timer code in hw/m48t59.c is really correct? I expect a crash in qemu_mod_timer after wd_timer = NULL and a call to qemu_mod_timer with this NULL value. Looking inside qemu_mod_timer shows why that's no surprise, so your patch should be correct

Re: [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2 etc.; was: Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)

2007-03-23 Thread Thomas Orgis
Am Fri, 23 Mar 2007 15:45:49 + schrieb Paul Brook <[EMAIL PROTECTED]>: > > I do not understand enough of QEMU yet, but I have checked out CVS and > > am reading through its source. When I understand more I hope we can fix > > this long-standing annoyance. > > This is GCC PR16185

Re: [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2 etc.; was: Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)

2007-03-23 Thread Paul Brook
> I do not understand enough of QEMU yet, but I have checked out CVS and > am reading through its source. When I understand more I hope we can fix > this long-standing annoyance. This is GCC PR16185 . There's no fundamental reason why some options trigger it, and others

Re: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL

2007-03-23 Thread andrzej zaborowski
Hi, sorry for late reply. On 21/03/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: andrzej zaborowski wrote: >> > (the pixel format of the cursor was the same as the pixel format of >> DisplayState). > > I'm not sure if we want to always use the same pixel format - for > example with VMware SVGA

Re: [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2 etc.; was: Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)

2007-03-23 Thread Sunil Amitkumar Janki
Thomas Orgis wrote: Am Thu, 22 Mar 2007 21:13:00 +0100 schrieb Sunil Amitkumar Janki <[EMAIL PROTECTED]>: I have seen this error as well when building with i686/pentium3/athlon optimisations. As I am doing a course on x86 assembly programming at the moment I can tell you that it suffers fro

Re: [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2 etc.; was: Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)

2007-03-23 Thread Thomas Orgis
Am Thu, 22 Mar 2007 21:13:00 +0100 schrieb Sunil Amitkumar Janki <[EMAIL PROTECTED]>: > I have seen this error as well when building with i686/pentium3/athlon > optimisations. As I am doing a course on x86 assembly programming > at the moment I can tell you that it suffers from register starvatio

[Qemu-devel] qemu/target-ppc cpu.h helper.c op.c op_helper.c...

2007-03-23 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/23 09:45:27 Modified files: target-ppc : cpu.h helper.c op.c op_helper.c op_helper.h op_mem.h translate.c translate_init.c Log message: Add missing PowerPC 64 ins

[Qemu-devel] qemu/target-ppc cpu.h helper.c translate.c tran...

2007-03-23 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/23 09:40:22 Modified files: target-ppc : cpu.h helper.c translate.c translate_init.c Log message: Fix debug printf: we need different macros for target_ulong prints