Changeset 200 for trunk/kernel
- Timestamp:
- Jul 13, 2017, 1:39:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_pic.c
r190 r200 66 66 { 67 67 // get pointer on PIC chdev 68 chdev_t * pic = (chdev_t *)GET_PTR( chdev_dir.pic ); 68 chdev_t * pic_ptr = (chdev_t *)GET_PTR( chdev_dir.pic ); 69 cxy_t pic_cxy = GET_CXY( chdev_dir.pic ); 70 71 // get pointer on extend_init function 72 pic_init_t * f = hal_remote_lpt( XPTR( pic_cxy , &pic_ptr->ext.pic.extend_init ) ); 69 73 70 74 // call relevant driver function 71 pic->ext.pic.extend_init( lapic_base );75 f( lapic_base ); 72 76 } 73 77 … … 91 95 92 96 // call relevant driver function 93 pic->ext.pic.enable_irq( src_chdev );97 pic->ext.pic.enable_irq( lid , src_chdev ); 94 98 } 95 99 … … 102 106 103 107 // call relevant driver function 104 pic->ext.pic.disable_irq( src_chdev );108 pic->ext.pic.disable_irq( lid , src_chdev ); 105 109 } 106 110
Note: See TracChangeset
for help on using the changeset viewer.