Rev 1787 | Rev 1888 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1811 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | #define KTEXT_DES 1 |
44 | #define KTEXT_DES 1 |
45 | #define KDATA_DES 2 |
45 | #define KDATA_DES 2 |
46 | #define UTEXT_DES 3 |
46 | #define UTEXT_DES 3 |
47 | #define UDATA_DES 4 |
47 | #define UDATA_DES 4 |
48 | #define TSS_DES 5 |
48 | #define TSS_DES 5 |
49 | #define TLS_DES 6 /* Pointer to Thread-Local-Storage data */ |
49 | #define TLS_DES 6 /* Pointer to Thread-Local-Storage data */ |
50 | 50 | ||
51 | #ifdef CONFIG_FB |
51 | #ifdef CONFIG_FB |
52 | 52 | ||
53 | #define VESA_INIT_SEGMENT 0x8000 |
53 | #define VESA_INIT_SEGMENT 0x8000 |
54 | #define VESA_INIT_DES 7 |
54 | #define VESA_INIT_DES 7 |
Line 56... | Line 56... | ||
56 | #define GDT_ITEMS 8 |
56 | #define GDT_ITEMS 8 |
57 | 57 | ||
58 | #endif /* CONFIG_FB */ |
58 | #endif /* CONFIG_FB */ |
59 | 59 | ||
60 | 60 | ||
61 | #define selector(des) ((des)<<3) |
61 | #define selector(des) ((des) << 3) |
62 | 62 | ||
63 | #define PL_KERNEL 0 |
63 | #define PL_KERNEL 0 |
64 | #define PL_USER 3 |
64 | #define PL_USER 3 |
65 | 65 | ||
66 | #define AR_PRESENT (1<<7) |
66 | #define AR_PRESENT (1<<7) |