j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Sat Apr 27 13:30:16 2013 New Revision: 1130 URL: http://tracker.coreboot.org/trac/openbios/changeset/1130
Log: 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 mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/arch/sparc32/openbios.c
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 */ - 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