[coreboot] [RFC] SMM handling and resident coreboot
yinghailu at gmail.com
Mon Jul 28 07:07:32 CEST 2008
On Sun, Jul 27, 2008 at 5:01 PM, Stefan Reinauer <stepan at coresystems.de> wrote:
> yhlu wrote:
>> On Sun, Jul 27, 2008 at 7:36 AM, Stefan Reinauer <stepan at coresystems.de>
>>> Since we know how big our RAM is when we copy coreboot to RAM, I suggest
>>> that we copy coreboot to the end of memory and run it from there. It is
>>> a pretty good assumption that no payload will require that space. During
>>> memory map creation, we just reserve 256k at the upper end, and we're
>> you mean somewhere below 4g? or below TOM.
> End of RAM. On some chipsets, there also seems to be a mechanism to reserve
> memory space fore SMM handlers (TSEG)
so it is less 4g...like normal BIOS.
>> also for ecc ram, only ram below CONFIG_LB_MEM_TOPK get inited
> Does this mean all memory has to be initialized? Or is it enough to
> initialize only the part we're using?
> I thought to remember ECC memory is scrubbed locally by each CPU on startup?
> Is this not the case?
do you mean code from hardware_main() , or other new smm code?
More information about the coreboot