j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Fri Apr 16 12:01:42 2010 New Revision: 748 URL: http://tracker.coreboot.org/trac/openbios/changeset/748
Log: Increase dictionary size from 256K to 512K on SPARC64 as it is clear that on OpenSolaris we are overflowing the dictionary at runtime and corrupting OpenBIOS memory.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Modified: trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c trunk/openbios-devel/arch/sparc64/openbios.c
Modified: trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c ============================================================================== --- trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c Thu Apr 15 18:43:01 2010 (r747) +++ trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c Fri Apr 16 12:01:42 2010 (r748) @@ -20,7 +20,7 @@
#define OF_MALLOC_BASE ((char*)OFMEM + ALIGN_SIZE(sizeof(ofmem_t), 8))
-#define MEMSIZE ((128 + 256 + 512) * 1024) +#define MEMSIZE ((128 + 512 + 512) * 1024) static union { char memory[MEMSIZE]; ofmem_t ofmem;
Modified: trunk/openbios-devel/arch/sparc64/openbios.c ============================================================================== --- trunk/openbios-devel/arch/sparc64/openbios.c Thu Apr 15 18:43:01 2010 (r747) +++ trunk/openbios-devel/arch/sparc64/openbios.c Fri Apr 16 12:01:42 2010 (r748) @@ -33,7 +33,7 @@ #define APB_MEM_BASE 0x1ff00000000ULL
#define MEMORY_SIZE (512*1024) /* 512K ram for hosted system */ -#define DICTIONARY_SIZE (256*1024) /* 256K for the dictionary */ +#define DICTIONARY_SIZE (512*1024) /* 512K for the dictionary */
static ucell *memory;