Rev 696 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 696 | Rev 803 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | 37 | ||
38 | #define IDT_ITEMS 64 |
38 | #define IDT_ITEMS 64 |
39 | #define GDT_ITEMS 8 |
39 | #define GDT_ITEMS 8 |
40 | 40 | ||
41 | #define NULL_DES 0 |
41 | #define NULL_DES 0 |
- | 42 | /* Warning: Do not reorder next items, unless you look into syscall.c!!! */ |
|
42 | #define KTEXT_DES 1 |
43 | #define KTEXT_DES 1 |
43 | #define KDATA_DES 2 |
44 | #define KDATA_DES 2 |
44 | #define UTEXT_DES 3 |
45 | #define UDATA_DES 3 |
45 | #define UDATA_DES 4 |
46 | #define UTEXT_DES 4 |
46 | #define KTEXT32_DES 5 |
47 | #define KTEXT32_DES 5 |
- | 48 | /* EndOfWarning */ |
|
47 | #define TSS_DES 6 |
49 | #define TSS_DES 6 |
48 | 50 | ||
49 | #define gdtselector(des) ((des)<<3) |
51 | #define gdtselector(des) ((des)<<3) |
50 | #define idtselector(des) ((des)<<4) |
52 | #define idtselector(des) ((des)<<4) |
51 | 53 |