mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@748 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
a2f14b47b8
commit
a183f2ed4b
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user