Changeset 216 for trunk/kernel
- Timestamp:
- Jul 17, 2017, 1:50:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_ioc.c
r213 r216 26 26 #include <hal_gpt.h> 27 27 #include <hal_drivers.h> 28 #include <soclib_hba.h>29 28 #include <thread.h> 30 29 #include <printk.h> … … 55 54 56 55 // call driver init function 57 if( impl == IMPL_IOC_BDV ) 58 { 59 hal_drivers_ioc_init( ioc ); 60 } 61 else if( impl == IMPL_IOC_HBA ) 62 { 63 soclib_hba_init( ioc ); 64 } 65 else 66 { 67 assert( false , __FUNCTION__ , "undefined IOC device implementation" ); 68 } 56 hal_drivers_ioc_init( ioc, impl ); 69 57 70 58 // select a core to execute the IOC server thread
Note: See TracChangeset
for help on using the changeset viewer.