diff options
Diffstat (limited to 'linux/dev')
-rw-r--r-- | linux/dev/include/linux/head.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/linux/dev/include/linux/head.h b/linux/dev/include/linux/head.h new file mode 100644 index 0000000..c501f21 --- /dev/null +++ b/linux/dev/include/linux/head.h @@ -0,0 +1,20 @@ +#ifndef _LINUX_HEAD_H +#define _LINUX_HEAD_H + +typedef struct desc_struct { + unsigned long a,b; +} desc_table[256]; + +/* XXX Linux code shouldn't use idt/gdt directly */ +/* extern desc_table idt,gdt; */ + +#define GDT_NUL 0 +#define GDT_CODE 1 +#define GDT_DATA 2 +#define GDT_TMP 3 + +#define LDT_NUL 0 +#define LDT_CODE 1 +#define LDT_DATA 2 + +#endif |