[OpenBIOS] [PATCH] sparc64: implement OF memory manager

Igor Kovalenko igor.v.kovalenko at gmail.com
Sun Jul 26 23:19:13 CEST 2009


This patch 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 common
module.

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 get any further with this patch due to
conflicts with memory mappings in low memory region.

Signed-off-by: igor.v.kovalenko at gmail.com

-- 
Kind regards,
Igor V. Kovalenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc64-ofmem
Type: application/octet-stream
Size: 36071 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090727/66020868/attachment-0001.dmg>


More information about the OpenBIOS mailing list