Changeset d681c17 in mainline for kernel/arch/sparc64/src/start.S
- Timestamp:
- 2006-09-05T14:52:11Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5035eeb7
- Parents:
- 2def788
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/start.S
r2def788 rd681c17 126 126 127 127 ! write DTLB data and install the kernel mapping 128 SET_TLB_DATA(g1, g2, TTE_G) 128 SET_TLB_DATA(g1, g2, 0) ! use non-global mapping 129 stxa %g1, [%g0] ASI_DTLB_DATA_IN_REG 130 membar #Sync 131 132 /* 133 * Because we cannot use global mappings (because we want to 134 * have separate 64-bit address spaces for both the kernel 135 * and the userspace), we prepare the identity mapping also in 136 * context 1. This step is required by the 137 * code installing the ITLB mapping. 138 */ 139 ! write DTLB tag of context 1 (i.e. MEM_CONTEXT_TEMP) 140 SET_TLB_TAG(g1, MEM_CONTEXT_TEMP) 141 stxa %g1, [VA_DMMU_TAG_ACCESS] %asi 142 membar #Sync 143 144 ! write DTLB data and install the kernel mapping in context 1 145 SET_TLB_DATA(g1, g2, 0) ! use non-global mapping 129 146 stxa %g1, [%g0] ASI_DTLB_DATA_IN_REG 130 147 membar #Sync
Note:
See TracChangeset
for help on using the changeset viewer.