Changes in kernel/arch/mips32/include/mm/tlb.h [e2d97d7:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/mm/tlb.h
re2d97d7 r7a0359b 36 36 #define KERN_mips32_TLB_H_ 37 37 38 #include <arch/types.h>39 38 #include <typedefs.h> 40 39 #include <arch/mm/asid.h> 41 40 #include <arch/exception.h> 41 #include <trace.h> 42 42 43 43 #define TLB_ENTRY_COUNT 48 … … 59 59 typedef union { 60 60 struct { 61 #ifdef BIG_ENDIAN61 #ifdef __BE__ 62 62 unsigned : 2; /* zero */ 63 63 unsigned pfn : 24; /* frame number */ … … 80 80 typedef union { 81 81 struct { 82 #ifdef BIG_ENDIAN82 #ifdef __BE__ 83 83 unsigned vpn2 : 19; 84 84 unsigned : 5; … … 95 95 typedef union { 96 96 struct { 97 #ifdef BIG_ENDIAN97 #ifdef __BE__ 98 98 unsigned : 7; 99 99 unsigned mask : 12; … … 110 110 typedef union { 111 111 struct { 112 #ifdef BIG_ENDIAN112 #ifdef __BE__ 113 113 unsigned p : 1; 114 114 unsigned : 27; … … 127 127 * Probe TLB for Matching Entry. 128 128 */ 129 static inline void tlbp(void)129 NO_TRACE static inline void tlbp(void) 130 130 { 131 131 asm volatile ("tlbp\n\t"); … … 137 137 * Read Indexed TLB Entry. 138 138 */ 139 static inline void tlbr(void)139 NO_TRACE static inline void tlbr(void) 140 140 { 141 141 asm volatile ("tlbr\n\t"); … … 146 146 * Write Indexed TLB Entry. 147 147 */ 148 static inline void tlbwi(void)148 NO_TRACE static inline void tlbwi(void) 149 149 { 150 150 asm volatile ("tlbwi\n\t"); … … 155 155 * Write Random TLB Entry. 156 156 */ 157 static inline void tlbwr(void)157 NO_TRACE static inline void tlbwr(void) 158 158 { 159 159 asm volatile ("tlbwr\n\t");
Note:
See TracChangeset
for help on using the changeset viewer.