Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-29 Thread Tristan Gingold
On Nov 24, 2011, at 11:44 AM, Andreas Färber wrote: Am 23.11.2011 22:59, schrieb Richard Henderson: On 11/20/2011 12:51 PM, Andreas Färber wrote: * Part of the problem is that common CPUState fields are not at the start of the struct. I have therefore been playing with a CPU_COMMON_PREFIX

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-29 Thread Richard Henderson
On 11/29/2011 01:09 AM, Tristan Gingold wrote: Then what is your suggestion? Point to the middle ? IE, positive offsets for the common structure, negative offsets for the architecture defined ones. Well, Andreas wants to put the common data at the beginning, which would mean vice versa

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-24 Thread Andreas Färber
Am 23.11.2011 22:59, schrieb Richard Henderson: On 11/20/2011 12:51 PM, Andreas Färber wrote: * Part of the problem is that common CPUState fields are not at the start of the struct. I have therefore been playing with a CPU_COMMON_PREFIX at the start of the struct and using a macro for

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-23 Thread Richard Henderson
On 11/20/2011 12:51 PM, Andreas Färber wrote: * Part of the problem is that common CPUState fields are not at the start of the struct. I have therefore been playing with a CPU_COMMON_PREFIX at the start of the struct and using a macro for clearing on reset, which preserves part of the common

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-20 Thread Andreas Färber
Hello Renato, Am 19.11.2011 22:20, schrieb Renato Utsch: I am making a dreamcast emulator and I wanted to know the status of the sh-4 emulator, if it is stable, if it actually works, etc... And the same for the ARM7-TDMI emulator (if QEMU supports it, it supports?), because this would save

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-20 Thread Peter Maydell
On 20 November 2011 18:08, Andreas Färber andreas.faer...@web.de wrote: sh4-softmmu has been successfully used to boot Linux on certain boards. What will remain is for you to add a Dreamcast machine, instantiating the CPU and devices, and implementing those not available in QEMU today, such as

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-20 Thread Andreas Färber
Am 19.11.2011 22:53, schrieb Peter Maydell: We also don't support having multiple CPUs with different architectures in one emulator: you can have an ARM emulator, or an SH4 emulator, but not an emulation of a system with both an ARM and an SH4 core. Although I have recently been investigating

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-20 Thread Peter Maydell
On 20 November 2011 20:51, Andreas Färber andreas.faer...@web.de wrote: Am 19.11.2011 22:53, schrieb Peter Maydell: We also don't support having multiple CPUs with different architectures Although I have recently been investigating exactly that combo. Yes, it would be nice to be able to do it

[Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-19 Thread Renato Utsch
Hello people, I am new to this mailing list, so if I do something wrong say to me... Well, I am making a dreamcast emulator and I wanted to know the status of the sh-4 emulator, if it is stable, if it actually works, etc... And the same for the ARM7-TDMI emulator (if QEMU supports it, it

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-19 Thread Peter Maydell
On 19 November 2011 21:20, Renato Utsch renatout...@gmail.com wrote: Well, I am making a dreamcast emulator and I wanted to know the status of the sh-4 emulator, if it is stable, if it actually works, etc... And the same for the ARM7-TDMI emulator (if QEMU supports it, it supports?), because