[OpenBIOS] [PATCH] RFC: Increase dictionary size on SPARC64

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Tue Apr 13 21:04:22 CEST 2010


Igor Kovalenko wrote:

> Your changes increase .bss of elf image, and that is handled by
> entry.S automatically so no changes are needed.

Okay, great :)

> BTW do we need 512K for forth heap? It may be enough to modify openbios.c
> setting MEMORY_SIZE to 256K and DICTIONARY_SIZE to 512k there.
> Change to ofmem_sparc64.c does not seem to be helpful.

I honestly don't know enough to make an informed choice, although my 
feeling is that since PPC has 512K (and it will obviously be enough to 
solve the problem with OpenSolaris) then it can't be too bad an option. 
Does anyone else have a feeling one way or the other?

The change to ofmem_sparc64.c is required to prevent an out-of-memory 
panic when starting OpenBIOS with a 512K Forth heap as otherwise the 
total amount of memory requested is too large for the ofmem code.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list