On Sat, Mar 7, 2009 at 2:05 AM, Peter Stuge peter@stuge.se wrote:
- movw $0x11, 0
Just curious, what do these movws to 0 do?
Glad you asked! These are how I got it debugged. Since we have another CPU (BSP) I had the BSP wait and print out the values. These are POST codes for AP startup! So BSP can now monitor AP progress with variables -- no more "worked"/"did not work" but "here's how far it got". The BSP has far more knowledge than in v2 of how far things got.
They movw to 0 going to be removed, I think; we can depend on secondary.S. Or should we? Should I leave them in?
Overall great improvements!
Thanks for the comments, I'm hoping you found the code understandable -- I am guessing you did?
Thanks for reading it!
ron