[Qemu-devel] fix some bugs from code review

2007-04-01 Thread Wang Cheng Yeh
thanks Index: hw/lsi53c895a.c === RCS file: /sources/qemu/qemu/hw/lsi53c895a.c,v retrieving revision 1.4 diff -r1.4 lsi53c895a.c 1048a1049 > s->carry = op1; Index: hw/smc91c111.c ===

Re: [Qemu-devel] ne2000 bug? buffer full/empty

2007-04-01 Thread Marcel Block
hi again, here's a patch for the changes i described before. best regards marcel block --- qemu-0.9.0/hw/ne2000.c 2007-02-06 00:01:54.0 +0100 +++ ne2000.c 2007-04-02 03:02:32.0 +0200 @@ -206,7 +206,7 @@ static int ne2000_buffer_full(NE2000Stat index = s->curpag << 8;

Re: [Qemu-devel] Re: [PATCH] VMware SVGA II emulation

2007-04-01 Thread Thiemo Seufer
andrzej zaborowski wrote: > Hi, > I looked at how the embedding of a standard VGA in the VMware SVGA > could be done (mainly out of curiosity) and it wasn't difficult. I had > to make small changes in hw/vga.c but I think it's made more flexible > now. Attached is a second version of the VMware SV

[Qemu-devel] qemu Makefile.target sdl.c vl.c vl.h hw/cirrus_...

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 01:10:47 Modified files: . : Makefile.target sdl.c vl.c vl.h hw : cirrus_vga.c pc.c vga.c vga_int.h Added files: hw : vmware_vga.c Log mes

Re: [Qemu-devel] [patch] use socklen_t with getsockopt()

2007-04-01 Thread Mike Frysinger
On Sunday 01 April 2007, Thiemo Seufer wrote: > Mike Frysinger wrote: > > obvious fixup ... getsockopt() takes a socklen_t, not an int > > This is incorrect. Its initial value is sizeof(val). attached -mike pgpxUDF1iyg7E.pgp Description: PGP signature --- linux-user/syscall.c +++ linux-user/sysc

[Qemu-devel] [PATCH][SPARC] mem_address_not_aligned trap for unaligned PC and load/store

2007-04-01 Thread Aurelien Jarno
On Sun, Apr 01, 2007 at 07:30:40PM +0200, Aurelien Jarno wrote: > Blue Swirl a écrit : > >> According to the SPARCv8 and SPARCv9 manuals, the jmpl, rett and return > >> instructions should generate a mem_address_not_aligned trap if either > >> of the low-order two bits of the target address is nonz

Re: [Qemu-devel] Sparc32/64 emulation test report

2007-04-01 Thread Aurelien Jarno
Blue Swirl a écrit : > Sparc32 system emulator tests > For your information I recently tried to build gcc 4.1 in bootstrap mode on both QEMU and real hardware (SparcStation 4) for C, C++, objc and fortran. I than run the testsuite. The testsuite gave identical results on both emulated and real h

[Qemu-devel] Sparc32/64 emulation test report

2007-04-01 Thread Blue Swirl
Sparc32 system emulator tests Tested installing with a CD image. Direct kernel means using -kernel option. Serial (opposite of graphical) uses -nographic option. Colour map is slightly buggy on most installs. Bug in OpenBIOS within Forth function 'interpose' prevents BSDs from working. Auror

[Qemu-devel] qemu block-qcow2.c

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 19:01:40 Modified files: . : block-qcow2.c Log message: Qcow2 corruption fix, by Juergen Keil. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/block-qcow2.c?cvsroot=

[Qemu-devel] qemu Makefile.target configure fpu/softfloat-na...

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 18:54:44 Modified files: . : Makefile.target configure fpu: softfloat-native.c softfloat.h Log message: Solaris 9/x86 support, by Ben Taylor. CVSWeb U

Re: [Qemu-devel] [patch] use socklen_t with getsockopt()

2007-04-01 Thread Thiemo Seufer
Mike Frysinger wrote: > obvious fixup ... getsockopt() takes a socklen_t, not an int > -mike This is incorrect. Its initial value is sizeof(val). Thiemo

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

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 18:31:35 Modified files: linux-user : syscall.c Log message: Conditionalize more syscall implementations, by Mike Frysinger. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/l

[Qemu-devel] qemu/hw i8259.c

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 18:26:11 Modified files: hw : i8259.c Log message: Single mode for PIC i8259, by Bernhard Kauer. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/i8259.c?cvsroot=qe

Re: [Qemu-devel] Tiny compliance bug in `block-vvfat.c'

2007-04-01 Thread Thiemo Seufer
Thomas Schwinge wrote: > [I'm not subscribed to the mailing list, so please keep me cced.] > > > Hello! > > We kept wondering why the GNU/Hurd's `fatfs' translator (think Unix > kernel file system driver) didn't want to ``eat'' the QEMU vvfat > on-the-fly served floppy images (created from a dir

[Qemu-devel] qemu elf_ops.h loader.c vl.h hw/arm_boot.c hw/m...

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 17:56:37 Modified files: . : elf_ops.h loader.c vl.h hw : arm_boot.c mips_malta.c mips_r4k.c sun4m.c sun4u.c Log message: Imp

Re: [Qemu-devel] [PATCH][SPARC] mem_address_not_aligned trap for unaligned PC

2007-04-01 Thread Aurelien Jarno
Blue Swirl a écrit : >> According to the SPARCv8 and SPARCv9 manuals, the jmpl, rett and return >> instructions should generate a mem_address_not_aligned trap if either >> of the low-order two bits of the target address is nonzero. > > This is true, but in that case alignment should be enforced fo

RE: [Qemu-devel] [PATCH][SPARC] mem_address_not_aligned trap forunaligned PC

2007-04-01 Thread Blue Swirl
According to the SPARCv8 and SPARCv9 manuals, the jmpl, rett and return instructions should generate a mem_address_not_aligned trap if either of the low-order two bits of the target address is nonzero. This is true, but in that case alignment should be enforced for loads ands stores as well. Th

[Qemu-devel] [PATCH][SPARC] mem_address_not_aligned trap for unaligned PC

2007-04-01 Thread Aurelien Jarno
Hi all, According to the SPARCv8 and SPARCv9 manuals, the jmpl, rett and return instructions should generate a mem_address_not_aligned trap if either of the low-order two bits of the target address is nonzero. The patch below implements that. Bye, Aurelien Index: target-sparc/cpu.h ===

[Qemu-devel] [Bug] Fatal error caused by wrong memory access

2007-04-01 Thread Stefan Weil
When the program counter is at the very start of a memory block amd there is no page allocated before this block, QEMU may fail with a fatal error ("Trying to execute code outside RAM or ROM"). In my case, a MIPS system had code in flash starting at 0xb000. I had a remote debugger attached to

Re: [Qemu-devel] qemu/target-sparc translate.c

2007-04-01 Thread Aurelien Jarno
On Sun, Apr 01, 2007 at 06:24:34PM +0200, Blue Swirl wrote: > CVSROOT: /cvsroot/qemu > Module name: qemu > Changes by: Blue Swirl 07/04/01 16:23:36 > > Modified files: > target-sparc : translate.c > > Log message: > Fix off-by-one error > Looking at the code of this comm

[Qemu-devel] qemu/target-sparc translate.c

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 16:23:36 Modified files: target-sparc : translate.c Log message: Fix off-by-one error CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/translate.c?cvsroot=qemu&r1=1.43&

[Qemu-devel] qemu vl.h hw/slavio_intctl.c hw/slavio_misc.c h...

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 16:05:41 Modified files: . : vl.h hw : slavio_intctl.c slavio_misc.c slavio_serial.c slavio_timer.c sun4m.c Log message: Change Spa

[Qemu-devel] qemu vl.c vl.h hw/slavio_intctl.c hw/sun4m.c ta...

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 15:55:29 Modified files: . : vl.c vl.h hw : slavio_intctl.c sun4m.c target-sparc : translate.c Log message: Add SparcStation-10 machine CVSWeb UR

[Qemu-devel] qemu vl.c vl.h hw/sun4m.c

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 15:44:43 Modified files: . : vl.c vl.h hw : sun4m.c Log message: Reorganise Sun4m to allow other machine types CVSWeb URLs: http://cvs.savannah.gnu.org/vie

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

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 15:38:17 Modified files: target-sparc : op.c translate.c Log message: Fix Sparc shift ops (Aurelien Jarno) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op.c?cvsroot

[Qemu-devel] qemu/target-sparc cpu.h op_helper.c translate.c

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 15:15:36 Modified files: target-sparc : cpu.h op_helper.c translate.c Log message: Fix Sparc lda/ldda/sta/stda asi handling, fault on misaligned register ldd/std and illegal cwp on wrpsr (Aure

[Qemu-devel] qemu/target-sparc cpu.h translate.c

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 15:08:21 Modified files: target-sparc : cpu.h translate.c Log message: Fix Sparc co-processor ops (Aurelien Jarno) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/cpu.

[Qemu-devel] qemu/target-sparc translate.c

2007-04-01 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/01 15:05:09 Modified files: target-sparc : translate.c Log message: Fix Sparc ASR handling (Aurelien Jarno) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/translate.c?cv

[Qemu-devel] qemu hw/mips_malta.c hw/mips_r4k.c target-mips/...

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 12:36:18 Modified files: hw : mips_malta.c mips_r4k.c target-mips: exec.h mips-defs.h op.c op_helper.c op_helper_mem.c op_mem.c translate.c

Re: [Qemu-devel] Bugs

2007-04-01 Thread Christian MICHON
On 3/31/07, James Jacobs <[EMAIL PROTECTED]> wrote: > Using the start.bat file included with the QEMU package (except changing > cd-rom and hard disk image filenames as appropriate). > I haven't adjusted any audio settings, I'm using whatever the defaults are. which package ? you mentionned a

Re: [Qemu-devel] [PATCH][SPARC] Fix the shift instructions for theSPARC target

2007-04-01 Thread Aurelien Jarno
On Sun, Apr 01, 2007 at 11:32:06AM +0200, Blue Swirl wrote: > >The shift instructions on the SPARC target currently take into account > >the whole register as the shift count. According to the SPARC v8 and v9 > >manuals, only the lower 5 bits should be taken into account for 32-bit > >instructions

[Qemu-devel] qemu .cvsignore Makefile Makefile.target config...

2007-04-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/01 11:16:48 Modified files: . : .cvsignore Makefile Makefile.target configure target-mips: op_helper.c Log message: MIPS64 configurations. CVSWeb URLs: http://cv

RE: [Qemu-devel] [PATCH][SPARC] Fix the shift instructions for theSPARC target

2007-04-01 Thread Blue Swirl
The shift instructions on the SPARC target currently take into account the whole register as the shift count. According to the SPARC v8 and v9 manuals, only the lower 5 bits should be taken into account for 32-bit instructions (SLL, SRL, SRA), and only the lower 6 bits for 64-bit instructions (SLL