Changeset 1049
- Timestamp:
- Apr 6, 2017, 4:43:37 PM (8 years ago)
- Location:
- trunk/softs/tsar_boot
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/Makefile
r1042 r1049 4 4 USE_DT ?= 0 5 5 DTS ?= platform.dts 6 HARD_CONFIG_PATH ?= ../../../ giet_vm6 HARD_CONFIG_PATH ?= ../../../almos-mkh 7 7 MAKECMDGOALS ?= none 8 8 BS_PROC ?= 0 -
trunk/softs/tsar_boot/drivers/reset_tty.c
r1043 r1049 11 11 #include <defs.h> 12 12 13 #ifndef SEG_T TY_BASE14 # error "SEG_T TY_BASE constant must be defined in the hard_config.h file"13 #ifndef SEG_TXT_BASE 14 # error "SEG_TXT_BASE constant must be defined in the hard_config.h file" 15 15 #endif 16 16 17 static int* const tty_address = (int* const)SEG_T TY_BASE;17 static int* const tty_address = (int* const)SEG_TXT_BASE; 18 18 19 19 enum tty_registers { -
trunk/softs/tsar_boot/include/defs.h
r1042 r1049 45 45 #endif 46 46 47 #ifndef SEG_ XCU_BASE48 # error "SEG_ XCU_BASE constant must be defined in the hard_config.h file"47 #ifndef SEG_ICU_BASE 48 # error "SEG_ICU_BASE constant must be defined in the hard_config.h file" 49 49 #endif 50 50 -
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.