Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-08 Thread Thiemo Seufer
Stefan Weil wrote: > Hello Thiemo, > > here is a (partially crude) patch which mixes your code with > my own MIPS host extension and code parts from a MIPS host > made by Johannes E. Schindelin 2 years ago. > > Using this new code I was able to start a Linux kernel > using qemu-system-mipsel runn

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-08 Thread Thiemo Seufer
Stefan Weil wrote: [snip] I cherrypicked the easy bits, and will look at the rest when I have more time. > When I started to write MIPS host, I found it difficult to > get all locations which needed new code. To make it easier for > new ports, I changed sequences of #if ... #endif, #if ... #endif

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-07 Thread Johannes Schindelin
Hi Stefan, On Mon, 7 May 2007, Stefan Weil wrote: > here is a (partially crude) patch which mixes your code with my own MIPS > host extension and code parts from a MIPS host made by Johannes E. > Schindelin 2 years ago. Hey, that's cool! I did not have the motivation/time/machines to pick up

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-07 Thread Stefan Weil
For Linux usermode emulation, this patch was missing. Stefan Index: cpu-exec.c === --- cpu-exec.c (Revision 656) +++ cpu-exec.c (Arbeitskopie) @@ -1545,9 +1545,10 @@ #elif defined(__mips__) -int cpu_signal_handler(int host_signu

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-07 Thread Stefan Weil
Hello Thiemo, here is a (partially crude) patch which mixes your code with my own MIPS host extension and code parts from a MIPS host made by Johannes E. Schindelin 2 years ago. Using this new code I was able to start a Linux kernel using qemu-system-mipsel running in an emulated MALTA machine.