[coreboot] [GSoC] Re: usbrom debugging

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun Aug 23 03:03:56 CEST 2009


On 23.08.2009 02:16, Kevin O'Connor wrote:
> On Sun, Aug 23, 2009 at 12:09:41AM +0200, Stefan Reinauer wrote:
>   
>> Can / should usbrom use PMM for its heap and stack?
>>     
>
> The standard PMM interface is for temporary memory only - memory to be
> used only during the option rom initialization stage.  The memory is
> not valid once the boot stage starts; it wouldn't be valid while a
> bootloader is running.
>
> There is a PCIv3 extension to the PMM interface that allows one to
> request permanent memory (memory reserved in the e820 map).  SeaBIOS
> does not implement this, but it would not be too hard to add.
>   

Can't we simply have coreboot reserve some memory at a hardcoded address
for now? It's a quick hack and may even work. No idea about how SeaBIOS
finds out about coreboot reserved memory and creates e820, though.

Sorry if this is totally unrealistic.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list