CVS notes...
The ppc compile problem can be fixed by changing "regs" to "gregs"
at the place described earlier. The resulting build works well - I'm able to run wine under it and everything.
After some trickery (like merging in the changes from i386-vl.ld
into a ppc-vl.ld, basically looking at the diffs from i386.ld) and pointing the linkline to that, vl now compiles but it's use of SDL messes up my X11, and I doubt it's actually loading the kernel. But it should be close to actually working now, and I'm quite interested in seeing where it goes.
I'd definitely like to see a ppc target as well... a system mode
emulation based off of MOL (and more compatible with standard kernels) would be incredible, even if it was slow because of the register issues. But first - what's the best way to start on a user target?
- Chad
Quoted 7 lines · Chad Page
I'd definitely like to see a ppc target as well... a system mode
emulation based off of MOL (and more compatible with standard kernels) would be incredible, even if it was slow because of the register issues. But first - what's the best way to start on a user target?- Chad
Hi,
I already have an user-mode PPC emulation, with no float able to launch static PPC binaries. I have no supervisor mode nor 64 bit PPC support, for now, and I only emulate the generic 32 bits PPC, according to the specification. I need to resync with latest architectural changes and it would be great that if I could fix dynamic binaries loading, which used to work, some times ago, then I will be able to send my (big) patch to Fabrice. If you'd like to help me and have some notions about IEEE floats, maybe you could make some generic helpers for float ops emulation ? This would be great !
Another thing to do is to point differences between common PPC chips and the spec, so qemu would be able to emulate "real" PPC chips. I think PPC 603 and G3 would be a good start.
Regards.
Signature · 2 lines
Jocelyn Mayer <[email protected]> Never organized
Cool! I'd definitely like to look at this sometime. I don't have
much IEEE fp experience but I'd still like to do whatever I can to move it along. I know some common code uses the registers as 64-bit registers for data moving, so at least that should be implemented.
I don't think supervisor mode is needed yet for user emulation.
If the same approach as qemu-i386 was taken to system emulation (i.e. running dosemu first), then the first step would be to simulate the MOL kernel module's handling of things, and then full supervisor mode would come later.
Specific chip emulation would be good too... if it had to support
only one chip I'd vote for the G3.
Hoping to see this in qemu soon...,
- Chad
Quoted 28 lines · Jocelyn Mayer
Hi,
I already have an user-mode PPC emulation, with no float able to launch static PPC binaries. I have no supervisor mode nor 64 bit PPC support, for now, and I only emulate the generic 32 bits PPC, according to the specification. I need to resync with latest architectural changes and it would be great that if I could fix dynamic binaries loading, which used to work, some times ago, then I will be able to send my (big) patch to Fabrice. If you'd like to help me and have some notions about IEEE floats, maybe you could make some generic helpers for float ops emulation ? This would be great !
Another thing to do is to point differences between common PPC chips and the spec, so qemu would be able to emulate "real" PPC chips. I think PPC 603 and G3 would be a good start.Regards.
Signature · 9 lines
Jocelyn Mayer <[email protected]> Never organized _______________________________________________ Qemu-devel mailing list [email protected] http://mail.nongnu.org/mailman/listinfo/qemu-devel
Quoted 3 lines · Jocelyn Mayer
times ago, then I will be able to send my (big) patch to Fabrice. If you'd like to help me and have some notions about IEEE floats, maybe you could make some generic helpers for float ops emulation ?
I would like but I don't even have enough time to work on my own JIT.
BTW, if you have user emulation working, you can run SheepShaver as it requires no kernel module at all, except sheepnet if you want some network. However, it only emulates MacOS 8.6 at most for now.
Note that SheepShaver won't work if it is statically linked last time I checked.
Quoted 3 lines
This would be great ! Another thing to do is to point differences between common PPC chips and the spec, so qemu would be able to emulate "real" PPC chips. I think PPC 603 and G3 would be a good start.
Yes, 750 or 74xx if you want Altivec support.