Commit e670b89e3b42997fc7fb997bdfdc6ff998cfd8a7

Authored by bellard
1 parent bd0d90b2

added comments and TSS bit


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@449 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 7 additions and 5 deletions
target-i386/cpu.h
... ... @@ -58,12 +58,14 @@
58 58 #define DESC_TYPE_SHIFT 8
59 59 #define DESC_A_MASK (1 << 8)
60 60  
61   -#define DESC_CS_MASK (1 << 11)
62   -#define DESC_C_MASK (1 << 10)
63   -#define DESC_R_MASK (1 << 9)
  61 +#define DESC_CS_MASK (1 << 11) /* 1=code segment 0=data segment */
  62 +#define DESC_C_MASK (1 << 10) /* code: conforming */
  63 +#define DESC_R_MASK (1 << 9) /* code: readable */
64 64  
65   -#define DESC_E_MASK (1 << 10)
66   -#define DESC_W_MASK (1 << 9)
  65 +#define DESC_E_MASK (1 << 10) /* data: expansion direction */
  66 +#define DESC_W_MASK (1 << 9) /* data: writable */
  67 +
  68 +#define DESC_TSS_BUSY_MASK (1 << 9)
67 69  
68 70 /* eflags masks */
69 71 #define CC_C 0x0001
... ...