Changeset 76cec1e in mainline for arch/mips/include/mm/page.h
- Timestamp:
- 2005-07-15T21:57:30Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4a4c5e3
- Parents:
- e41c47e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips/include/mm/page.h
re41c47e r76cec1e 60 60 #define PTL3_INDEX_ARCH(vaddr) (((vaddr)>>14)&0xfff) 61 61 62 #define GET_PTL0_ADDRESS_ARCH() 62 #define GET_PTL0_ADDRESS_ARCH() (PTL0) 63 63 #define SET_PTL0_ADDRESS_ARCH(ptl0) (PTL0 = (pte_t *)(ptl0)) 64 64 65 #define GET_PTL1_ADDRESS_ARCH(ptl0, i) 66 #define GET_PTL2_ADDRESS_ARCH(ptl1, i) 67 #define GET_PTL3_ADDRESS_ARCH(ptl2, i) 68 #define GET_FRAME_ADDRESS_ARCH(ptl3, i) 65 #define GET_PTL1_ADDRESS_ARCH(ptl0, i) (((pte_t *)(ptl0))[(i)].pfn<<14) 66 #define GET_PTL2_ADDRESS_ARCH(ptl1, i) (ptl1) 67 #define GET_PTL3_ADDRESS_ARCH(ptl2, i) (ptl2) 68 #define GET_FRAME_ADDRESS_ARCH(ptl3, i) (((pte_t *)(ptl3))[(i)].pfn<<14) 69 69 70 70 #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) (((pte_t *)(ptl0))[(i)].pfn = (a)>>14) … … 73 73 #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) (((pte_t *)(ptl3))[(i)].pfn = (a)>>14) 74 74 75 #define GET_PTL1_FLAGS_ARCH(ptl0, i) 76 #define GET_PTL2_FLAGS_ARCH(ptl1, i) 77 #define GET_PTL3_FLAGS_ARCH(ptl2, i) 78 #define GET_FRAME_FLAGS_ARCH(ptl3, i) 75 #define GET_PTL1_FLAGS_ARCH(ptl0, i) get_pt_flags((pte_t *)(ptl0), (index_t)(i)) 76 #define GET_PTL2_FLAGS_ARCH(ptl1, i) PAGE_PRESENT 77 #define GET_PTL3_FLAGS_ARCH(ptl2, i) PAGE_PRESENT 78 #define GET_FRAME_FLAGS_ARCH(ptl3, i) get_pt_flags((pte_t *)(ptl3), (index_t)(i)) 79 79 80 80 #define SET_PTL1_FLAGS_ARCH(ptl0, i, x) set_pt_flags((pte_t *)(ptl0), (index_t)(i), (x))
Note:
See TracChangeset
for help on using the changeset viewer.