Changeset 216 for soft/giet_vm/sys/kernel_init.c
- Timestamp:
- Sep 18, 2012, 6:38:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/kernel_init.c
r215 r216 124 124 } 125 125 126 unsigned int isr_switch_channel = 0xFFFFFFFF; 127 126 128 // step 3 : compute and set ICU masks 127 129 // there is at most 32 interrupts per processor … … 131 133 unsigned int hwi_mask = 0; 132 134 unsigned int pti_mask = 0; 133 134 unsigned int isr_switch_channel = 0xFFFFFFFF;135 135 136 136 for ( irq_id = 0 ; irq_id < 32 ; irq_id++ ) … … 173 173 if(isr_switch_channel == 0xFFFFFFFF) 174 174 { 175 _get_lock(&_tty_put_lock); 175 176 _puts("\n[GIET ERROR] ISR_SWITCH not found on proc "); 176 177 _putd( proc_id); 177 178 _puts("\n"); 179 _release_lock(&_tty_put_lock); 178 180 _sys_exit(); 179 181 } 180 _timer_start( cluster_id, 181 isr_switch_channel, 182 GIET_TICK_VALUE ); 182 183 if(_timer_start( cluster_id, isr_switch_channel, GIET_TICK_VALUE )) 184 { 185 _get_lock(&_tty_put_lock); 186 _puts("\n[GIET ERROR] ISR_SWITCH init error for proc "); 187 _putd( proc_id); 188 _puts("\n"); 189 _release_lock(&_tty_put_lock); 190 _sys_exit(); 191 } 183 192 184 193 #if GIET_DEBUG_INIT
Note: See TracChangeset
for help on using the changeset viewer.