Changeset 771cd22 in mainline for kernel/arch/sparc64/include/mm/tsb.h
- Timestamp:
- 2006-12-16T19:07:02Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e7c8747
- Parents:
- 1ecdbb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/mm/tsb.h
r1ecdbb0 r771cd22 43 43 * in TLBs - only one TLB entry will do. 44 44 */ 45 #define TSB_SIZE 2 /* when changing this, change as.c as well */ 46 #define ITSB_ENTRY_COUNT (512*(1<<TSB_SIZE)) 47 #define DTSB_ENTRY_COUNT (512*(1<<TSB_SIZE)) 45 #define TSB_SIZE 2 /* when changing this, change 46 * as.c as well */ 47 #define ITSB_ENTRY_COUNT (512 * (1 << TSB_SIZE)) 48 #define DTSB_ENTRY_COUNT (512 * (1 << TSB_SIZE)) 48 49 49 50 #define TSB_TAG_TARGET_CONTEXT_SHIFT 48 … … 81 82 struct { 82 83 uint64_t base : 51; /**< TSB base address, bits 63:13. */ 83 unsigned split : 1; /**< Split vs. common TSB for 8K and 64K pages. 84 * HelenOS uses only 8K pages for user mappings, 85 * so we always set this to 0. 86 */ 84 unsigned split : 1; /**< Split vs. common TSB for 8K and 64K 85 * pages. HelenOS uses only 8K pages 86 * for user mappings, so we always set 87 * this to 0. 88 */ 87 89 unsigned : 9; 88 unsigned size : 3; /**< TSB size. Number of entries is 512*2^size. */ 90 unsigned size : 3; /**< TSB size. Number of entries is 91 * 512 * 2^size. */ 89 92 } __attribute__ ((packed)); 90 93 };
Note:
See TracChangeset
for help on using the changeset viewer.