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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 03:46:38 Modified files: target-ppc : translate.c Log message: Synchronize with latest PowerPC ISA VEA: * fix invalid instructions bits masks * new wait instruction

Re: [Qemu-devel] RFC: cleanups in ELF loader

2007-09-29 Thread Edgar E. Iglesias
On Sun, Sep 30, 2007 at 04:28:57AM +0200, J. Mayer wrote: > On Sun, 2007-09-30 at 04:15 +0200, Edgar E. Iglesias wrote: > > On Sun, Sep 30, 2007 at 03:39:15AM +0200, J. Mayer wrote: > > > Following what I've done in the syscalls emulation routines, it appeared > > > to me that there seems to be a l

Re: [Qemu-devel] RFC: cleanups in ELF loader

2007-09-29 Thread J. Mayer
On Sun, 2007-09-30 at 04:15 +0200, Edgar E. Iglesias wrote: > On Sun, Sep 30, 2007 at 03:39:15AM +0200, J. Mayer wrote: > > Following what I've done in the syscalls emulation routines, it appeared > > to me that there seems to be a lot of confusions between host and target > > long in the ELF loade

Re: [Qemu-devel] RFC: cleanups in ELF loader

2007-09-29 Thread Edgar E. Iglesias
On Sun, Sep 30, 2007 at 03:39:15AM +0200, J. Mayer wrote: > Following what I've done in the syscalls emulation routines, it appeared > to me that there seems to be a lot of confusions between host and target > long in the ELF loader. > I tried to fix this. I also noticed that the image infos start_

[Qemu-devel] qemu .cvsignore

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/30 02:14:04 Modified files: . : .cvsignore Log message: Add mipsn32{,el}-linux-user. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/.cvsignore?cvsroot=qemu&r1=1.20&r2=

[Qemu-devel] qemu/hw r2d.c

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/30 02:10:37 Modified files: hw : r2d.c Log message: Remove unused variable. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/r2d.c?cvsroot=qemu&r1=1.1&r2=1.2

[Qemu-devel] qemu Makefile Makefile.target configure qemu-bi...

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/30 01:58:33 Modified files: . : Makefile Makefile.target configure qemu-binfmt-conf.sh linux-user : main.c signal.c syscall_defs.h linux-

[Qemu-devel] RFC: cleanups in ELF loader

2007-09-29 Thread J. Mayer
Following what I've done in the syscalls emulation routines, it appeared to me that there seems to be a lot of confusions between host and target long in the ELF loader. I tried to fix this. I also noticed that the image infos start_data field was not computed as the Linux kernel does. As the ARM a

[Qemu-devel] qemu/hw m48t59.c

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 01:29:07 Modified files: hw : m48t59.c Log message: Avoid crash on NULL timers. This is a rework of Stefan Weil proposed patch. CVSWeb URLs: http://cvs.savannah.gnu.org

[Qemu-devel] qemu/target-ppc op.c op_helper.c op_helper.h tr...

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 01:18:26 Modified files: target-ppc : op.c op_helper.c op_helper.h translate.c Log message: Implement Process Priority Register as defined in the PowerPC 2.04 spec. CVSWeb URLs: http:/

[Qemu-devel] target_mmap and host vs target page sizes.

2007-09-29 Thread Edgar E. Iglesias
Hello, I have cleaned up the mmap patch that corrects the alignment for un-fixed mappings when the target page-size is larger than the hosts. The error was found and the patch tested with the CRIS target port (not yet contributed) on a x86 host running GCC's c-torture tests for CRIS. Without th

[Qemu-devel] qemu/target-ppc op.c op_helper.c op_helper.h tr...

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 01:11:48 Modified files: target-ppc : op.c op_helper.c op_helper.h translate.c Log message: Implement new floating-point instructions (fre, frin, friz, frip, frim) as defined

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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 01:01:08 Modified files: target-ppc : op_mem.h translate.c Log message: Improve single-precision floats load & stores: as the PowerPC registers only store double-precision flo

[Qemu-devel] qemu/linux-user/mips64

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/30 00:56:06 New directory: linux-user/mips64 CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/mips64/?cvsroot=qemu

[Qemu-devel] qemu/linux-user/mipsn32

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/30 00:55:48 New directory: linux-user/mipsn32 CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/mipsn32/?cvsroot=qemu

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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 00:50:23 Modified files: target-ppc : cpu.h helper.c Log message: XER is to be treated as a 64 bits register on 64 bits implementations, according to the PowerPC 2.04 specific

[Qemu-devel] qemu/target-mips TODO

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/30 00:45:51 Modified files: target-mips: TODO Log message: Update TODO. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/TODO?cvsroot=qemu&r1=1.13&r2=1.14

[Qemu-devel] qemu darwin-user/main.c hw/ppc.c linux-user/mai...

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/30 00:38:38 Modified files: darwin-user: main.c hw : ppc.c linux-user : main.c target-ppc : cpu.h op.c translate_init.c Log message: Implemen

Re: [Qemu-devel] Updated >2G memory patch

2007-09-29 Thread J. Mayer
On Sun, 2007-09-30 at 01:02 +0100, Paul Brook wrote: > > > IMHO Huge amounts of virtual address space can definitely be useful, even > > > if you don't have ram to back it. > > > > > > Huge amounts of physical address space is less immediately useful, though > > > in practice you have to emulate wh

Re: [Qemu-devel] Updated >2G memory patch

2007-09-29 Thread Paul Brook
> > IMHO Huge amounts of virtual address space can definitely be useful, even > > if you don't have ram to back it. > > > > Huge amounts of physical address space is less immediately useful, though > > in practice you have to emulate whatever real hardware provides. If > > you're emulating a machin

Re: [Qemu-devel] Updated >2G memory patch

2007-09-29 Thread J. Mayer
On Sat, 2007-09-29 at 23:43 +0100, Paul Brook wrote: > > > Also note that changing variables from int to long have strictly no > > > impact on 32 bits host machines, then won't help emulating more than 2 > > > GB of RAM. Another variable type (target_phys_addr_t ?) should be used > > > instead. > >

Re: [Qemu-devel] Updated >2G memory patch

2007-09-29 Thread Paul Brook
> > Also note that changing variables from int to long have strictly no > > impact on 32 bits host machines, then won't help emulating more than 2 > > GB of RAM. Another variable type (target_phys_addr_t ?) should be used > > instead. > > This patch should be restricted to 64-bit hosts. I don't th

[Qemu-devel] qemu Makefile

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 21:22:33 Modified files: . : Makefile Log message: Don't hardcode the host architecture name. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemu&r

[Qemu-devel] qemu Makefile

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 21:18:27 Modified files: . : Makefile Log message: Update tarbin rule. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemu&r1=1.123&r2=1.124

Re: [Qemu-devel] qcow2 vs. image file format --> pci device

2007-09-29 Thread Dor Laor
Clemens Kolbitsch wrote: hi everyone! i have a strange problem (at least to me it seems strange :-) ): i have implemented a pci device (Network IC) and it works just fine when using a standard image. however i now want to support snapshotting... i started to convert my image into the qcow2 f

[Qemu-devel] qemu configure

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:55:22 Modified files: . : configure Log message: Enable sh4-softmmu and sh4-linux-user builds by default, by Magnus Damm. CVSWeb URLs: http://cvs.savannah.gnu.org/viewc

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

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:52:22 Modified files: target-sh4 : translate.c Log message: Fix rte opcode, by Magnus Damm. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/translate.c?cvsroot=

[Qemu-devel] qemu/hw sh7750.c

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:51:40 Modified files: hw : sh7750.c Log message: Add FRQCR read support, by Magnus Damm. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sh7750.c?cvsroot=qemu&r

[Qemu-devel] qemu/hw sh7750.c

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:47:44 Modified files: hw : sh7750.c Log message: Add INTC controller prototype, by Magnus Damm. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sh7750.c?cvsroot

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

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:43:54 Modified files: . : Makefile.target vl.h hw : sh7750.c sh7750_regnames.c sh7750_regs.h Added files: hw : sh_serial.c Log message:

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

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:40:09 Modified files: . : Makefile.target vl.h hw : sh7750.c sh7750_regnames.c sh7750_regs.h Added files: hw : sh_timer.c Log message:

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

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:24:41 Modified files: . : Makefile.target vl.c vl.h Added files: hw : r2d.c Log message: Add R2D-PLUS support, by Magnus Damm. CVSWeb URLs: http://

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

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:21:36 Modified files: target-mips: exec.h helper.c translate_init.c Log message: Supervisor mode implementation, by Aurelien Jarno. CVSWeb URLs: http://cvs.savannah.gnu.org/view

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

2007-09-29 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/09/29 19:20:00 Modified files: target-mips: op_helper.c Log message: Less magic constants. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_helper.c?cvsroot=qemu&r1=1

Re: [Qemu-devel] Updated >2G memory patch

2007-09-29 Thread Blue Swirl
On 9/29/07, J. Mayer <[EMAIL PROTECTED]> wrote: > Imho, having 42 bits of physical address space as a default is clearly > not a good solution. I agree that the number of bits could be reduced. Something like 36 bits (64G) should be enough for some years. > First of all, it's a nonsense for most

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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 15:02:38 Modified files: target-ppc : translate.c translate_init.c Log message: PowerPC emulation optimization: avoid stopping translation after most SPR updates when a

[Qemu-devel] qcow2 vs. image file format --> pci device

2007-09-29 Thread Clemens Kolbitsch
hi everyone! i have a strange problem (at least to me it seems strange :-) ): i have implemented a pci device (Network IC) and it works just fine when using a standard image. however i now want to support snapshotting... i started to convert my image into the qcow2 format and suddenly my code d

Re: [Qemu-devel] Re: Updated >2G memory patch

2007-09-29 Thread Izik Eidus
Izik Eidus wrote: Blue Swirl wrote: cpu_register_physical_memory(0x1, above_bios_mem_size, ram_addr + ram_size); should be cpu_register_physical_memory(0x1, above_bios_mem_size, ram_size); sorry, in qemu cvs cpu_register_physical_memory(0x1, above_bios_mem_size, ram_

Re: [Qemu-devel] Updated >2G memory patch

2007-09-29 Thread J. Mayer
On Sat, 2007-09-29 at 16:04 +0300, Blue Swirl wrote: > I updated the >2G memory patch a bit. It seems that Linux and the BSDs > do not support having more than 4G of memory on Sparc32. There may > have been real machines with up to 5G of memory and even 16G on Crays, > but probably Linux hasn't bee

[Qemu-devel] Re: Updated >2G memory patch

2007-09-29 Thread Izik Eidus
Blue Swirl wrote: I updated the >2G memory patch a bit. It seems that Linux and the BSDs do not support having more than 4G of memory on Sparc32. There may have been real machines with up to 5G of memory and even 16G on Crays, but probably Linux hasn't been ported to those systems. Therefore I d

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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 13:21:37 Modified files: hw : ppc.c target-ppc : cpu.h Log message: Code provision for hypervisor timers resources, as described in PowerPC 2.04 specificat

[Qemu-devel] qemu Makefile.target

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 13:20:12 Modified files: . : Makefile.target Log message: Fix PowerPC target objects dependencies CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot

[Qemu-devel] qemu/linux-user/x86_64 target_signal.h

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 13:12:58 Modified files: linux-user/x86_64: target_signal.h Log message: Provision for x86_64-linux-user target: needs get_sp_from_cpustate CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs

[Qemu-devel] qemu darwin-user/main.c linux-user/main.c targe...

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 13:06:16 Modified files: darwin-user: main.c linux-user : main.c target-ppc : cpu.h helper.c op_helper.c op_mem.h translate.c translate_init.c

[Qemu-devel] Updated >2G memory patch

2007-09-29 Thread Blue Swirl
I updated the >2G memory patch a bit. It seems that Linux and the BSDs do not support having more than 4G of memory on Sparc32. There may have been real machines with up to 5G of memory and even 16G on Crays, but probably Linux hasn't been ported to those systems. Therefore I don't have much inter

[Qemu-devel] qemu exec.c

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 12:18:21 Modified files: . : exec.c Log message: make cpu_abort dump cpu state in logfile, which is useful for debugging. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu

[Qemu-devel] qemu exec-all.h vl.h

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 12:17:25 Modified files: . : exec-all.h vl.h Log message: always_inline gcc directive can be useful. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=q

[Qemu-devel] qemu Makefile.target

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 12:15:39 Modified files: . : Makefile.target Log message: host_utils.o may also be useful for user-mode emulation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefi

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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 12:01:46 Modified files: . : disas.c target-ppc : cpu.h translate.c translate_init.c Log message: Define the proper bfd_mach to be used by the disassembler for eac

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

2007-09-29 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/09/29 11:51:08 Modified files: hw : ppc_chrp.c ppc_prep.c target-ppc : translate_init.c Log message: Change POWERPC_PPC_GENERIC to POWERPC_DEFAULT. Use it as defa

[Qemu-devel] U-Boot

2007-09-29 Thread Vlad Lungu
Vlad Lungu wrote: lol, replying to myself Blue Swirl wrote: Someone could port OpenBIOS or LinuxBIOS to MIPS. Well, just FYI: I sort-of-ported U-Boot to Qemu (-M mips). Network performance sucks for some reason (hard enough that tftp-booting a kernel is impossible) and I didn't have ti