[LinuxBIOS] selection of compression algorithm
c-d.hailfinger.devel.2006 at gmx.net
Thu May 25 23:05:42 CEST 2006
> just let the the uncompress take more parameter for the properties
> buf, and every cpu find the correct buffer in RAM in BSP should be
> OK...because the RAM on first node is ready at that time.
int uncompress_generic(void *src, void *dst, void *buf, int bufsize);
and uncompress_generic can assume that buf can be treated like RAM.
If bufsize is too small, it can return an error. An additional function
int needed_bufsize(void *src);
could be written to compute the minimum buffer size for a given
What do you think?
More information about the coreboot