Hello haret,
Further moving towards live ramdisks stuff... WinCE alloc memory
limits strike again - unable to load some 16Mb initrd. This time I
finally coded mmap-based solution, with it I was able to load 27Mb
initrd (though wince complained with low memory dialog; all that on
hx4700 after hard reset).
Another issue I hit during experiments is that initrd buffer wanted
to overwrite itself. I fixed that with memmove-like solution, moving
blocks from the end instead of beginning.
Patch is attached, comments welcome. I'm not sure we just should
replace old alloc code with new - we faced already just too much
issues to collect and keep different allocation algorithms about. As
for selection of them and defaults, worth thinking.
-- Best regards, Paul mailto:pmiscml_at_gmail.com
This archive was generated by hypermail 2.2.0 : Thu Jun 14 2007 - 19:26:00 EDT