There'd be a bit of work to do:
1) The arch/ppc/kernel code needs to be finished. This is pretty
straightforward, as most of the current stuff for i386 should
translate over well. This also requires putting in the hooks
for dump_execute() into the PPC exception code. For i386, we
added a hook in die(). Note that the header files, etc., might
also have to change.
2) The arch specific code of cmd/lcrash needs to be done. This is
a lot of work. The disassembler needs to be completed, and stack
trace code needs to be changed to handle the way in which the
register set saves things such as return addresses, program
counters, stack pointers, etc.
If you need tips on what to do, let me know. I'd say you should examine
the i386 architecture specific stuff both in the kernel and in the lcrash
directory for how we did it. I can answer whatever questions you have
and try to point you in the right direction if you want to do the work.
Right now, we're trying to work on future processor ports. :)
--Matt
On Fri, 5 Nov 1999, Troy Benjegerdes wrote:
|>I just saw the announcement on slashdot, forgive me if this has been
|>asked already.
|>
|>Does this patch support PPC machines, and if not, what will I need to
|>write/change to make it do so?
|>
|>Thanks.
|>
|>--
|>Troy Benjegerdes troybenj@xxxxxxxxxxxxxxx
|>Scalable Computing Lab hozer@xxxxxxxx
|