Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79976
b: refs/heads/master
c: 59fbed7
h: refs/heads/master
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent 88699d7 commit 64d415e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75b8bb3e56ca09a467fbbe5229bc68627f7445be
refs/heads/master: 59fbed775aa5a6f352bfbde6b40508b541086b7e
8 changes: 0 additions & 8 deletions trunk/include/asm-x86/desc_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ static inline void pack_gate(gate_desc *gate,
gate->b = (base & 0xffff0000) | ((type & 0xff) << 8) | (flags & 0xff);
}

#define DESCTYPE_LDT 0x82 /* present, system, DPL-0, LDT */
#define DESCTYPE_TSS 0x89 /* present, system, DPL-0, 32-bit TSS */
#define DESCTYPE_TASK 0x85 /* present, system, DPL-0, task gate */
#define DESCTYPE_INT 0x8e /* present, system, DPL-0, interrupt gate */
#define DESCTYPE_TRAP 0x8f /* present, system, DPL-0, trap gate */
#define DESCTYPE_DPL3 0x60 /* DPL-3 */
#define DESCTYPE_S 0x10 /* !system */

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else
Expand Down
5 changes: 5 additions & 0 deletions trunk/include/asm-x86/desc_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ struct gate_struct64 {
enum {
DESC_TSS = 0x9,
DESC_LDT = 0x2,
DESCTYPE_TASK = 0x85, /* present, system, DPL-0, task gate */
DESCTYPE_INT = 0x8e, /* present, system, DPL-0, interrupt gate */
DESCTYPE_TRAP = 0x8f, /* present, system, DPL-0, trap gate */
DESCTYPE_DPL3 = 0x60, /* DPL-3 */
DESCTYPE_S = 0x10, /* !system */
};

// LDT or TSS descriptor in the GDT. 16 bytes.
Expand Down

0 comments on commit 64d415e

Please sign in to comment.