Make trap_state and current_interruptable_extent thread-local.
authorMatt Birkholz <puck@birchwood-abbey.net>
Tue, 21 Jul 2015 09:11:12 +0000 (02:11 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:45 +0000 (01:09 -0700)
commit5f557c2dbac44c4885aec03163db5cabfea57bbd
tree341b0c63bb5501f500ba594e48da4df31d02b437
parent67d18a54f363b632d079e9b92d19968ab7f4323a
Make trap_state and current_interruptable_extent thread-local.

Split the thread-local parts of UX_initialize_trap_recovery into
UX_initialize_trap_state, and those of OS_initialize into
OS_initialize_processor.  Call the latter in OS_initialize and the
co-processors' work function.
src/microcode/intext.c
src/microcode/intext.h
src/microcode/ostop.h
src/microcode/prossmp.c
src/microcode/uxtop.c
src/microcode/uxtrap.c
src/microcode/uxtrap.h