Changeset 8440473 in mainline for kernel/arch/sparc64
- Timestamp:
- 2006-10-26T21:36:32Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c84448
- Parents:
- 19dce27
- Location:
- kernel/arch/sparc64
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/mm/tsb.h
r19dce27 r8440473 43 43 * in TLBs - only one TLB entry will do. 44 44 */ 45 #define TSB_SIZE 2 45 #define TSB_SIZE 2 /* when changing this, change as.c as well */ 46 46 #define ITSB_ENTRY_COUNT (512*(1<<TSB_SIZE)) 47 47 #define DTSB_ENTRY_COUNT (512*(1<<TSB_SIZE)) -
kernel/arch/sparc64/include/trap/mmu.h
r19dce27 r8440473 61 61 * First, try to refill TLB from TSB. 62 62 */ 63 64 63 #ifdef CONFIG_TSB 65 64 ldxa [%g0] ASI_IMMU, %g1 ! read TSB Tag Target Register … … 85 84 #ifdef CONFIG_TSB 86 85 ldxa [%g0] ASI_DMMU, %g1 ! read TSB Tag Target Register 87 srlx %g1, TSB_TAG_TARGET_CONTEXT_SHIFT, %g2 ! is this kernel miss?86 srlx %g1, TSB_TAG_TARGET_CONTEXT_SHIFT, %g2 ! is this a kernel miss? 88 87 brz,pn %g2, 0f 89 88 ldxa [%g0] ASI_DMMU_TSB_8KB_PTR_REG, %g3 ! read TSB 8K Pointer -
kernel/arch/sparc64/src/start.S
r19dce27 r8440473 68 68 */ 69 69 70 wrpr %g0, NWINDOWS - 2, %cansave 70 wrpr %g0, NWINDOWS - 2, %cansave ! set maximum saveable windows 71 71 wrpr %g0, 0, %canrestore ! get rid of windows we will never need again 72 72 wrpr %g0, 0, %otherwin ! make sure the window state is consistent
Note:
See TracChangeset
for help on using the changeset viewer.