CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2011/10/15 17:35:29

Modified files:
        sys/arch/amd64/include: proc.h 
        sys/arch/sparc/include: proc.h 
        sys/arch/sparc64/include: proc.h 
        sys/kern       : kern_fork.c kern_prot.c syscalls.master 
        sys/sys        : proc.h unistd.h 
Added files:
        sys/arch/amd64/include: tcb.h 
        sys/arch/sparc/include: tcb.h 
        sys/arch/sparc64/include: tcb.h 

Log message:
"TLS-lite": add kernel support for a per-thread userspace pointer,
for pointing to the thread-control-block.  Support for mapping this
to the correct hardware register can be added as it's finished;
start with support for amd64, sparc, and sparc64.  Includes syscalls
for getting and setting it (for a portable __errno implementation) as
well as creating a new thread with an initial value for it.

discussed with miod@, kettenis@, deraadt@; committing to get the syscalls
in with the impending libc bump and do further refinements in tree

Reply via email to