Improve smp detection code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 17 Aug 2008 14:50:57 +0000 (10:50 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 17 Aug 2008 14:50:57 +0000 (10:50 -0400)
commit484270d5ec465d1b5c02d8d60df9e46578e408e7
tree08dce479aa76eb9583e0be02409f3c6866d6b177
parentc43bcba21546a1e65e1422b44de746f1671e076c
Improve smp detection code.

Use 'lock incw' to ensure proper synchronization between cpus.
Jump to the 0xf0000 segment for the halt (to ensure halt code isn't overwritten).
Improve code comments.
src/romlayout.S
src/smpdetect.c