coreboot/arch
Ronald G. Minnich 77407f5341 This is working up to the ljmpl to protected mode. It has all the
debugging in, using locations 0 and _secondary_start as POST. 

Calling from initram did not work out, as we have to disable_car in initram
to make such a call work (on core2). For now, 
I am calling this from stage1_phase 3, before stage2 is called. But that
has increased the code size of stage1, which is not a great idea. 

What I am thinking we ought to do: call this from stage2, before phase 1, 
so that CPUs are nice and set up and quiet. 
Provide phase2 with an SMP-safe printk. 

This is here so others may see it and correct my work. The good news is 
that SMP startup on core2 on v3 is now starting to go. But the better news
is that the way this is working is pretty generic and ought to apply to 
much more than just core2. 

To really look at object you might want to get ndisasm. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1143 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-05 05:48:43 +00:00
..
x86 This is working up to the ljmpl to protected mode. It has all the 2009-03-05 05:48:43 +00:00