On Fri, Apr 24, 2009 at 1:01 PM, ron minnich rminnich@gmail.com wrote:
On Fri, Apr 24, 2009 at 11:56 AM, Rudolf Marek r.marek@assembler.cz 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.
Are we going to revert this bit for now, or do we have a way to fix it in the works?
Thanks, Myles