Re: [Qemu-devel] [PATCH, MIPS] MIPS R1/R2 instructions decoding

2007-05-28 Thread Aurelien Jarno
On Tue, May 29, 2007 at 12:15:01AM +0200, Aurelien Jarno wrote: > Hi, > > In the current implementation of the MIPS CPU, all instructions are > regarded as valid, being R1 or R2 instructions. > > This patch fixes that by generating a reserved instruction exception > when an R2 instructions is dec

[Qemu-devel] Regression bug

2007-05-28 Thread Ben Taylor
I've been keeping up with CVS patches for qemu about once a week. I just updated tonight after the big round of patches that have been commited and am seeing a consistent failure with my existing ubuntu-7.04 32-bit guest on Solaris 10/x86 32-bit host. The last time I tested the CVS code would

[Qemu-devel] [PATCH, MIPS] MIPS R1/R2 instructions decoding

2007-05-28 Thread Aurelien Jarno
Hi, In the current implementation of the MIPS CPU, all instructions are regarded as valid, being R1 or R2 instructions. This patch fixes that by generating a reserved instruction exception when an R2 instructions is decoded on an R1 only CPU. Note that I have left the FPU code unchanged, as I do

Re: [Qemu-devel] qemu/linux-user syscall.c

2007-05-28 Thread Paul Brook
On Monday 28 May 2007, Blue Swirl wrote: > On 5/28/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > target_phys_addr_t isn't really meaningful for userspace emulation. > > We don't have physical addresses, only target (target_ulong) and > > host (void *) virtual addresses. > > Vice versa, there are a

[Qemu-devel] qemu/linux-user syscall_defs.h

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 21:35:24 Modified files: linux-user : syscall_defs.h Log message: Sync __target_cmsg_nxthdr implementation with kernel header. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu

[Qemu-devel] qemu Makefile.target vl.h hw/acpi.c hw/mips_mal...

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 21:01:03 Modified files: . : Makefile.target vl.h hw : acpi.c mips_malta.c pc.c Log message: SMBus support for MIPS Malta. CVSWeb URLs: http://cvs.sav

[Qemu-devel] qemu/target-mips cpu.h helper.c op.c translate.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 20:36:48 Modified files: target-mips: cpu.h helper.c op.c translate.c Log message: Handle PX/UX status flags correctly, by Aurelien Jarno. CVSWeb URLs: http://cvs.savannah.gnu.org/

Re: [Qemu-devel] qemu/linux-user syscall.c

2007-05-28 Thread Blue Swirl
On 5/28/07, Paul Brook <[EMAIL PROTECTED]> wrote: target_phys_addr_t isn't really meaningful for userspace emulation. We don't have physical addresses, only target (target_ulong) and host (void *) virtual addresses. Vice versa, there are a some references in hw/*.c to target_ulong, shouldn't th

Re: [Qemu-devel] qemu/linux-user syscall.c

2007-05-28 Thread Thiemo Seufer
Paul Brook wrote: > > Fix do_socketcall argument, by Daniel Jacobowitz. > > > - static long do_socketcall(int num, target_ulong vptr) > > + static long do_socketcall(int num, target_phys_addr_t vptr) > > What is this supposed to be fixing? > vptr is a target pointer, and is only ever us

[Qemu-devel] qemu/linux-user syscall.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 20:07:13 Modified files: linux-user : syscall.c Log message: Revert last change, this workaround is long obsolete. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/

[Qemu-devel] [PATCH, MIPS64] Check for UX & PX while decoding 64-bit instructions

2007-05-28 Thread Aurelien Jarno
Hi, According to the MIPS64 manual, the 64-bit instructions should be decoded when: - the CPU is not in user mode - the CPU is in user mode, and PX and/or UX bits are set. Otherwise those instructions must generate a reserved instruction exception. The patch below implements that. It also moves t

[Qemu-devel] qemu/target-mips op_helper.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 17:36:30 Modified files: target-mips: op_helper.c Log message: Fix ddivu for 32bit hosts, by Aurelien Jarno. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_he

[Qemu-devel] qemu/target-mips op_mem.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 17:09:41 Modified files: target-mips: op_mem.c Log message: Do not sign extend lwu, by Aurelien Jarno. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_mem.c?cv

[Qemu-devel] qemu/target-mips op.c op_template.c translate.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 17:03:28 Modified files: target-mips: op.c op_template.c translate.c Log message: MIPS64 addressing fixes, by Aurelien Jarno. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/

Re: RE: [Qemu-devel] QEMU/PCI shutdown event

2007-05-28 Thread Clemens Kolbitsch
hi everyone! i'm programming a pci-device that includes some threads & socket-connections (that allow remote debugging of my device). however, i want to cleanly shutdown all threads and sockets when qemu exits... is there an easy way of getting informed of a qemu shutdown? (something similar t

Re: [Qemu-devel] qemu/linux-user syscall.c

2007-05-28 Thread Paul Brook
> Fix do_socketcall argument, by Daniel Jacobowitz. > - static long do_socketcall(int num, target_ulong vptr) > + static long do_socketcall(int num, target_phys_addr_t vptr) What is this supposed to be fixing? vptr is a target pointer, and is only ever used as an argument to tgetl. I

[Qemu-devel] qemu/linux-user syscall.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 14:05:41 Modified files: linux-user : syscall.c Log message: Fix do_socketcall argument, by Daniel Jacobowitz. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/sysc

[Qemu-devel] qemu mips-dis.c

2007-05-28 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/28 13:40:10 Modified files: . : mips-dis.c Log message: MIPS disassembler update. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/mips-dis.c?cvsroot=qemu&r1=1.4&r2=1.5

[Qemu-devel] kqemu and 2.6.22-rc3

2007-05-28 Thread Xavier Gnata
Hi, kqemu is broken at compile time with a 2.6.22-rc3 kernel: /usr/local/src/kqemu-1.3.0pre11/kqemu-linux.c: In function ‘kqemu_lock_user_page’: /usr/local/src/kqemu-1.3.0pre11/kqemu-linux.c:81: error: dereferencing pointer to incomplete type /usr/local/src/kqemu-1.3.0pre11/kqemu-linux.c: In

RE: [Qemu-devel] QEMU/PCI shutdown event

2007-05-28 Thread Dor Laor
>hi everyone! >i'm programming a pci-device that includes some threads & >socket-connections (that allow remote debugging of my device). > >however, i want to cleanly shutdown all threads and sockets when qemu >exits... is there an easy way of getting informed of a qemu shutdown? > >(something simi

[Qemu-devel] qemu/hw pxa.h pxa2xx.c

2007-05-28 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/05/28 11:26:16 Modified files: hw : pxa.h pxa2xx.c Log message: Remove a local subpage IO hack, now that general subpage IO works. CVSWeb URLs: http://cvs.savannah.gnu.org/v

[Qemu-devel] QEMU/PCI shutdown event

2007-05-28 Thread Clemens Kolbitsch
hi everyone! i'm programming a pci-device that includes some threads & socket-connections (that allow remote debugging of my device). however, i want to cleanly shutdown all threads and sockets when qemu exits... is there an easy way of getting informed of a qemu shutdown? (something similar