Re: [Qemu-devel] ARM load/store multiple bug

2006-09-09 Thread Paul Brook
> ---8<--- > if (n != 1) > gen_op_addl_T1_im(-((n - 1) * 4)); > } > } > j = 0; > /* Insert something like gen_op_bicl_T1_im(3); here */ > for(i=0;i<16;i++) { >

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

2006-09-09 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 06/09/09 23:35:22 Modified files: linux-user : syscall_defs.h Log message: ARM 64-bit host fix. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/syscall_defs.h?cvsroot=qemu&r1=

[Qemu-devel] Re: qemu fix for ARM systems

2006-09-09 Thread Justin Fletcher
On Sat, 9 Sep 2006, Fabrice Bellard wrote: Hi, You should send your patches to the qemu-devel mailing list. Fair enough; as I mentioned, I couldn't find any contact address in the documentation, so I used the one from the website. The correct implementation for cache operations in QEMU is

Re: [Qemu-devel] How to build qemu 0.8.2 on freebsd 6.0-RELEASE-p9 on amd64?

2006-09-09 Thread Juergen Lock
On Tue, Sep 05, 2006 at 09:47:57AM +0800, Frank.Ning wrote: > Hi > I have update qemu to 0.8.2, but when I compile it from ports, it tell me > there is error: > ../dyngen -o op.h op.o > ../dyngen -c -o opc.h op.o > cc -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing > -I/usr/local/includ

[Qemu-devel] ARM load/store multiple bug

2006-09-09 Thread Justin Fletcher
Hiya, I have found a bug in the implementation of the load/store multiple instructions in ARM (LDM and STM). These are defined in the ARM ARM to ignore bits 0 and 1 of the address when the load takes place - that is the base register for these operations is always treated as a 32bit aligned v

Re: [Qemu-devel] relative time

2006-09-09 Thread Paul Brook
> Now the more complex one: I would like to do 'relative benchmarks', i.e. > comparing one product to another. I don't mind very much how fast my > machines are, but I want them to be equally fast, even if I use two, > three or ten of those on my machine. qemu is not, and does not try to be cycle

[Qemu-devel] relative time

2006-09-09 Thread Markus Schiltknecht
Hello qemu developers, I've been unable to find information about date and time in qemu. Two questions the simpler one: Can I set the date and time of the system clock at start of the emulation (or in the manager console)? I've seen a patch [1], but that doesn't seem to be included in my bui

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread wangji
Khi Thứ bảy 09 Tháng chín 2006 8:00 chiều, Stefan Weil viết: > > Busybox statically or dynamically linked? > > > > Which toolchain? > > > > Dirk > > Hello Dirk, > > here is my working configuration: > > host tools: > gcc-Version 3.3.6 (Debian 1:3.3.6-13) > > cross tools (mipsel): > gcc with patches

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread Stefan Weil
> Busybox statically or dynamically linked? > > Which toolchain? > > Dirk > Hello Dirk, here is my working configuration: host tools: gcc-Version 3.3.6 (Debian 1:3.3.6-13) cross tools (mipsel): gcc with patches from OpenWrt: mipsel-linux-gcc (GCC) 3.4.5 (OpenWrt-2.0) GNU binutils version 2.16.1

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread wangji
Khi Thứ bảy 09 Tháng chín 2006 9:16 Sáng, Dirk Behme viết: > > So, maybe a toolchain (glibc?) issue? you are certaily right, doing the same "compile hello.c,and cont on gdb session " but with mipsel-uclibc works fine !!! I did all that from my scratchboxmulticpu-2.3 _

[Qemu-devel] qemu/target-arm helper.c

2006-09-09 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 06/09/09 14:36:26 Modified files: target-arm : helper.c Log message: Arm MMU fix (Justin Fletcher). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-arm/helper.c?cvsroot=qemu&r1=1.

[Qemu-devel] qemu/hw slavio_serial.c

2006-09-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/09/09 12:17:15 Modified files: hw : slavio_serial.c Log message: allow host serial port usage (Blue Swirl) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/slavio_ser

[Qemu-devel] Sparc32 native serial support

2006-09-09 Thread Blue Swirl
Hi, This patch adds support for native serial ports on Sparc32. There are also some cosmetic changes from previous patch. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200

Re: [Qemu-devel] PCI Bios fixup

2006-09-09 Thread Fabrice Bellard
Right, this is better. An even better fix would be to clear CS.RPL before the popf. Regards, Fabrice. Samuel Thibault wrote: Hi, The patch that qemu applies to bochs bios is a bit bugged: pci_pro_fail: pop edi pop esi - sti popf stc + and dword ptr[esp+4],0xfffc ;; reset

Re: [Qemu-devel] block-vvfat RW patch

2006-09-09 Thread Fabrice Bellard
Roger Lathrop wrote: 3) Changed sector2cluster to return a signed int, and added type casts to force the division to be signed. This is not safe. vvfat_write must be modified to handle the case where sectors are written before s->faked_sectors (maybe ignoring the write could suffice). Rega

[Qemu-devel] qemu block-vvfat.c

2006-09-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/09/09 12:03:20 Modified files: . : block-vvfat.c Log message: vvfat fixes (Roger Lathrop) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/block-vvfat.c?cvsroot=qemu&r1

[Qemu-devel] qemu/hw slavio_serial.c

2006-09-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/09/09 11:38:11 Modified files: hw : slavio_serial.c Log message: fix serial irq logic (Blue Swirl) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/slavio_serial.c?cv

[Qemu-devel] qemu/hw slavio_serial.c

2006-09-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/09/09 11:35:47 Modified files: hw : slavio_serial.c Log message: added mouse protocol (Igor Kovalenko) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/slavio_serial.

[Qemu-devel] qemu/hw tcx.c

2006-09-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/09/09 11:31:34 Modified files: hw : tcx.c Log message: more correct display functions CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/tcx.c?cvsroot=qemu&r1=1.8&r2=1.

[Qemu-devel] qemu vl.c

2006-09-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/09/09 11:10:18 Modified files: . : vl.c Log message: two stop bits support CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.212&r2=1.213 __

[Qemu-devel] Serial support for 2 stop bits

2006-09-09 Thread Blue Swirl
Hi, Simple patch to support two stop bits with native serial port. _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ Index: qemu/vl.c

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread wangji
Khi Thứ bảy 09 Tháng chín 2006 9:16 Sáng, Dirk Behme viết: > Dirk > > Btw: Do you can connect and then step/continue with gdb to > qemu-mipsel? alas ! no ! cont on gdb_session gives : [sbox-mipselglibc: ~] > qemu-mipsel -g 1234 hello qemu: unhandled CPU exception 0x10002 - aborting pc=0x004001a8

[Qemu-devel] Re: qemu fix for ARM systems

2006-09-09 Thread Fabrice Bellard
Hi, You should send your patches to the qemu-devel mailing list. The correct implementation for cache operations in QEMU is to do nothing because QEMU guaranties memory coherency, so you should remove tb_flush(). Regarding the N and Z flags, there should be a discussion in the mailing list.

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread Dirk Behme
Stefan Weil wrote: Dirk Behme schrieb: Hi, anybody with success using little endian MIPS user space emulation qemu-mipsel? I try to run a simple hello world example using recent QEMU snapshot. It crashes with "qemu: unhandled CPU exception 0x1a - aborting". For more details see below. Doing th

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread Dirk Behme
wangji wrote: Seems to me that it gets a wrong jump address via gp in t9: 0x401fa00c: lw t9,-32600(gp) ... 0x401fa01c: jalr t9 ... yes,I got similar error,but if I "static" compile then everything looks ok ! Thanks for the hint! static works for me as well. So, maybe a toolchain (g