Rev 121 | Rev 167 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 121 | Rev 125 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #define PAGE_KERNEL_SHIFT PAGE_USER_SHIFT |
40 | #define PAGE_KERNEL_SHIFT PAGE_USER_SHIFT |
41 | #define PAGE_READ_SHIFT 3 |
41 | #define PAGE_READ_SHIFT 3 |
42 | #define PAGE_WRITE_SHIFT 4 |
42 | #define PAGE_WRITE_SHIFT 4 |
43 | #define PAGE_EXEC_SHIFT 5 |
43 | #define PAGE_EXEC_SHIFT 5 |
44 | 44 | ||
45 | #define PAGE_NOT_CACHEABLE (0<<PAGE_CACHEABLE_SHIFT) |
45 | #define PAGE_NOT_CACHEABLE (0<<PAGE_CACHEABLE_SHIFT) |
46 | #define PAGE_CACHEABLE (1<<PAGE_CACHEABLE_SHIFT) |
46 | #define PAGE_CACHEABLE (1<<PAGE_CACHEABLE_SHIFT) |
47 | 47 | ||
48 | #define PAGE_PRESENT (0<<PAGE_PRESENT_SHIFT) |
48 | #define PAGE_PRESENT (0<<PAGE_PRESENT_SHIFT) |
49 | #define PAGE_NOT_PRESENT (1<<PAGE_PRESENT_SHIFT) |
49 | #define PAGE_NOT_PRESENT (1<<PAGE_PRESENT_SHIFT) |
50 | 50 | ||
51 | #define PAGE_USER (1<<PAGE_USER_SHIFT) |
51 | #define PAGE_USER (1<<PAGE_USER_SHIFT) |
52 | #define PAGE_KERNEL (0<<PAGE_USER_SHIFT) |
52 | #define PAGE_KERNEL (0<<PAGE_USER_SHIFT) |
53 | 53 | ||
54 | #define PAGE_READ (1<<PAGE_READ_SHIFT) |
54 | #define PAGE_READ (1<<PAGE_READ_SHIFT) |
55 | #define PAGE_WRITE (1<<PAGE_WRITE_SHIFT) |
55 | #define PAGE_WRITE (1<<PAGE_WRITE_SHIFT) |
56 | #define PAGE_EXEC (1<<PAGE_EXEC_SHIFT) |
56 | #define PAGE_EXEC (1<<PAGE_EXEC_SHIFT) |
57 | 57 |