Linux Kernel
3.7.1
|
#include <linux/const.h>
#include <asm/cache.h>
Go to the source code of this file.
#define __BOOT_CS (GDT_ENTRY_BOOT_CS * 8) |
#define __BOOT_DS (GDT_ENTRY_BOOT_DS * 8) |
#define __BOOT_TSS (GDT_ENTRY_BOOT_TSS * 8) |
#define __KERNEL32_CS (GDT_ENTRY_KERNEL32_CS * 8) |
#define __KERNEL_CS (GDT_ENTRY_KERNEL_CS*8) |
#define __KERNEL_DS (GDT_ENTRY_KERNEL_DS*8) |
#define __PER_CPU_SEG (GDT_ENTRY_PER_CPU * 8 + 3) |
#define __USER32_CS (GDT_ENTRY_DEFAULT_USER32_CS*8+3) |
#define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8+3) |
#define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8+3) |
#define FS_TLS_SEL ((GDT_ENTRY_TLS_MIN+FS_TLS)*8 + 3) |
#define GDT_ENTRY_BOOT_DS (GDT_ENTRY_BOOT_CS + 1) |
#define GDT_ENTRY_BOOT_TSS (GDT_ENTRY_BOOT_CS + 2) |
#define GDT_SIZE (GDT_ENTRIES * 8) |
#define GS_TLS_SEL ((GDT_ENTRY_TLS_MIN+GS_TLS)*8 + 3) |
#define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES * 8) |