From 1102db95ae6976bc6055d389c7742d30cfbba280 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Sat, 27 Apr 2013 11:30:16 +0000 Subject: [PATCH] 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 Tarasenko. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@1130 f158a5a8-5612-0410-a976-696ce0be7e32 --- arch/sparc32/openbios.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sparc32/openbios.c b/arch/sparc32/openbios.c index de23a6f..8537c1e 100644 --- a/arch/sparc32/openbios.c +++ b/arch/sparc32/openbios.c @@ -820,9 +820,6 @@ static void init_memory(void) /* 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 */ - ofmem_claim_virt(OFMEM_VIRT_TOP, OF_CODE_START - MEMORY_SIZE - OFMEM_VIRT_TOP, 0); - /* 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