Changeset 1049 for trunk/softs/tsar_boot/src
- Timestamp:
- Apr 6, 2017, 4:43:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/reset.S
r1042 r1049 97 97 98 98 #if USE_32BIT 99 99 100 /*** VERSION 1 : 32 bits ***/ 100 101 … … 106 107 * In each cluster, the XICU base address depends on the cluster_xy 107 108 */ 108 la t3, SEG_ XCU_BASE /* t3 <= ICU base address */109 la t3, SEG_ICU_BASE /* t3 <= ICU base address */ 109 110 li t4, 1 /* t4 <= 1 */ 110 111 sll t4, t4, X_WIDTH /* t4 <= 1 << X_WIDTH */ … … 136 137 sllv t4, t4, t1 /* Set XICU[MSK_WTI][INDEX][local_id] */ 137 138 sw t4, 0(t5) /* XICU[MSK_WTI][INDEX] <= t4 */ 139 138 140 #else 141 139 142 /*** VERSION 2 : 40 bits ***/ 140 143 … … 144 147 * In each cluster, the XICU base address depends on the cluster_xy 145 148 */ 146 la t3, SEG_ XCU_BASE /* t3 <= ICU base address */149 la t3, SEG_ICU_BASE /* t3 <= ICU base address */ 147 150 move t4, t1 /* t4 <= local_id */ 148 151 li t5, IRQ_PER_PROCESSOR /* t5 <= IRQ_PER_PROCESSOR */ … … 163 166 sw t4, 0(t5) /* XICU[MSK_WTI][INDEX] <= t4 */ 164 167 mtc2 zero, CP2_PADDR_EXT /* reset PADDR extension */ 168 165 169 #endif 166 170
Note: See TracChangeset
for help on using the changeset viewer.