Changeset 302 for trunk/softs/tsar_boot/src/reset.S
- Timestamp:
- Feb 26, 2013, 9:19:41 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/reset.S
r292 r302 99 99 * Compute the output index for the Write Triggered Interruption mask. 100 100 * Each processor enable the WTI for its irq output 101 */ 102 103 sll t4, t1, 2 /* t4 <= OUT_INDEX = local_id * 4 */ 104 li t5, (0xC << 7) /* t5 <= FUNC = XICU_MSK_HWI */ 105 or t4, t4, t5 /* t4 <= FUNC | INDEX | 00 */ 106 or t5, t3, t4 /* t5 <= &XICU[MSK_WTI][OUT_INDEX] */ 101 * Each processor may have IRQ_PER_PROC private irq outputs from 102 * the XICU 103 */ 104 105 move t4, t1 /* t4 <= local_id */ 106 li t5, IRQ_PER_PROC /* t5 <= IRQ_PER_PROC */ 107 multu t4, t5 108 mflo t6 /* t6 <= IRQ_PER_PROC * local_id */ 109 sll t4, t6, 2 /* t4 <= OUT_INDEX = t6 * 4 */ 110 111 li t5, (0xC << 7) /* t5 <= FUNC = XICU_MSK_HWI */ 112 or t4, t4, t5 /* t4 <= FUNC | INDEX | 00 */ 113 or t5, t3, t4 /* t5 <= &XICU[MSK_WTI][OUT_INDEX] */ 107 114 108 115 /* Compute and set WTI mask */ … … 142 149 143 150 /** 144 * Jump to the boot elf loader routin g routine151 * Jump to the boot elf loader routine 145 152 * Passing as argument the block number in which it must be 146 * the boot loader elf file153 * the executable elf file to load 147 154 */ 148 155 … … 209 216 210 217 .set reorder 218 219 /* 220 * vim: tabstop=4 : shiftwidth=4 : expandtab 221 */
Note: See TracChangeset
for help on using the changeset viewer.