On Fri, Jun 19, 2009 at 9:50 AM, Myles Watsonmylesgw@gmail.com wrote:
yes, that is why I did that struct-based stack in my v3 SMP startup. The struct formed the base of the AP stack. We could put a simple print buffer in there and require that the BSP print out AP boot messages.
So each AP has some part of RAM to copy the buffer to?
the way SMP works, the BSP sets up its ram. At that point, the APs can use the BSP ram. That's why APs have a stack in the first place.
APs have a working stack when they are setting up their own RAM.
ron