On Mon, Dec 15, 2008 at 7:48 PM, Feng, Libo Libo.Feng@amd.com wrote:
Hi, Mr. Marc Jones,
The first question: The stack moved from 0xc8000 to 0x1f8000 is just for CAR. The main coreboot code has its own stack defined in config/coreboot_ram.ld, located below 1M RAM. So, if the CAR doesn't move the stack, only the lowest 1M RAM needs to be stored for S3. My thought is correct or not?
The CAR code needs to clean up and switch back to normal operation. You could argue that it doesn't need to switch back but that is risky and might cause problems later in boot. It would probably be safe to move it to low memory instead of up high.
Marc