[OpenBIOS] [commit] r1130 - trunk/openbios-devel/arch/sparc32

repository service svn at openbios.org
Sat Apr 27 13:30:16 CEST 2013

Author: mcayland
Date: Sat Apr 27 13:30:16 2013
New Revision: 1130
URL: http://tracker.coreboot.org/trac/openbios/changeset/1130

SPARC32: Remove high memory virtual memory reservation

The high memory virtual memory reservation introduced in r1114 was a mistake.
We need to leave this area as available for clients but simply not allocate
from it so that the 0xffc00000 area is free for kadb on older versions of
SunOS. Since this part is already handled by the introduction of OFMEM_VIRT_TOP
in the same commit then the behaviour is already correct. As reported by Artyom

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>


Modified: trunk/openbios-devel/arch/sparc32/openbios.c
--- trunk/openbios-devel/arch/sparc32/openbios.c	Fri Apr 26 11:53:43 2013	(r1129)
+++ trunk/openbios-devel/arch/sparc32/openbios.c	Sat Apr 27 13:30:16 2013	(r1130)
@@ -820,9 +820,6 @@
     /* Generate the mapping (and lock translation into the TLBs) */
     ofmem_map(phys, virt, MEMORY_SIZE, ofmem_arch_default_translation_mode(phys));
-    /* Mark everything up until OFMEM_VIRT_TOP as in use */
     /* we push start and end of memory to the stack
      * so that it can be used by the forth word QUIT
      * to initialize the memory allocator

More information about the OpenBIOS mailing list