This patchset fixes up a couple of minor bugs in OFMEM and also fixes up the SPARC32 memory/virtual-memory properties so that they are similar as to how they appear under OBP. This furthers Solaris 8 boot in my tests here.
v2: Fix original patchset based upon comments from Blue, and extend to resolve some additional bugs.
v1: Original submission.
Mark Cave-Ayland (6): Delegate construction of memory "available" property to each architecture. Switch SPARC32 to use 2 address cells for addresses within the /virtual-memory available property. Explicitly claim physical and virtual memory used by OpenBIOS in OFMEM under SPARC32. Fix up /virtual-memory reg property on SPARC32. OFMEM: Fix missing ofmem_update_translations() calls. OFMEM: Fix bogus tail entry added to the end of the virtual memory available list.
openbios-devel/arch/ppc/qemu/ofmem.c | 24 +++++++++++++++++++ openbios-devel/arch/sparc32/lib.c | 32 +++++++++++++++++++----- openbios-devel/arch/sparc32/ofmem_sparc32.c | 21 ++++++++++++++++ openbios-devel/arch/sparc64/ofmem_sparc64.c | 24 +++++++++++++++++++ openbios-devel/drivers/iommu.c | 14 ----------- openbios-devel/include/libopenbios/ofmem.h | 6 ++++ openbios-devel/libopenbios/ofmem_common.c | 34 ++++++++++---------------- 7 files changed, 113 insertions(+), 42 deletions(-)