Changeset 204 for trunk/kernel/devices
- Timestamp:
- Jul 17, 2017, 8:42:59 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_pic.c
r201 r204 26 26 #include <chdev.h> 27 27 #include <printk.h> 28 #include < hal_drivers.h>28 #include <soclib_pic.h> 29 29 #include <dev_pic.h> 30 30 #include <cluster.h> … … 50 50 { 51 51 // call the PIC SOCLIB driver 52 hal_drivers_pic_init( pic ); 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; 53 61 } 54 62 else if( impl == IMPL_PIC_I86 ) … … 70 78 71 79 // get pointer on extend_init function 72 pic_init_t * f = hal_remote_lpt( XPTR( pic_cxy , &pic_ptr->ext.pic.extend_init ) ); 80 pic_init_t * f = hal_remote_lpt( XPTR( pic_cxy , &pic_ptr->ext.pic.extend_init ) ); 73 81 74 82 // call relevant driver function
Note: See TracChangeset
for help on using the changeset viewer.