smp: Initialize thread-local compiler_utilities.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 20 Dec 2014 15:50:09 +0000 (08:50 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 21 Dec 2014 19:19:09 +0000 (12:19 -0700)
commit1d941eb9638d49c98f7584248bbf652a9b78bcc2
tree7b4853a4a1e40dad9f74060cc1c3701620445f4e
parent55bb29356f0c818dce8b3febc9ebd9026509a075
smp: Initialize thread-local compiler_utilities.

Split the thread-local parts of compiler_initialize into
compiler_initialize_processor, those of compiler_reset into
compiler_reset_processor.  Split the non-thread-local parts of
ASM_RESET_HOOK into ASM_INIT_HOOK, i.e. i386_reset_hook into
i386_init_hook.  Call the _processor versions in co-processor startup
and SMP-GC-WAITs.

Add compiler_reset_p flag to processor_t so that load-band
(compiler_reset) can notify the other processors to load the new
compiler_utilities into their Registers slots.
src/microcode/cmpint.c
src/microcode/cmpint.h
src/microcode/cmpintmd/i386.c
src/microcode/cmpintmd/i386.h
src/microcode/ossmp.h
src/microcode/prossmp.c