Changeset 29b2bbf in mainline for kernel/arch/sparc64/include/mm/tsb.h
- Timestamp:
- 2006-09-18T22:10:20Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19dba2b
- Parents:
- 57da95c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/mm/tsb.h
r57da95c r29b2bbf 36 36 #define KERN_sparc64_TSB_H_ 37 37 38 #include <arch/mm/tte.h>39 #include <arch/mm/mmu.h>40 #include <arch/types.h>41 #include <typedefs.h>42 43 38 /* 44 39 * ITSB abd DTSB will claim 64K of memory, which … … 52 47 #define DTSB_ENTRY_COUNT (512*(1<<TSB_SIZE)) 53 48 49 #define TSB_TAG_TARGET_CONTEXT_SHIFT 48 50 51 #ifndef __ASM__ 52 53 #include <arch/mm/tte.h> 54 #include <arch/mm/mmu.h> 55 #include <arch/types.h> 56 #include <typedefs.h> 57 58 /** TSB Tag Target register. */ 59 union tsb_tag_target { 60 uint64_t value; 61 struct { 62 unsigned invalid : 1; /**< Invalidated by software. */ 63 unsigned : 2; 64 unsigned context : 13; /**< Software ASID. */ 65 unsigned : 6; 66 uint64_t va_tag : 42; /**< Virtual address bits <63:22>. */ 67 } __attribute__ ((packed)); 68 }; 69 typedef union tsb_tag_target tsb_tag_target_t; 70 71 /** TSB entry. */ 54 72 struct tsb_entry { 55 t te_tag_t tag;73 tsb_tag_target_t tag; 56 74 tte_data_t data; 57 75 } __attribute__ ((packed)); … … 110 128 111 129 extern void tsb_invalidate(as_t *as, uintptr_t page, count_t pages); 130 extern void itsb_pte_copy(pte_t *t); 131 extern void dtsb_pte_copy(pte_t *t, bool ro); 132 133 #endif /* !def __ASM__ */ 112 134 113 135 #endif
Note:
See TracChangeset
for help on using the changeset viewer.