diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-14 15:18:40 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-14 15:18:40 +0000 |
commit | 8d18e89309f08efc44eb777631aba2fbee70375a (patch) | |
tree | 407fd6e6f2897ff312c5a32533434a1b1ca93b25 /linux-user/i386 | |
parent | 4683b130e562b5718115442e02b85e90501bb8b0 (diff) |
i386 TLS support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3644 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/i386')
-rw-r--r-- | linux-user/i386/syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/i386/syscall.h b/linux-user/i386/syscall.h index 8045e1c7bf..266e2c4c83 100644 --- a/linux-user/i386/syscall.h +++ b/linux-user/i386/syscall.h @@ -25,6 +25,7 @@ struct target_pt_regs { #define TARGET_LDT_ENTRIES 8192 #define TARGET_LDT_ENTRY_SIZE 8 +#define TARGET_GDT_ENTRIES 9 #define TARGET_GDT_ENTRY_TLS_ENTRIES 3 #define TARGET_GDT_ENTRY_TLS_MIN 6 #define TARGET_GDT_ENTRY_TLS_MAX (TARGET_GDT_ENTRY_TLS_MIN + TARGET_GDT_ENTRY_TLS_ENTRIES - 1) |