summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-10-15 23:35:30 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-10-15 23:35:30 +0000
commit67874eb615d7ff9c8ac1f262fa286e41e2e0e32f (patch)
treea4438f1bc677ce643f078f2bfaef615b6264844d /sys/arch/amd64/stand
parentae0a9206a9212a9f09180c0e6c63b4973377fc50 (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