Changeset e84439a in mainline for arch/mips/include/mm/page.h
- Timestamp:
- 2005-09-06T08:51:22Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e949fd6
- Parents:
- 39ae77b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips/include/mm/page.h
r39ae77b re84439a 30 30 #define __mips_PAGE_H__ 31 31 32 #include <arch/mm/tlb.h>33 #include <mm/page.h>34 #include <arch/mm/frame.h>35 #include <arch/types.h>36 37 32 #define PAGE_SIZE FRAME_SIZE 38 33 39 #define KA2PA(x) (((__address) (x)) - 0x80000000) 40 #define PA2KA(x) (((__address) (x)) + 0x80000000) 34 #ifndef __ASM__ 35 # define KA2PA(x) (((__address) (x)) - 0x80000000) 36 # define PA2KA(x) (((__address) (x)) + 0x80000000) 37 #else 38 # define KA2PA(x) ((x) - 0x80000000) 39 # define PA2KA(x) ((x) + 0x80000000) 40 #endif 41 41 42 42 /* … … 82 82 #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x)) 83 83 84 #ifndef __ASM__ 85 86 #include <arch/mm/tlb.h> 87 #include <mm/page.h> 88 #include <arch/mm/frame.h> 89 #include <arch/types.h> 90 84 91 static inline int get_pt_flags(pte_t *pt, index_t i) 85 92 { … … 110 117 extern pte_t *PTL0; 111 118 119 #endif /* __ASM__ */ 120 112 121 #endif
Note:
See TracChangeset
for help on using the changeset viewer.