[coreboot] [RFC] v3: Stack switching abstraction for C7 and later Intel processors

ron minnich rminnich at gmail.com
Tue Oct 14 18:48:35 CEST 2008


On Tue, Oct 14, 2008 at 9:31 AM, Marc Jones <Marc.Jones at amd.com> wrote:

> Why not ret and do a call (or ljmp) from stage0_main to main(). It would
> make the code easier to follow and it would be easy to add code if anything
> were required between disable car and the jmp.
>

it's just not doable on  some of these hardware implementations. It's
desirable but not doable. There are going to be cases where
disable_car resumes somewhere else. So we might as well just get it
over with and put it in the code ;-)

ron




More information about the coreboot mailing list