Changeset 206 for trunk/kernel/devices
- Timestamp:
- Jul 17, 2017, 12:51:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_pic.c
r205 r206 26 26 #include <chdev.h> 27 27 #include <printk.h> 28 #include < soclib_pic.h>28 #include <hal_drivers.h> 29 29 #include <dev_pic.h> 30 30 #include <cluster.h> … … 49 49 if( impl == IMPL_PIC_SCL ) 50 50 { 51 // call the PIC SOCLIB driver 52 soclib_pic_init( pic ); 53 54 // update the PIC chdev extension 55 pic->ext.pic.enable_timer = &soclib_pic_enable_timer; 56 pic->ext.pic.enable_irq = &soclib_pic_enable_irq; 57 pic->ext.pic.disable_irq = &soclib_pic_disable_irq; 58 pic->ext.pic.bind_irq = &soclib_pic_bind_irq; 59 pic->ext.pic.send_ipi = &soclib_pic_send_ipi; 60 pic->ext.pic.extend_init = &soclib_pic_extend_init; 51 // call the implementation-specific PIC driver 52 hal_drivers_pic_init(pic); 61 53 } 62 54 else if( impl == IMPL_PIC_I86 )
Note: See TracChangeset
for help on using the changeset viewer.