diff options
Diffstat (limited to 'include/asm-x86/desc_defs.h')
-rw-r--r-- | include/asm-x86/desc_defs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h index c811f1e0829f..79fe59fc50ec 100644 --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h | |||
@@ -55,6 +55,11 @@ struct gate_struct64 { | |||
55 | enum { | 55 | enum { |
56 | DESC_TSS = 0x9, | 56 | DESC_TSS = 0x9, |
57 | DESC_LDT = 0x2, | 57 | DESC_LDT = 0x2, |
58 | DESCTYPE_TASK = 0x85, /* present, system, DPL-0, task gate */ | ||
59 | DESCTYPE_INT = 0x8e, /* present, system, DPL-0, interrupt gate */ | ||
60 | DESCTYPE_TRAP = 0x8f, /* present, system, DPL-0, trap gate */ | ||
61 | DESCTYPE_DPL3 = 0x60, /* DPL-3 */ | ||
62 | DESCTYPE_S = 0x10, /* !system */ | ||
58 | }; | 63 | }; |
59 | 64 | ||
60 | // LDT or TSS descriptor in the GDT. 16 bytes. | 65 | // LDT or TSS descriptor in the GDT. 16 bytes. |