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.