Rev 1203 | Rev 1292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1203 | Rev 1289 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | # include <typedefs.h> |
34 | # include <typedefs.h> |
35 | # include <arch/context.h> |
35 | # include <arch/context.h> |
36 | #endif |
36 | #endif |
37 | 37 | ||
38 | #define IDT_ITEMS 64 |
38 | #define IDT_ITEMS 64 |
39 | #define GDT_ITEMS 8 |
39 | #define GDT_ITEMS 9 |
- | 40 | ||
- | 41 | #define VESA_INIT_SEGMENT 0x8000 |
|
40 | 42 | ||
41 | #define NULL_DES 0 |
43 | #define NULL_DES 0 |
42 | /* Warning: Do not reorder next items, unless you look into syscall.c!!! */ |
44 | /* Warning: Do not reorder next items, unless you look into syscall.c!!! */ |
43 | #define KTEXT_DES 1 |
45 | #define KTEXT_DES 1 |
44 | #define KDATA_DES 2 |
46 | #define KDATA_DES 2 |
45 | #define UDATA_DES 3 |
47 | #define UDATA_DES 3 |
46 | #define UTEXT_DES 4 |
48 | #define UTEXT_DES 4 |
47 | #define KTEXT32_DES 5 |
49 | #define KTEXT32_DES 5 |
48 | /* EndOfWarning */ |
50 | /* EndOfWarning */ |
49 | #define TSS_DES 6 |
51 | #define TSS_DES 6 |
- | 52 | #define VESA_INIT_DES 8 |
|
50 | 53 | ||
51 | #define gdtselector(des) ((des)<<3) |
54 | #define gdtselector(des) ((des)<<3) |
52 | #define idtselector(des) ((des)<<4) |
55 | #define idtselector(des) ((des)<<4) |
53 | 56 | ||
54 | #define PL_KERNEL 0 |
57 | #define PL_KERNEL 0 |