[Qemu-devel] RFC: avoid #ifdef for target cpu list

2007-10-09 Thread J. Mayer
This tiny patch unifies the -cpu ? option for all cpu that actually can handle it. It changes the arm_cpu_list to use the same prototype as ppc, mips and sparc and add a new define cpu_list in target_xxx/cpu.h As the cpu selection is not implemented for all targets, I had to protect the call to cpu

[Qemu-devel] Don't install tools if $(TOOLS) is empty

2007-10-09 Thread Thayne Harbaugh
Install will fail if $(TOOLS) is empty - which happens when only user emulation is built Index: qemu/Makefile === --- qemu.orig/Makefile 2007-10-09 21:31:43.0 -0600 +++ qemu/Makefile 2007-10-09 21:40:05.0 -0600

Re: [Qemu-devel] RFC: cleanups: CPU_MEM_INDEX

2007-10-09 Thread Thiemo Seufer
J. Mayer wrote: > Here's a proposal to add a int cpu_mem_index (CPUState *env) function in > targets cpu.h header. > The idea of this patch is: > - avoid many #ifdef TARGET_xxx in exec-all.h and softmmu_header.h then > make the code more readable > - avoid multiple implementation of the same code

Re: [Qemu-devel] qemu Makefile.target

2007-10-09 Thread Thayne Harbaugh
On Tue, 2007-10-09 at 11:43 +0200, J. Mayer wrote: > On Mon, 2007-10-08 at 21:33 +0200, Stefan Weil wrote: > > Blue Swirl schrieb: > > > On 6/1/07, Stefan Weil <[EMAIL PROTECTED]> wrote: > > >> Wouldn't it be better to let the compiler create dependency files > > >> which make can read? I posted a

[Qemu-devel] RFC: cleanups: CPU_MEM_INDEX

2007-10-09 Thread J. Mayer
Here's a proposal to add a int cpu_mem_index (CPUState *env) function in targets cpu.h header. The idea of this patch is: - avoid many #ifdef TARGET_xxx in exec-all.h and softmmu_header.h then make the code more readable - avoid multiple implementation of the same code (3, in that particular case)

[Qemu-devel] qemu Changelog Makefile.target configure linux-...

2007-10-09 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/10/09 16:34:29 Modified files: . : Changelog Makefile.target configure linux-user : elfload.c linuxload.c main.c qemu.h linux-user/sparc64: syscall_nr.h Added files:

[Qemu-devel] qemu/hw acpi.c

2007-10-09 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/10/09 11:41:47 Modified files: hw : acpi.c Log message: Match values with the ones documented in the PIIX4 datasheet. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acp

Re: [Qemu-devel] qemu Makefile.target

2007-10-09 Thread J. Mayer
On Mon, 2007-10-08 at 21:33 +0200, Stefan Weil wrote: > Blue Swirl schrieb: > > On 6/1/07, Stefan Weil <[EMAIL PROTECTED]> wrote: > >> Wouldn't it be better to let the compiler create dependency files > >> which make can read? I posted a patch some time ago and use it > >> since many months for dif