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

Artyom Tarasenko atar4qemu at googlemail.com
Wed Apr 14 12:11:03 CEST 2010


2010/4/13 Blue Swirl <blauwirbel at gmail.com>:
> On 4/13/10, Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk> wrote:
>> 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?
>
> One possible problem may be that we overrun the 32 bit address space,
> because there is only 3M available: 0xffd00000 to 0xffffffff.

Oh. I guess that's the amount stored in totmap[0].num_bytes in sparc32/lib.c?
Then obp_dumb_memalloc really has too few space for loading Solaris kernel.
Maybe because the memory is not freed.

-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/



More information about the OpenBIOS mailing list