aboutsummaryrefslogtreecommitdiff
path: root/linux-user/x86_64/syscall.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-14 15:18:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-14 15:18:40 +0000
commit8d18e89309f08efc44eb777631aba2fbee70375a (patch)
tree407fd6e6f2897ff312c5a32533434a1b1ca93b25 /linux-user/x86_64/syscall.h
parent4683b130e562b5718115442e02b85e90501bb8b0 (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/x86_64/syscall.h')
-rw-r--r--linux-user/x86_64/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/x86_64/syscall.h b/linux-user/x86_64/syscall.h
index cdba432bf4..f82589c49c 100644
--- a/linux-user/x86_64/syscall.h
+++ b/linux-user/x86_64/syscall.h
@@ -34,6 +34,7 @@ struct target_pt_regs {
/* The size of each LDT entry. */
#define TARGET_LDT_ENTRY_SIZE 8
+#define TARGET_GDT_ENTRIES 16
#define TARGET_GDT_ENTRY_TLS_ENTRIES 3
#define TARGET_GDT_ENTRY_TLS_MIN 12
#define TARGET_GDT_ENTRY_TLS_MAX 14