summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/segments.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include/segments.h')
-rw-r--r--sys/arch/i386/include/segments.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/i386/include/segments.h b/sys/arch/i386/include/segments.h
index 79e97f76785..22e9ed9feaf 100644
--- a/sys/arch/i386/include/segments.h
+++ b/sys/arch/i386/include/segments.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: segments.h,v 1.23 2018/03/22 19:30:19 bluhm Exp $ */
+/* $OpenBSD: segments.h,v 1.24 2018/03/31 13:45:03 bluhm Exp $ */
/* $NetBSD: segments.h,v 1.23 1996/02/01 22:31:03 mycroft Exp $ */
/*-
@@ -221,11 +221,10 @@ void idt_vec_free(int);
#define GICODE_SEL 10 /* Interrupt code descriptor (same as Kernel code) */
#define GUFS_SEL 11 /* User per-thread (%fs) descriptor */
#define GUGS_SEL 12 /* User per-thread (%gs) descriptor */
-#define NGDT 13
+#define GTSS_SEL 13 /* common TSS */
+#define GBIOS32_SEL 14 /* spare slot for 32 bit BIOS calls */
+#define NGDT 15
-/*
- * Entries in the Local Descriptor Table (LDT)
- */
-#define NLDT 17
+#define GDT_SIZE (NGDT << 3)
#endif /* _MACHINE_SEGMENTS_H_ */