diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-10-15 23:35:30 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-10-15 23:35:30 +0000 |
commit | 67874eb615d7ff9c8ac1f262fa286e41e2e0e32f (patch) | |
tree | a4438f1bc677ce643f078f2bfaef615b6264844d /sys/arch/amd64/stand | |
parent | ae0a9206a9212a9f09180c0e6c63b4973377fc50 (diff) |
"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
Diffstat (limited to 'sys/arch/amd64/stand')
0 files changed, 0 insertions, 0 deletions