On 27/01/08 23:23 -0500, Tom Sylla wrote:
ron minnich wrote:
If I move the stage2 text address from 0x1000 to 0x2000 (see arch/x86/Makefile: -T 0x1000), I get past the problem. It's dying later but I think I know what that is. But what piece of code is trashing memory at 0x1000? Could it be VSA? If so, do we just go with moving the text address to 0x2000, instead of 0x1000?
Well, you might want to take a look at real_mode_switch_call_vsm. I see the code telling it to use real mode address 0:0x1000 as the location for the stack.
http://tracker.coreboot.org/trac/coreboot/browser/trunk/coreboot-v2/src/cpu/...
Maybe that is why it is getting stomped :)
(link is to v2, but the code is the same. Why can't I browse v3 in trac or viewvc?)
http://coreboot.org/viewvc/coreboot-v3/?root=coreboot-v3
View coreboot-v3 if you want, then change repository on upper right of screen you must.
Jordan