SMP booting race and caching
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Apr 2009 20:55:41 +0000 (13:55 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Apr 2009 20:55:41 +0000 (13:55 -0700)
commit46446a474548bd583c3abad72fda09cd670fe2b8
treee4c2117d437787adaf84a241a09b88c810baa87d
parent38cfd5767f9c674b2af7f0ba2f6ad85e3112d3c4
SMP booting race and caching

Reworked some timing and locking in smp_boot / smp_entry to avoid some
race issues.  Read the comments.  Also fixed some cache-enabling issues.
Also, Bochs doesn't like the HLT in smp_entry.S.  Don't care for now.
kern/init.c
kern/pmap.c
kern/smp_entry.S