Print this page
9600 LDT still not happy under KPTI

@@ -480,10 +480,14 @@
 #define SDT_MEMEC       28      /* execute only conforming */
 #define SDT_MEMEAC      29      /* execute only accessed conforming */
 #define SDT_MEMERC      30      /* execute read conforming */
 #define SDT_MEMERAC     31      /* execute read accessed conforming */
 
+/* These bits are within the "type" field, like the values above. */
+#define SDT_A           0x01    /* accessed bit */
+#define SDT_S           0x10    /* S-bit at the top of "type" for usegs */
+
 /*
  * Entries in the Interrupt Descriptor Table (IDT)
  */
 #define IDT_DE          0       /* #DE: Divide Error */
 #define IDT_DB          1       /* #DB: Debug */