On Wed, Jul 04, 2007 at 03:15:27PM +0300, Paul Sokolovsky wrote:
> >>       Well, that call is what it took me to get boot of ~23Mb file on
> >> hx4700 without it complaining about lack of memory. That calls is
> >> completely adhoc for this purpose, and/or requires calculation of
> >> arguments which is hard to do in script, so that hardly help.
> 
> > But on an hx4700 wouldn't you know what to set it to in advance?
> 
>   Not sure I understand the question (or its relation to topic), what
> do you mean?

Currently, the patch does:

DWORD ret = SetSystemMemoryDivision(
      (storeInfo.dwStoreSize - storeInfo.dwFreeSize) / 4096 + 50);

Wouldn't you know what storeInfo.dwStoreSize and storeInfo.dwFreeSize
is on hx4700 in advance?  And if so, couldn't you do the math in
advance and just put something like:

SETMEMDIV 1234

in your script?

-Kevin
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to