kernel/x86_64: adjust descriptors tables for compatibility mode.
* also adjust BOOT_GDT_SEGMENT_COUNT for x86, the definition is used by the boot loader. * add some 32-bit definitions. * add a UserTLSDescriptor class, this will be used by 32-bit threads. Change-Id: I5b1d978969a1ce97091a16c9ec2ad7c0ca831656
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
|
||||
#define TLS_SIZE (TLS_MAX_KEYS * sizeof(void *))
|
||||
#define TLS_COMPAT_SIZE (TLS_MAX_KEYS * sizeof(uint32))
|
||||
|
||||
enum {
|
||||
TLS_BASE_ADDRESS_SLOT = 0,
|
||||
|
||||
Reference in New Issue
Block a user