Changeset ff9f858 in mainline for arch/mips/include/mm/page.h
- Timestamp:
- 2005-06-30T23:27:02Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a03f9
- Parents:
- 992bbb97
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips/include/mm/page.h
r992bbb97 rff9f858 31 31 32 32 #include <arch/mm/frame.h> 33 #include <arch/types.h> 33 34 34 35 #define PAGE_SIZE FRAME_SIZE … … 39 40 #define page_arch_init() ; 40 41 42 /* 43 * Implementation of generic 4-level page table interface. 44 * TODO: this is a fake implementation provided to satisfy the compiler 45 */ 46 #define PTL0_INDEX_ARCH(vaddr) 0 47 #define PTL1_INDEX_ARCH(vaddr) 0 48 #define PTL2_INDEX_ARCH(vaddr) 0 49 #define PTL3_INDEX_ARCH(vaddr) 0 50 51 #define GET_PTL0_ADDRESS_ARCH() ((pte_t *) 0) 52 #define GET_PTL1_ADDRESS_ARCH(ptl0, i) ((pte_t *) 0) 53 #define GET_PTL2_ADDRESS_ARCH(ptl1, i) ((pte_t *) 0) 54 #define GET_PTL3_ADDRESS_ARCH(ptl2, i) ((pte_t *) 0) 55 #define GET_FRAME_ADDRESS_ARCH(ptl3, i) ((pte_t *) 0) 56 57 #define SET_PTL0_ADDRESS_ARCH(ptl0) 58 #define SET_PTL1_ADDRESS_ARCH(ptl0, i, a) 59 #define SET_PTL2_ADDRESS_ARCH(ptl1, i, a) 60 #define SET_PTL3_ADDRESS_ARCH(ptl2, i, a) 61 #define SET_FRAME_ADDRESS_ARCH(ptl3, i, a) 62 63 #define GET_PTL1_FLAGS_ARCH(ptl0, i) 0 64 #define GET_PTL2_FLAGS_ARCH(ptl1, i) 0 65 #define GET_PTL3_FLAGS_ARCH(ptl2, i) 0 66 #define GET_FRAME_FLAGS_ARCH(ptl3, i) 0 67 68 #define SET_PTL1_FLAGS_ARCH(ptl0, i, x) 69 #define SET_PTL2_FLAGS_ARCH(ptl1, i, x) 70 #define SET_PTL3_FLAGS_ARCH(ptl2, i, x) 71 #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) 72 73 typedef __u32 pte_t; 74 41 75 #endif
Note:
See TracChangeset
for help on using the changeset viewer.