Subversion Repositories HelenOS-historic

Rev

Rev 1287 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1287 Rev 1292
Line 28... Line 28...
28
 
28
 
29
#ifndef __PM_H__
29
#ifndef __PM_H__
30
#define __PM_H__
30
#define __PM_H__
31
 
31
 
32
#define IDT_ITEMS 64
32
#define IDT_ITEMS 64
33
#define GDT_ITEMS 8
33
#define GDT_ITEMS 7
34
 
34
 
35
#define VESA_INIT_SEGMENT 0x8000
35
#define VESA_INIT_SEGMENT 0x8000
36
 
36
 
37
#define NULL_DES    0
37
#define NULL_DES    0
38
#define KTEXT_DES   1
38
#define KTEXT_DES   1
39
#define KDATA_DES   2
39
#define KDATA_DES   2
40
#define UTEXT_DES   3
40
#define UTEXT_DES   3
41
#define UDATA_DES   4
41
#define UDATA_DES   4
42
#define TSS_DES     5
42
#define TSS_DES     5
43
#define TLS_DES         6 /* Pointer to Thread-Local-Storage data */
43
#define TLS_DES         6 /* Pointer to Thread-Local-Storage data */
-
 
44
 
-
 
45
#ifdef CONFIG_FB
-
 
46
 
-
 
47
#define VESA_INIT_SEGMENT 0x8000
44
#define VESA_INIT_DES 7
48
#define VESA_INIT_DES 7
-
 
49
#undef GDT_ITEMS
-
 
50
#define GDT_ITEMS 8
-
 
51
 
-
 
52
#endif /* CONFIG_FB */
-
 
53
 
45
 
54
 
46
#define selector(des)   ((des)<<3)
55
#define selector(des)   ((des)<<3)
47
 
56
 
48
#define PL_KERNEL   0
57
#define PL_KERNEL   0
49
#define PL_USER     3
58
#define PL_USER     3