Subversion Repositories HelenOS-historic

Rev

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 1287
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 7
33
#define GDT_ITEMS 8
-
 
34
 
-
 
35
#define VESA_INIT_SEGMENT 0x8000
34
 
36
 
35
#define NULL_DES    0
37
#define NULL_DES    0
36
#define KTEXT_DES   1
38
#define KTEXT_DES   1
37
#define KDATA_DES   2
39
#define KDATA_DES   2
38
#define UTEXT_DES   3
40
#define UTEXT_DES   3
39
#define UDATA_DES   4
41
#define UDATA_DES   4
40
#define TSS_DES     5
42
#define TSS_DES     5
41
#define TLS_DES         6 /* Pointer to Thread-Local-Storage data */
43
#define TLS_DES         6 /* Pointer to Thread-Local-Storage data */
-
 
44
#define VESA_INIT_DES 7
42
 
45
 
43
#define selector(des)   ((des)<<3)
46
#define selector(des)   ((des)<<3)
44
 
47
 
45
#define PL_KERNEL   0
48
#define PL_KERNEL   0
46
#define PL_USER     3
49
#define PL_USER     3