Subversion Repositories HelenOS

Rev

Rev 2089 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2089 Rev 2106
Line 44... Line 44...
44
#define PAGE_READ_SHIFT         3
44
#define PAGE_READ_SHIFT         3
45
#define PAGE_WRITE_SHIFT        4
45
#define PAGE_WRITE_SHIFT        4
46
#define PAGE_EXEC_SHIFT         5
46
#define PAGE_EXEC_SHIFT         5
47
#define PAGE_GLOBAL_SHIFT       6
47
#define PAGE_GLOBAL_SHIFT       6
48
 
48
 
49
#define PAGE_NOT_CACHEABLE  (0 << PAGE_CACHEABLE_SHIFT)
49
#define PAGE_NOT_CACHEABLE      (0 << PAGE_CACHEABLE_SHIFT)
50
#define PAGE_CACHEABLE      (1 << PAGE_CACHEABLE_SHIFT)
50
#define PAGE_CACHEABLE          (1 << PAGE_CACHEABLE_SHIFT)
51
 
51
 
52
#define PAGE_PRESENT        (0 << PAGE_PRESENT_SHIFT)
52
#define PAGE_PRESENT            (0 << PAGE_PRESENT_SHIFT)
53
#define PAGE_NOT_PRESENT    (1 << PAGE_PRESENT_SHIFT)
53
#define PAGE_NOT_PRESENT        (1 << PAGE_PRESENT_SHIFT)
54
 
54
 
55
#define PAGE_USER       (1 << PAGE_USER_SHIFT)
55
#define PAGE_USER           (1 << PAGE_USER_SHIFT)
56
#define PAGE_KERNEL     (0 << PAGE_USER_SHIFT)
56
#define PAGE_KERNEL         (0 << PAGE_USER_SHIFT)
57
 
57
 
58
#define PAGE_READ       (1 << PAGE_READ_SHIFT)
58
#define PAGE_READ           (1 << PAGE_READ_SHIFT)
59
#define PAGE_WRITE      (1 << PAGE_WRITE_SHIFT)
59
#define PAGE_WRITE          (1 << PAGE_WRITE_SHIFT)
60
#define PAGE_EXEC       (1 << PAGE_EXEC_SHIFT)
60
#define PAGE_EXEC           (1 << PAGE_EXEC_SHIFT)
61
 
61
 
62
#define PAGE_GLOBAL     (1 << PAGE_GLOBAL_SHIFT)
62
#define PAGE_GLOBAL         (1 << PAGE_GLOBAL_SHIFT)
63
 
63
 
64
#endif
64
#endif
65
 
65
 
66
/** @}
66
/** @}
67
 */
67
 */