On Fri, Apr 24, 2009 at 11:56 AM, Rudolf Marek <[email protected]> wrote:

> But why it works for the rest of memory? The rest of memory is never cleared.
> Only to TOPK. Thats why I assumed its OK to change that and clear memory from
> _RAMBASE to TOPK and not from 0 to TOPK

Dont' forget that the systems we boot also do things to memory that
can correctly set the ECC tags.

I would have to see the sizes etc. and I can't look right now. But
don't forget that linux, as it allocates pages, zeros them. I don't
know all the places that memory is initialized in the kernel at this
point. but it could be we've been lucky. I don't know.

Anyway, you need to make that code a little smarter and, on cold boot,
zero the low memory too.

ron

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to