[Qemu-devel] qemu hw/ppc_chrp.c hw/ppc_prep.c target-ppc/hel...

2007-10-02 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/10/03 01:06:57 Modified files: hw : ppc_chrp.c ppc_prep.c target-ppc : helper.c Log message: Fix PowerPC initialisation and first reset: reset must occur after w

[Qemu-devel] qemu hw/ppc.c hw/ppc_chrp.c target-ppc/cpu.h ta...

2007-10-02 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/10/03 01:05:39 Modified files: hw : ppc.c ppc_chrp.c target-ppc : cpu.h helper.c translate_init.c Log message: We never have to export ppc_set_irq. Protect PowerP

[Qemu-devel] qemu/hw ppc405_boards.c

2007-10-02 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/10/03 01:04:20 Modified files: hw : ppc405_boards.c Log message: Fix PowerPC 405 BIOS instanciation: is a 32 bits only target. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/h

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Ralf Baechle
On Tue, Oct 02, 2007 at 10:57:24PM +0200, Aurelien Jarno wrote: > From: Aurelien Jarno <[EMAIL PROTECTED]> > Date: Tue, 02 Oct 2007 22:57:24 +0200 > To: Alan Cox <[EMAIL PROTECTED]> > CC: qemu-devel@nongnu.org, [EMAIL PROTECTED] > Subject: Re: [Qemu-devel] QEMU/MIPS & dyntick kernel > Content-Type:

[Qemu-devel] [PATCH] CRIS linux-user/cris (new)

2007-10-02 Thread Edgar E. Iglesias
This adds CRIS user emulation support, new cris subdir. -- Edgar E. Iglesias Axis Communications AB linux-user/cris/syscall.h | 37 + linux-user/cris/syscall_nr.h| 291 +++ linux-user/cris/target_signal.h | 29 linux-user/cris/termbits

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Alan Cox
> Well on real hardware, the instruction rate and the timer are linked: > the timer run at half the speed of the CPU. As the corresponding > assembly code is very small, only uses registers and is run in kernel > mode, you know for sure that 48 cycles is more than enough. What happens on NMI or if

[Qemu-devel] [PATCH] CRIS linux-user (existing)

2007-10-02 Thread Edgar E. Iglesias
This adds CRIS user emulation support to existing linux-user files in qemu. -- Edgar E. Iglesias Axis Communications AB linux-user/elfload.c | 20 linux-user/main.c | 75 + linux-user/syscall.c |8 +++- linux-user

[Qemu-devel] [PATCH] CRIS hw

2007-10-02 Thread Edgar E. Iglesias
This adds very limited simulation for EtraxFS, a SoC with a CRISv32 core. Only parts of the timer and serial port 0 are simulated (+ the CPU). Enough to at least initiate a kernel boot (hangs at NAND and Ethernet setup). -- Edgar E. Iglesias Axis Communications AB hw/etraxfs.c | 175 ++

[Qemu-devel] [PATCH] CRIS target-cris/*

2007-10-02 Thread Edgar E. Iglesias
This are the remaining files of the target-cris/ subdir. -- Edgar E. Iglesias Axis Communications AB target-cris/cpu.h | 252 + target-cris/exec.h| 68 target-cris/helper.c | 173 +++ t

[Qemu-devel] [PATCH] CRIS mmu

2007-10-02 Thread Edgar E. Iglesias
Add parts of the mmu simulation. ATM it only handles segmented areas (not paged). -- Edgar E. Iglesias Axis Communications AB target-cris/mmu.c | 147 + target-cris/mmu.h | 20 +++ 2 files changed, 167 insertions(+), 0 deletions(-) d

[Qemu-devel] [PATCH] CRIS insn decoding macros

2007-10-02 Thread Edgar E. Iglesias
This adds macros to help out with the insn decoding. -- Edgar E. Iglesias Axis Communications AB target-cris/crisv32-decode.h | 126 ++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git a/target-cris/crisv32-decode.h b/target-cris/crisv32-de

[Qemu-devel] [PATCH] CRIS micro-ops

2007-10-02 Thread Edgar E. Iglesias
This patch implements the CRIS micro ops. -- Edgar E. Iglesias Axis Communications AB target-cris/op.c | 1289 ++ 1 files changed, 1289 insertions(+), 0 deletions(-) diff --git a/target-cris/op.c b/target-cris/op.c new file mode 100644 index

[Qemu-devel] Re: [PATCH] linux-user futimesat() syscall

2007-10-02 Thread Thayne Harbaugh
On Wed, 2007-09-19 at 06:53 -0600, Thayne Harbaugh wrote: > This patch adds the futimesat syscall to linux-user. The previous futimesat() patch that was sent was horribly brain-damaged: it used timespec in a few places that should have used timeval. This is a corrected patch. I'm sure the previo

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Aurelien Jarno
Alan Cox a écrit : >> Well on real hardware, the instruction rate and the timer are linked: >> the timer run at half the speed of the CPU. As the corresponding >> assembly code is very small, only uses registers and is run in kernel >> mode, you know for sure that 48 cycles is more than enough. >

[Qemu-devel] [PATCH] CRIS disassembly (qemu)

2007-10-02 Thread Edgar E. Iglesias
This adds CRIS disas support to existing files in qemu. -- Edgar E. Iglesias Axis Communications AB dis-asm.h |5 + disas.c |3 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/dis-asm.h b/dis-asm.h index bacd9c4..a805a48 100644 --- a/dis-asm.h +++ b/dis-asm.h @

[Qemu-devel] [PATCH] CRIS toplevel

2007-10-02 Thread Edgar E. Iglesias
These patches add CRIS support to qemu top-level dir. I had to increase the size of the packet buffer for gdb, I could try to find a size less than 4k if it's a problem. -- Edgar E. Iglesias Axis Communications AB cpu-exec.c | 62 +- exe

[Qemu-devel] [PATCH] CRIS configure and build

2007-10-02 Thread Edgar E. Iglesias
Thanks for the comments Thiemo, I've now split the patch. This part modifies the configure and build related files. -- Edgar E. Iglesias Axis Communications AB Makefile.target | 15 +++ configure | 19 --- tests/Makefile |5 + 3 files changed, 36

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Anthony Liguori
Bernhard Fischer wrote: On Tue, Oct 02, 2007 at 03:09:41PM -0500, Anthony Liguori wrote: Bernhard Fischer wrote: On Tue, Oct 02, 2007 at 01:45:39PM -0500, Anthony Liguori wrote: What does one gain with GGI support? I've never seen a good answer to this. GGI su

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> Hi, >> >> As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a >> try on QEMU/MIPS, and unfortunately it doesn't work correctly. >> >> In some cases the kernel schedules an event very near in the future, >> which means the timer i

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: Bernhard Fischer wrote: On Tue, Oct 02, 2007 at 01:45:39PM -0500, Anthony Liguori wrote: What does one gain with GGI support? I've never seen a good answer to this. GGI supports a number of display-targets: http://www.ggi-project.org/targets.h

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Bernhard Fischer
On Tue, Oct 02, 2007 at 03:09:41PM -0500, Anthony Liguori wrote: > Bernhard Fischer wrote: >> On Tue, Oct 02, 2007 at 01:45:39PM -0500, Anthony Liguori wrote: >> >>> What does one gain with GGI support? I've never seen a good answer to >>> this. >>> >> >> GGI supports a number of display-

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Johannes Schindelin
Hi, On Tue, 2 Oct 2007, Anthony Liguori wrote: > What does one gain with GGI support? I've never seen a good answer to > this. GGI has backends that SDL does not have. Hth, Dscho

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Avi Kivity
Aurelien Jarno wrote: Hi, As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a try on QEMU/MIPS, and unfortunately it doesn't work correctly. In some cases the kernel schedules an event very near in the future, which means the timer is scheduled a few cycles only from its c

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Avi Kivity
Anthony Liguori wrote: Bernhard Fischer wrote: On Tue, Oct 02, 2007 at 01:45:39PM -0500, Anthony Liguori wrote: What does one gain with GGI support? I've never seen a good answer to this. GGI supports a number of display-targets: http://www.ggi-project.org/targets.html umong them X11,

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Bernhard Fischer
On Tue, Oct 02, 2007 at 09:29:51PM +0200, Bernhard Fischer wrote: >On Tue, Oct 02, 2007 at 07:36:47PM +0100, Thiemo Seufer wrote: >>- What is the deal with the GGI license mentioned? > >I don't really know. The current patch has >+/* #include license.bsd */ >But if this imposes a problem due to th

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Anthony Liguori
Bernhard Fischer wrote: On Tue, Oct 02, 2007 at 01:45:39PM -0500, Anthony Liguori wrote: What does one gain with GGI support? I've never seen a good answer to this. GGI supports a number of display-targets: http://www.ggi-project.org/targets.html umong them X11, quartz, directx, fbdev

[Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Aurelien Jarno
Hi, As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a try on QEMU/MIPS, and unfortunately it doesn't work correctly. In some cases the kernel schedules an event very near in the future, which means the timer is scheduled a few cycles only from its current value. Unfortunat

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Bernhard Fischer
On Tue, Oct 02, 2007 at 07:36:47PM +0100, Thiemo Seufer wrote: >Bernhard Fischer wrote: >> If i need to make changes to get it accepted, please let me know. > >- The have_gcc3_options addition to configure looks suspicious. Looks like a leftover, yes. Removed. >- The softfloat.h/system.h workaro

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Bernhard Fischer
On Tue, Oct 02, 2007 at 01:45:39PM -0500, Anthony Liguori wrote: > What does one gain with GGI support? I've never seen a good answer to > this. GGI supports a number of display-targets: http://www.ggi-project.org/targets.html umong them X11, quartz, directx, fbdev, vgl, vnc, wsfb, libaa, termin

Re: [Qemu-devel] sparc32 CVS broken

2007-10-02 Thread Blue Swirl
On 10/2/07, Blue Swirl <[EMAIL PROTECTED]> wrote: > On 10/2/07, Blue Swirl <[EMAIL PROTECTED]> wrote: > > On 10/2/07, Robert Reif <[EMAIL PROTECTED]> wrote: > > > Sparc32 CVS exits after illegal instruction trap. > > > > I can confirm this. Let's see if git bisect is any good. > > a0bd188b4800c8db8

[Qemu-devel] qemu/hw sun4m.c

2007-10-02 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/10/02 19:15:49 Modified files: hw : sun4m.c Log message: Fix kernel loading CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4m.c?cvsroot=qemu&r1=1.50&r2=1.51

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Anthony Liguori
What does one gain with GGI support? I've never seen a good answer to this. Regards, Anthony Liguori Bernhard Fischer wrote: On Tue, Oct 02, 2007 at 01:02:23PM +0100, Johannes Schindelin wrote: Hi, On Tue, 2 Oct 2007, Edgar E. Iglesias wrote: If someone prefers patches in another f

Re: [Qemu-devel] sparc32 CVS broken

2007-10-02 Thread Blue Swirl
On 10/2/07, Blue Swirl <[EMAIL PROTECTED]> wrote: > On 10/2/07, Robert Reif <[EMAIL PROTECTED]> wrote: > > Sparc32 CVS exits after illegal instruction trap. > > I can confirm this. Let's see if git bisect is any good. a0bd188b4800c8db855ac5dde6356280c80a28b2 is first bad commit commit a0bd188b4800

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Thiemo Seufer
Bernhard Fischer wrote: > On Tue, Oct 02, 2007 at 01:02:23PM +0100, Johannes Schindelin wrote: > >Hi, > > > >On Tue, 2 Oct 2007, Edgar E. Iglesias wrote: > > > >> If someone prefers patches in another form or access to my git > >> repository, let me know and I'll be happy to provide that. > > > >W

Re: [Qemu-devel] sparc32 CVS broken

2007-10-02 Thread Blue Swirl
On 10/2/07, Robert Reif <[EMAIL PROTECTED]> wrote: > Sparc32 CVS exits after illegal instruction trap. I can confirm this. Let's see if git bisect is any good.

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Bernhard Fischer
On Tue, Oct 02, 2007 at 06:32:20PM +0100, Johannes Schindelin wrote: >Hi, >FWIW I would have preferred you following my simple instructions to set up >a fork, but what the heck. ermz, sorry. Thanks :) > >Anybody who fetches the "ggi" branch from my repository on repo.or.cz: >this branch will be

Re: merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Johannes Schindelin
Hi, On Tue, 2 Oct 2007, Bernhard Fischer wrote: > On Tue, Oct 02, 2007 at 01:02:23PM +0100, Johannes Schindelin wrote: > > >On Tue, 2 Oct 2007, Edgar E. Iglesias wrote: > > > >> If someone prefers patches in another form or access to my git > >> repository, let me know and I'll be happy to provi

Re: [Qemu-devel] softmmu_header: ldb_kernel vs. ldsb_kernel

2007-10-02 Thread Clemens Kolbitsch
> > The only difference I see (that really matters) is how the bytes are > > copied to the result-pointer (i.e. using movzbl vs. movsbl)... but that's > > it. > > It is a cast. The generic C version for the other architectures makes > this more obvious. > > > If there is some deeper reason behind

Re: [Qemu-devel] [RFC] CRIS target port

2007-10-02 Thread Thiemo Seufer
Edgar E. Iglesias wrote: > Hello, > > I've been working an a CRISv32 target port of Qemu. The linux-user > emulation is quite functional but the system emulation is still > very limited. Impressive work! > I've tested the user emulation with a test-suite added to the tests/ > dir in Qemu. I also

Re: [Qemu-devel] softmmu_header: ldb_kernel vs. ldsb_kernel

2007-10-02 Thread Thiemo Seufer
Clemens Kolbitsch wrote: > hi everyone! > i have a (maybe rather tricky) question: > > why do you define 2 different inline load-functions in softmmu_header: > > static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(target_ulong ptr) > > vs. > > static inline RES_TYPE glue(glue(ld, USUFFIX), MEM

Re: [Qemu-devel] Hard disk support is broken in Windows 98SE guest

2007-10-02 Thread Thiemo Seufer
Victor Shkamerda wrote: > Hi, > > Hard disk support is broken in recent CVS for Windows 98SE OS guest. > DOS also have problems. Windows 2003 seems to be fine. > > Try to create hard disk image using "dd of=w98.img bs=1 count=0 > seek=508M" and install Windows 98SE by booting from installation CD

merge GGI support? [was: Re: [Qemu-devel] [RFC] CRIS target port]

2007-10-02 Thread Bernhard Fischer
On Tue, Oct 02, 2007 at 01:02:23PM +0100, Johannes Schindelin wrote: >Hi, > >On Tue, 2 Oct 2007, Edgar E. Iglesias wrote: > >> If someone prefers patches in another form or access to my git >> repository, let me know and I'll be happy to provide that. > >Why not add a fork on http://repo.or.cz/w/q

Re: [Qemu-devel] U-Boot patch for qemu -M mips

2007-10-02 Thread Thiemo Seufer
Vlad Lungu wrote: > Fix for mips GOT relocation bug, NE2000 bugs, add support for qemu -M mips > target. [snip] > diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk > new file mode 100644 > index 000..39eb60a > --- /dev/null > +++ b/board/qemu-mips/config.mk > @@ -0,0 +1

[Qemu-devel] softmmu_header: ldb_kernel vs. ldsb_kernel

2007-10-02 Thread Clemens Kolbitsch
hi everyone! i have a (maybe rather tricky) question: why do you define 2 different inline load-functions in softmmu_header: static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(target_ulong ptr) vs. static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(target_ulong ptr) ?? Obviously this

[Qemu-devel] Hard disk support is broken in Windows 98SE guest

2007-10-02 Thread Victor Shkamerda
Hi, Hard disk support is broken in recent CVS for Windows 98SE OS guest. DOS also have problems. Windows 2003 seems to be fine. Try to create hard disk image using "dd of=w98.img bs=1 count=0 seek=508M" and install Windows 98SE by booting from installation CD. Installation failed not able to part

Re: [Qemu-devel] [RFC] CRIS target port

2007-10-02 Thread Edgar E. Iglesias
On Tue, Oct 02, 2007 at 01:02:23PM +0100, Johannes Schindelin wrote: > Hi, > > On Tue, 2 Oct 2007, Edgar E. Iglesias wrote: > > > If someone prefers patches in another form or access to my git > > repository, let me know and I'll be happy to provide that. > > Why not add a fork on http://repo.o

Re: [Qemu-devel] [RFC] CRIS target port

2007-10-02 Thread Johannes Schindelin
Hi, On Tue, 2 Oct 2007, Edgar E. Iglesias wrote: > If someone prefers patches in another form or access to my git > repository, let me know and I'll be happy to provide that. Why not add a fork on http://repo.or.cz/w/qemu.git/? It's easy: just click on the "fork" link, fill out a small form,

[Qemu-devel] [RFC] CRIS target port

2007-10-02 Thread Edgar E. Iglesias
Hello, I've been working an a CRISv32 target port of Qemu. The linux-user emulation is quite functional but the system emulation is still very limited. I've tested the user emulation with a test-suite added to the tests/ dir in Qemu. I also used GCC's c torture tests from the CRIS GCC port base

[Qemu-devel] [PATCH] Don't route PIC interrupts through the local APIC if the local APIC config says so

2007-10-02 Thread Avi Kivity
Under certain conditions, PIC interrupts should not be passed through by the local APIC. This is usually when the guest uses the IOAPIC instead of the PIC. Currently qemu does not block PIC interrupts when the local APIC is configured to do so; this results in interrupts begin received twice

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

2007-10-02 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/10/02 10:11:50 Modified files: target-ppc : translate.c Log message: Code provision for hypervisor mode memory accesses. Add comments in load & store tables to ease code reading. CVS

[Qemu-devel] U-Boot patch for qemu -M mips

2007-10-02 Thread Vlad Lungu
Fix for mips GOT relocation bug, NE2000 bugs, add support for qemu -M mips target. Patch is against U-Boot master branch. -- diff --git a/Makefile b/Makefile index 85885b1..8f650d2 100644 --- a/Makefile +++ b/Makef