SunOS 4.1.4 maps the DVMA (IOMMU) at address FFF00000 (hardcoded).
OpenBIOS shall not use that virtual memory area in order to be compatible with SunOS.
Signed-off-by: Olivier Danet <odanet(a)caramail.com>
------------------------------------------------------------------
diff -rup openbios-devel-ofmem/arch/sparc32/ofmem_sparc32.c openbios-devel/arch/sparc32/ofmem_sparc32.c
--- openbios-devel-ofmem/arch/sparc32/ofmem_sparc32.c 2015-05-11 22:52:59.931548921 +0200
+++ openbios-devel/arch/sparc32/ofmem_sparc32.c 2015-05-11 23:01:17.623530761 +0200
@@ -249,5 +249,5 @@ void ofmem_init( void )
ofmem_claim_phys(s_ofmem_data.ofmem.ramsize - OFMEM_PHYS_RESERVED, OFMEM_PHYS_RESERVED, 0);
/* Claim OpenBIOS reserved space */
- ofmem_claim_virt(0xffd00000, 0x300000, 0);
+ ofmem_claim_virt(0xffd00000, 0x200000, 0);
}
------------------------------------------------------------------