From: Jeff D. <jd...@ka...> - 2000-04-28 16:03:37
|
> If so, then I'd like to help. As far as I know, there are no ongoing porting efforts. > If not, I'd like to have a go at it and > would appreciate someone pointing me in the right direction to get > started. :-) Here are the major items: You need to get uml to compile with the include/asm-um/arch link pointing to ../asm-ppc in your case. Almost all of the asm-um headers just #include their arch equivalents. You'll need to find the exceptions for ppc. Once it compiles, look at all the places that registers are referenced. These are in close proximity to ptrace calls, so grepping for ptrace will show you where they are. Replace those with the ppc equivalents. Run it and watch it work :-) I believe that those two things are it, but since a port has not yet been done, I don't know for sure. If you do start working on this, I need to know what you're running into so I can start thinking about how to abstract the architecture stuff out of the main code. So, keep me updated. My current thinking is that we can put the machine dependent stuff under a generic interface like the upper kernel does now. We'll have arch/i386, arch/ppc, etc somewhere under the arch/um layer. Longer term, this may get ported to other OS's, in which case the host OS would be the visible architecture, and the arch/* that I just described would move under os/linux or something. Jeff |