commit | 47735af6c44b5f206d5e418aac87a1dbdf9df185 | [log] [tgz] |
---|---|---|
author | fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jan 21 01:27:27 2004 +0000 |
committer | fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jan 21 01:27:27 2004 +0000 |
tree | 7380d560ffbec14e8a63499e79e7fd586b773cfe | |
parent | 681ca37b8690e923bc409188877a37937e1895bd [diff] |
This change implements the TLS extension to the x86 ABI. This allows threads to have thread-private data which is quickly accessible via a segment in the GDT, stored in %gs. The patch implements the relevent syscalls (setthreadarea), and also manages switching the VCPU's segment information at thread context-switch time. Mostly Tom Hughes' work. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2215 a5019735-40e9-0310-863c-91ae7b9d1cf9