Rev 1954 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1954 | Rev 1978 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | andcc %g1, %g2, %g3 ! get Context |
109 | andcc %g1, %g2, %g3 ! get Context |
110 | bnz 0f ! Context is non-zero |
110 | bnz 0f ! Context is non-zero |
111 | andncc %g1, %g2, %g3 ! get page address into %g3 |
111 | andncc %g1, %g2, %g3 ! get page address into %g3 |
112 | bz 0f ! page address is zero |
112 | bz 0f ! page address is zero |
113 | 113 | ||
114 | or %g3, (TTE_CV|TTE_CP|TTE_P|TTE_W), %g2 ! 8K pages are the default (encoded as 0) |
114 | sethi %hi(kernel_8k_tlb_data_template), %g2 |
115 | mov 1, %g3 |
- | |
116 | sllx %g3, TTE_V_SHIFT, %g3 |
115 | ldx [%g2 + %lo(kernel_8k_tlb_data_template)], %g2 |
117 | or %g2, %g3, %g2 |
116 | or %g3, %g2, %g2 |
118 | stxa %g2, [%g0] ASI_DTLB_DATA_IN_REG ! identity map the kernel page |
117 | stxa %g2, [%g0] ASI_DTLB_DATA_IN_REG ! identity map the kernel page |
119 | retry |
118 | retry |
120 | 119 | ||
121 | /* |
120 | /* |
122 | * Third, catch and handle special cases when the trap is caused by |
121 | * Third, catch and handle special cases when the trap is caused by |