[parisc-linux] QEMU Port (Help needed)
Carlos O'Donell
carlos at systemhalted.org
Sun Jun 4 15:48:17 MDT 2006
On 6/4/06, Stuart Brady <sdbrady at ntlworld.com> wrote:
> Hi,
>
> I've had a stab at porting QEMU to PA-RISC... I've uploaded a patch
> against QEMU 0.8.1 to:
>
> http://homepage.ntlworld.com/wholehog/stuart/qemu/qemu-hppa-guest.diff
>
> It compiles, but I can't figure out why it's crashing. Any ideas?
That's awesome to hear that you are working on QEMU for PARISC!
It would rock to have a fast simulator. Even a semi-hosted environment
would be a cool toy to play with.
Does QEMU crash?
Does the emulated userspace crash?
A couple of comments about your patch:
1. Remember 32-bit PARISC executables have both function pointers and
function descriptors.
2. The "gp" is r19, the "dp" is r27. I don't know what your reference
to the "__dlt" is?
3. You can copy testandset from glibc linuxthreads pthread.h
4. flush_icache_range can probably be copied from the kernel implementation.
Other than that, there are *all* sorts of things which could be wrong :)
Cheers,
Carlos.
More information about the parisc-linux
mailing list