1 #ifndef _LINUX_HEAD_H 2 #define _LINUX_HEAD_H 3 4 typedef struct desc_struct { 5 unsigned long a,b; 6 } desc_table[256]; 7 8 extern desc_table idt,gdt; 9 10 #define GDT_NUL 0 11 #define GDT_CODE 1 12 #define GDT_DATA 2 13 #define GDT_TMP 3 14 15 #define LDT_NUL 0 16 #define LDT_CODE 1 17 #define LDT_DATA 2 18 19 #endif