summaryrefslogtreecommitdiff
path: root/linux/dev/include/linux/head.h
blob: c501f2159fb8193dadd75586910f7b72fdfa422f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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