Hi!
This patch series implements OF memory manager.
I used arch/ppc/qemu/ofmem.c as a starting point, future plans in ofmem area would be to migrate common parts from working implementations (ppc and sparc64) into shared ofmem module.
I decided to switch ofmem.h declarations to use ucell type while passing arguments so ofmem declarations can be used by all architectures.
Client interface handler now uses ofmem implementation instead of walking hardware translation tables. Since setup code in entry.S does install it's own translations ofmem initialization routine simply copies entries from hardware. Properties "available" and "translations" are then populated as needed.
This implementation passes boot test with no visible changes on screen for HelenOS-0.4.0-sparc64.iso
Linux boot does not really improve this time due to conflicts with memory mappings in low memory region. Also there is a problem in qemu with evaluation of conditional codes in case disrupting trap is taken before conditional branch is executed. This precludes silo second-stage code from working. Patch fixing that is posted to qemu-devel list.
Signed-off-by: igor.v.kovalenko@gmail.com