Rev 765 | Rev 843 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 765 | Rev 833 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | #define PAGE_SIZE FRAME_SIZE |
37 | #define PAGE_SIZE FRAME_SIZE |
38 | 38 | ||
39 | #define KA2PA(x) (((__address) (x)) - 0x80000000) |
39 | #define KA2PA(x) (((__address) (x)) - 0x80000000) |
40 | #define PA2KA(x) (((__address) (x)) + 0x80000000) |
40 | #define PA2KA(x) (((__address) (x)) + 0x80000000) |
41 | 41 | ||
- | 42 | #define PTL0_ENTRIES_ARCH 0 |
|
- | 43 | #define PTL1_ENTRIES_ARCH 0 |
|
- | 44 | #define PTL2_ENTRIES_ARCH 0 |
|
- | 45 | #define PTL3_ENTRIES_ARCH 0 |
|
- | 46 | ||
42 | #define PTL0_INDEX_ARCH(vaddr) 0 |
47 | #define PTL0_INDEX_ARCH(vaddr) 0 |
43 | #define PTL1_INDEX_ARCH(vaddr) 0 |
48 | #define PTL1_INDEX_ARCH(vaddr) 0 |
44 | #define PTL2_INDEX_ARCH(vaddr) 0 |
49 | #define PTL2_INDEX_ARCH(vaddr) 0 |
45 | #define PTL3_INDEX_ARCH(vaddr) 0 |
50 | #define PTL3_INDEX_ARCH(vaddr) 0 |
46 | 51 | ||
Line 64... | Line 69... | ||
64 | #define SET_PTL1_FLAGS_ARCH(ptl0, i, x) |
69 | #define SET_PTL1_FLAGS_ARCH(ptl0, i, x) |
65 | #define SET_PTL2_FLAGS_ARCH(ptl1, i, x) |
70 | #define SET_PTL2_FLAGS_ARCH(ptl1, i, x) |
66 | #define SET_PTL3_FLAGS_ARCH(ptl2, i, x) |
71 | #define SET_PTL3_FLAGS_ARCH(ptl2, i, x) |
67 | #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) |
72 | #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) |
68 | 73 | ||
- | 74 | #define PTE_VALID_ARCH(p) 1 |
|
- | 75 | ||
69 | extern void page_arch_init(void); |
76 | extern void page_arch_init(void); |
70 | 77 | ||
71 | #endif |
78 | #endif |