[LinuxBIOS] ELF loader in v3
c-d.hailfinger.devel.2006 at gmx.net
Sun Jul 1 02:21:04 CEST 2007
On 01.07.2007 00:51, Peter Stuge wrote:
> On Fri, Jun 29, 2007 at 10:03:26PM +0200, Patrick Georgi wrote:
>> My proposal would be to decompress the ELF image to some location,
>> lookk if that location overlaps with the places the data is copied
>> to, and if so, determine a large-enough chunk of memory and
>> decompress it to there again
> Sorry, NAK. I don't like unneccessary work.
> If need be, teach elfboot to peek into compressed streams so that it
> can tell the decompressor a safe place to decomress to.
Sorry, our implementation of lzma decompression does not decompress
to a stream, only in bulk. Choosing streaming decompression is
possible, but the memory requirements made me decide against it.
Decompression speed is also significantly slower for streaming lzma
More information about the coreboot