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

2007-11-17 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/18 03:36:07 Modified files: target-mips: op.c op_helper.c translate.c Log message: Fix MIPS64 R2 instructions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op.c?c

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

2007-11-17 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/18 03:19:59 Modified files: target-mips: translate_init.c Log message: Use a valid PRid. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/translate_init.c?cvsroot=qem

[Qemu-devel] qemu vl.c hw/pflash_cfi01.c

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/18 02:09:36 Modified files: . : vl.c hw : pflash_cfi01.c Log message: Fix a && -> & typo. Catch wrong/unknown NOR flash command sequences, by

Re: [Qemu-devel] [PATCH] Gumstix verdex support

2007-11-17 Thread andrzej zaborowski
Hi, On 17/11/2007, Thorsten Zitterell <[EMAIL PROTECTED]> wrote: > Patch to add gumstix verdex board support. The code has: +/* Interrupt line of NIC is connected to GPIO line 49 */ +smc91c111_init(&nd_table[0], 0x04000300, +pxa2xx_gpio_in_get(cpu->gpio)[99]); Should

[Qemu-devel] qemu block-vvfat.c block.c console.c dyngen.c e...

2007-11-17 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/11/18 01:44:38 Modified files: . : block-vvfat.c block.c console.c dyngen.c elf_ops.h i386-dis.c loader.c monitor.c osdep.c qemu-char.h tra

[Qemu-devel] qemu/target-ppc cpu.h translate_init.c

2007-11-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/17 23:14:54 Modified files: target-ppc : cpu.h translate_init.c Log message: Improve PowerPC instructions set dump. Remove meaningless define from cpu.h Misc cleanups. CVS

[Qemu-devel] qemu/target-ppc cpu.h translate_init.c

2007-11-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/17 23:02:21 Modified files: target-ppc : cpu.h translate_init.c Log message: Add definitions for Freescale PowerPC implementations, ie MPC5xx, MPC8xx, e200, e300, e500 and e600 c

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

2007-11-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/17 22:42:36 Modified files: target-ppc : cpu.h helper.c translate_init.c Log message: Define Freescale cores specific MMU model, exceptions and input bus. (but do not provide any

[Qemu-devel] qemu/target-ppc translate.c translate_init.c

2007-11-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/17 22:26:51 Modified files: target-ppc : translate.c translate_init.c Log message: A little more granularity in PowerPC instructions definition is needed in order to implement Fr

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

2007-11-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/17 21:14:09 Modified files: target-ppc : cpu.h helper.c helper_regs.h op_helper.c Log message: PowerPC hypervisor mode is not fundamentally available only for PowerPC 64. Remove T

[Qemu-devel] qemu/hw slavio_intctl.c

2007-11-17 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/17 21:01:04 Modified files: hw : slavio_intctl.c Log message: Name the magic constants, fix a hex number without 0x CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/slavio_

Re: [Qemu-devel] i386 debug exception should set BS of DR6 when single-stepping

2007-11-17 Thread Vegard Nossum
On Nov 17, 2007 8:46 PM, Ben Taylor <[EMAIL PROTECTED]> wrote: > > Vegard Nossum <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I experience the following problem: Setting the trap flag (TF) of the > > EFLAGS register correctly calls the debug exception DE. However, the > > DR6 register does not h

Re: [Qemu-devel] i386 debug exception should set BS of DR6 when single-stepping

2007-11-17 Thread Ben Taylor
Vegard Nossum <[EMAIL PROTECTED]> wrote: > Hi, > > I experience the following problem: Setting the trap flag (TF) of the > EFLAGS register correctly calls the debug exception DE. However, the > DR6 register does not have the single step (BS) flag set. I remember this getting submitted. wh

[Qemu-devel] [PATCH] hw/pflash_cfi01.c

2007-11-17 Thread Thorsten Zitterell
Patch to catch wrong/unknown command sequences. Index: hw/pflash_cfi01.c === RCS file: /sources/qemu/qemu/hw/pflash_cfi01.c,v retrieving revision 1.2 diff -u -r1.2 pflash_cfi01.c --- hw/pflash_cfi01.c 17 Nov 2007 17:14:45 - 1.2 +

[Qemu-devel] [PATCH] Gumstix verdex support

2007-11-17 Thread Thorsten Zitterell
Patch to add gumstix verdex board support. Index: vl.c === RCS file: /sources/qemu/qemu/vl.c,v retrieving revision 1.365 diff -u -r1.365 vl.c --- vl.c 17 Nov 2007 17:14:38 - 1.365 +++ vl.c 17 Nov 2007 18:54:56 - @@ -7451,6 +

[Qemu-devel] qemu/hw pxa2xx_dma.c pxa2xx_gpio.c pxa2xx_mmci....

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 18:43:47 Modified files: hw : pxa2xx_dma.c pxa2xx_gpio.c pxa2xx_mmci.c sd.c Log message: Better STOPINTR bit semantics in the PXA2xx DMA. Don't error out on rea

[Qemu-devel] qemu/audio alsaaudio.c coreaudio.c dsoundaudio....

2007-11-17 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/11/17 17:35:54 Modified files: audio : alsaaudio.c coreaudio.c dsoundaudio.c fmodaudio.c Log message: Remove stray uses of vl.h. CVSWeb URLs: http://cvs.savan

[Qemu-devel] qemu Makefile Makefile.target arm-semi.c block-...

2007-11-17 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/11/17 17:14:51 Modified files: . : Makefile Makefile.target arm-semi.c block-raw.c block.c block.h cocoa.m console.c cpu-defs.h gdbstub.c l

[Qemu-devel] Breaking up vl.h

2007-11-17 Thread Paul Brook
I just applied a patch that breaks up and removes vl.h My strategy (as discussed previously) is to split the contents along functional lines, and hardware split along bus/machine boundaries.. In order to avoid lots of little header files it makes fairly extensive use of opaque structure pointer

[Qemu-devel] i386 debug exception should set BS of DR6 when single-stepping

2007-11-17 Thread Vegard Nossum
Hi, I experience the following problem: Setting the trap flag (TF) of the EFLAGS register correctly calls the debug exception DE. However, the DR6 register does not have the single step (BS) flag set. This patch fixes things for me, and I think it deserves some more attention given that it had no

Re: [Qemu-devel] [PATCH] hw/pxa2xx_dma.c

2007-11-17 Thread Thorsten Zitterell
Can you check if the following change would make the gumstix NIC work too? In my understanding of the specs it's more correct, but I'm not sure. It works!

[Qemu-devel] qemu/hw sd.c

2007-11-17 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/11/17 15:32:38 Modified files: hw : sd.c Log message: sd.c build fix. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sd.c?cvsroot=qemu&r1=1.4&r2=1.5

Re: [Qemu-devel] [PATCH] hw/pxa2xx_dma.c

2007-11-17 Thread andrzej zaborowski
On 17/11/2007, andrzej zaborowski <[EMAIL PROTECTED]> wrote: > Hi, > > On 15/11/2007, Thorsten Zitterell <[EMAIL PROTECTED]> wrote: > > The following patch fixes the problem that DMA transfers are not performed > > when > > the DCSR_STOPINTR bit is set. > > -- > > Thorsten > > > > Index: hw/pxa2xx

Re: [Qemu-devel] [PATCH] hw/pxa2xx_dma.c

2007-11-17 Thread andrzej zaborowski
Hi, On 15/11/2007, Thorsten Zitterell <[EMAIL PROTECTED]> wrote: > The following patch fixes the problem that DMA transfers are not performed > when > the DCSR_STOPINTR bit is set. > -- > Thorsten > > Index: hw/pxa2xx_dma.c > === > R

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

2007-11-17 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/11/17 14:53:06 Modified files: target-mips: fop_template.c op.c op_helper.c Log message: Fix int/float inconsistencies. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/fop

[Qemu-devel] qemu/hw omap_mmc.c pxa.h pxa2xx_mmci.c sd.c sd....

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 14:34:44 Modified files: hw : omap_mmc.c pxa.h pxa2xx_mmci.c sd.c sd.h spitz.c Log message: Convert SD cards code to use qemu_irq too. CVSWeb

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

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 14:07:13 Modified files: . : vl.h hw : gumstix.c pxa.h pxa2xx.c pxa2xx_gpio.c pxa2xx_lcd.c spitz.c Log message: Convert

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread Paul Brook
> > > > Check permissions for the last byte first in unaligned slow_st > > > > accesses (patch from TeLeMan). > > > > > > Has it been checked that it's legal for all architectures and cannot > > > have any nasty side effect to do accesses in the reverse order ? Real > > > hardware do not ever

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread TeLeMan
Here is one sample to reproduce the previous bug on guest windows. Usage: rundll32 qemu-test.dll test The correct running result is to display a message box. If no patch, the exception will occur. I tested this sample on windows xp sp2. http://www.nabble.com/file/p13808936/qemu-test.rar qemu

[Qemu-devel] qemu softmmu_template.h vl.c

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 12:12:29 Modified files: . : softmmu_template.h vl.c Log message: Don't compare '\0' against pointers. Add a note from Fabrice in slow_st template. CVSWeb URL

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread J. Mayer
On Sat, 2007-11-17 at 12:57 +0100, andrzej zaborowski wrote: > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-11-17 at 11:44 +0100, andrzej zaborowski wrote: > > > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Sat, 2007-11-17 at 11:14 +0100, andrzej

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

2007-11-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/17 12:01:45 Modified files: target-ppc : translate.c Log message: Fix collision in PowerPC instructions definitions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/trans

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread andrzej zaborowski
On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-11-17 at 11:44 +0100, andrzej zaborowski wrote: > > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > On Sat, 2007-11-17 at 11:14 +0100, andrzej zaborowski wrote: > > > > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wro

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

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 11:50:55 Modified files: . : Makefile.target vl.c vl.h Added files: hw : gumstix.c pflash_cfi01.c Log message: Gumstix 'connex' board support by T

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread Fabrice Bellard
andrzej zaborowski wrote: > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: >> On Sat, 2007-11-17 at 11:14 +0100, andrzej zaborowski wrote: >>> On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: On Sat, 2007-11-17 at 09:53 +, Andrzej Zaborowski wrote: > CVSROOT: /sources/qemu >

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread Blue Swirl
On 11/17/07, andrzej zaborowski <[EMAIL PROTECTED]> wrote: > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-11-17 at 11:14 +0100, andrzej zaborowski wrote: > > > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Sat, 2007-11-17 at 09:53 +, Andrzej Za

Re: [Qemu-devel] RFC: fix for random Qemu crashes

2007-11-17 Thread J. Mayer
On Sat, 2007-11-17 at 11:57 +0100, andrzej zaborowski wrote: > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2007-11-16 at 21:32 +0100, andrzej zaborowski wrote: > > > On 16/11/2007, Jocelyn Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Fri, 2007-11-16 at 15:52 +, Pa

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread J. Mayer
On Sat, 2007-11-17 at 11:44 +0100, andrzej zaborowski wrote: > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-11-17 at 11:14 +0100, andrzej zaborowski wrote: > > > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Sat, 2007-11-17 at 09:53 +, Andrzej

Re: [Qemu-devel] RFC: fix for random Qemu crashes

2007-11-17 Thread andrzej zaborowski
On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-11-16 at 21:32 +0100, andrzej zaborowski wrote: > > On 16/11/2007, Jocelyn Mayer <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 2007-11-16 at 15:52 +, Paul Brook wrote: > > > > > Then, I choosed to replace 'inline' by 'always_i

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread andrzej zaborowski
On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-11-17 at 11:14 +0100, andrzej zaborowski wrote: > > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > On Sat, 2007-11-17 at 09:53 +, Andrzej Zaborowski wrote: > > > > CVSROOT: /sources/qemu > > > > Module name

[Qemu-devel] [RFC] Fixes for random Qemu crashes

2007-11-17 Thread J. Mayer
Following the discussion about the inlining problems encountered while compiling gcc, I tried another set of patches to address those issues. I first moved all common definitions to osdep.h, changed the always_inline definition into: #define always_inline __attribute__ (( always_inline )) __inline

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread J. Mayer
On Sat, 2007-11-17 at 11:14 +0100, andrzej zaborowski wrote: > On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-11-17 at 09:53 +, Andrzej Zaborowski wrote: > > > CVSROOT: /sources/qemu > > > Module name: qemu > > > Changes by: Andrzej Zaborowski 07/11/17 09:

[Qemu-devel] qemu configure

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 10:24:32 Modified files: . : configure Log message: Show usage and abort if an unknown option is passed to configure (Carlo Marcelo Arenas Belon). CVSWeb URLs: http:

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread andrzej zaborowski
On 17/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-11-17 at 09:53 +, Andrzej Zaborowski wrote: > > CVSROOT: /sources/qemu > > Module name: qemu > > Changes by: Andrzej Zaborowski 07/11/17 09:53:42 > > > > Modified files: > > . : softmmu_template.

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread J. Mayer
On Sat, 2007-11-17 at 09:53 +, Andrzej Zaborowski wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Andrzej Zaborowski 07/11/17 09:53:42 > > Modified files: > . : softmmu_template.h > > Log message: > Check permissions for the last byte

Re: [Qemu-devel] [PATCH]bug fix for softmmu slow_st unaligned access

2007-11-17 Thread andrzej zaborowski
Hi, On 31/10/2007, TeLeMan <[EMAIL PROTECTED]> wrote: > If the 0x10008000 page is writable and 0x10007FFF isn't, softmmu can raise > this exception before modifing 0x10007FFF-0x10008002 because softmmu checks > 0x10007FFF at first. I don't know if reversing the order is an exact > solution,but its

[Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/17 09:53:42 Modified files: . : softmmu_template.h Log message: Check permissions for the last byte first in unaligned slow_st accesses (patch from TeLeMan). CVSWeb URL

Re: [Qemu-devel] [PATCH] sparc32 remove unnecessary & 0xffffffff

2007-11-17 Thread Blue Swirl
On 11/16/07, Robert Reif <[EMAIL PROTECTED]> wrote: > Remove unnecessary masking of lower word with 0x. Applied, thank you.

Re: [Qemu-devel] [PATCH] sparc32 fix MXCC error bit clearing

2007-11-17 Thread Blue Swirl
On 11/16/07, Robert Reif <[EMAIL PROTECTED]> wrote: > Fix MXCC error register bit clearing. Thanks, applied.

Re: [Qemu-devel] [RFC][PATCH] fix sparc32 mxcc 64 bit read word order

2007-11-17 Thread Blue Swirl
On 11/16/07, Robert Reif <[EMAIL PROTECTED]> wrote: > > > > > >This patch fixes the word order for 64 bit reads of the mxcc registers. Otherwise everything seems OK, but it breaks NetBSD version 3 on SS10: clock0 at obio0 slot 0 offset 0x20: mk48t08 timer0 at obio0 slot 0 offset 0x30data f

Re: [Qemu-devel] [PATCH] sparc32 add new MXCC register

2007-11-17 Thread Blue Swirl
On 11/16/07, Robert Reif <[EMAIL PROTECTED]> wrote: > Add new MXCC register. Thanks, applied. BTW, I couldn't use the diff directly because patch does not understand the diff format you used. In this case it was easy to delete the > characters and paste the result but please use unified diffs in t

Re: [Qemu-devel] [PATCH] add iommu version to sparc32

2007-11-17 Thread Blue Swirl
On 11/16/07, Robert Reif <[EMAIL PROTECTED]> wrote: > > >>Add iommu version to sparc32. Also reset iommu after initialization. > >> > >> > > > >Should the version be tied to CPU model instead of machine type? At > >least for Turbosparc this seems to be the case. > > > > > On SMP systems the IOMMU

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

2007-11-17 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/17 09:04:10 Modified files: . : vl.h hw : iommu.c sun4m.c Log message: Machine specific IOMMU version (Robert Reif) CVSWeb URLs: http://cvs.savannah.gnu.org/v

Re: [Qemu-devel] Re: RFC: fix for random Qemu crashes

2007-11-17 Thread J. Mayer
On Fri, 2007-11-16 at 18:58 -0800, Ben Pfaff wrote: > "J. Mayer" <[EMAIL PROTECTED]> writes: > > > On Fri, 2007-11-16 at 21:32 +0100, andrzej zaborowski wrote: > >> I think a line like > >> > >> #define inline __attribute__ (( always_inline )) inline > >> > >> in dyngen-exec.h should be > > >

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

2007-11-17 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/17 08:21:43 Modified files: target-sparc : op_helper.c Log message: Remove unnecessary register masking (Robert Reif) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op_he

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

2007-11-17 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/17 08:19:57 Modified files: target-sparc : op_helper.c Log message: Fix MXCC error register (Robert Reif) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op_helper.c?cvsro

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

2007-11-17 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/11/17 08:19:00 Modified files: target-sparc : op_helper.c Log message: Add MXCC module reset register (Robert Reif) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op_helper.