Changeset 568
- Timestamp:
- May 18, 2015, 7:05:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/kernel_init.c
r547 r568 20 20 #include <nic_driver.h> 21 21 #include <hba_driver.h> 22 #include <sdc_driver.h> 23 #include <bdv_driver.h> 22 24 #include <mmc_driver.h> 23 25 #include <ctx_handler.h> … … 189 191 #endif 190 192 191 ////// HBAperipheral initialisation193 ////// IOC peripheral initialisation 192 194 if ( USE_IOC_HBA ) 193 195 { 194 196 _hba_init(); 195 196 // routing HBA IRQ to proc[0,0,0]197 197 _ext_irq_alloc( ISR_HBA , 0 , &unused ); 198 199 #if GIET_DEBUG_INIT 200 _nolock_printf("\n[DEBUG KINIT] P[%d,%d,%d] completes HBA init\n", x , y , p ); 201 #endif 198 202 } 199 200 #if GIET_DEBUG_INIT 201 _nolock_printf("\n[DEBUG KINIT] P[%d,%d,%d] completes HBA init\n", x , y , p ); 202 #endif 203 if ( USE_IOC_SDC ) 204 { 205 _sdc_init(); 206 _ext_irq_alloc( ISR_SDC , 0 , &unused ); 207 208 #if GIET_DEBUG_INIT 209 _nolock_printf("\n[DEBUG KINIT] P[%d,%d,%d] completes SDC init\n", x , y , p ); 210 #endif 211 } 212 if ( USE_IOC_BDV ) 213 { 214 _bdv_init(); 215 _ext_irq_alloc( ISR_BDV , 0 , &unused ); 216 217 #if GIET_DEBUG_INIT 218 _nolock_printf("\n[DEBUG KINIT] P[%d,%d,%d] completes BDV init\n", x , y , p ); 219 #endif 220 } 203 221 204 222 ////// release other processors
Note: See TracChangeset
for help on using the changeset viewer.