Add x86_64 assembly to allocate and access thread-local variables.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sun, 19 Jul 2015 05:55:44 +0000 (22:55 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:46 +0000 (01:09 -0700)
commitcd58f2a4828b7c41a603f3ebbb9b6cdf1faf17c0
treed1e7e1b213c29e190362865661dd758c5f737615
parentda74a4fca049a46eb29bb4a63949d0f9d5a59746
Add x86_64 assembly to allocate and access thread-local variables.

Thus stack_pointer, Free and Registers are now thread-local.  And
several more variables are allocated in the assembly (no longer in the
C code): heap_alloc_limit, heap_end, stack_guard, stack_start,
C_Stack_Pointer and C_Frame_Pointer.
src/microcode/cmpauxmd/x86-64.m4
src/microcode/cmpint.c
src/microcode/cmpintmd/x86-64.c
src/microcode/cmpintmd/x86-64.h
src/microcode/extern.h
src/microcode/makegen/m4.sh
src/microcode/storage.c