#include <linux/const.h>
#include <asm/cache.h>
Go to the source code of this file.
| #define EXCEPTION_ERRCODE_MASK 0x00027d00 |
Value:((((
base) &
_AC(0xff000000,ULL)) << (56-24)) | \
(((
flags) &
_AC(0x0000f0ff,ULL)) << 40) | \
(((
limit) &
_AC(0x000f0000,ULL)) << (48-16)) | \
(((base) &
_AC(0x00ffffff,ULL)) << 16) | \
Definition at line 8 of file segment.h.
| #define GDT_ENTRY_BOOT_CS 2 |
| #define GDT_ENTRY_DEFAULT_USER32_CS 4 |
| #define GDT_ENTRY_DEFAULT_USER_CS 6 |
| #define GDT_ENTRY_DEFAULT_USER_DS 5 |
| #define GDT_ENTRY_KERNEL32_CS 1 |
| #define GDT_ENTRY_KERNEL_CS 2 |
| #define GDT_ENTRY_KERNEL_DS 3 |
| #define GDT_ENTRY_LDT 10 /* needs two entries */ |
| #define GDT_ENTRY_TLS_ENTRIES 3 |
| #define GDT_ENTRY_TLS_MAX 14 |
| #define GDT_ENTRY_TLS_MIN 12 |
| #define GDT_ENTRY_TSS 8 /* needs two entries */ |
| #define get_kernel_rpl |
( |
| ) |
0 |
| #define NUM_EXCEPTION_VECTORS 32 |
| #define SEGMENT_RPL_MASK 0x3 |
| #define SEGMENT_TI_MASK 0x4 |