Changeset 208
- Timestamp:
- Jul 17, 2017, 12:56:23 PM (7 years ago)
- Location:
- trunk/hal/x86_64/drivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/pic_apic.c
r203 r208 58 58 } 59 59 60 void pic_apic_extend_init( uint32_t * xcu_base)60 void pic_apic_extend_init(uint32_t *xcu_base) 61 61 { 62 62 x86_panic((char *)__func__); … … 98 98 } 99 99 100 void pic_apic_enable_irq( lid_t lid, 101 chdev_t * src_chdev ) 100 void pic_apic_enable_irq(lid_t lid, xptr_t src_chdev_xp) 102 101 { 102 chdev_t *src_chdev = (chdev_t *)src_chdev_xp; 103 103 uint32_t func = src_chdev->func; 104 104 uint32_t channel = src_chdev->channel; … … 117 117 } 118 118 119 void pic_apic_disable_irq( lid_t lid, 120 chdev_t * src_chdev ) 119 void pic_apic_disable_irq(lid_t lid, xptr_t src_chdev_xp) 121 120 { 122 x86_panic((char *)__func__); 123 121 chdev_t *src_chdev = (chdev_t *)src_chdev_xp; 124 122 uint32_t func = src_chdev->func; 125 123 uint32_t channel = src_chdev->channel; … … 138 136 } 139 137 140 void pic_apic_enable_timer( uint32_t period)138 void pic_apic_enable_timer(uint32_t period) 141 139 { 142 140 x86_panic((char *)__func__); 143 141 } 144 142 145 void pic_apic_send_ipi( cxy_t cxy, 146 lid_t lid ) 143 void pic_apic_send_ipi(cxy_t cxy, lid_t lid) 147 144 { 148 145 x86_panic((char *)__func__); -
trunk/hal/x86_64/drivers/pic_apic.h
r197 r208 28 28 void pic_apic_extend_init( uint32_t * xcu_base ); 29 29 void pic_apic_bind_irq( lid_t lid, 30 31 void pic_apic_enable_irq( lid_t 32 chdev_t * src_chdev);33 void pic_apic_disable_irq( lid_t 34 chdev_t * src_chdev);30 chdev_t * src_chdev ); 31 void pic_apic_enable_irq( lid_t lid, 32 xptr_t src_chdev_xp ); 33 void pic_apic_disable_irq( lid_t lid, 34 xptr_t src_chdev_xp ); 35 35 void pic_apic_enable_timer( uint32_t period ); 36 36 37 37 void pic_apic_send_ipi( cxy_t cxy, 38 38 lid_t lid ); 39 39 40 40 #endif /* _PIC_APIC_H_ */
Note: See TracChangeset
for help on using the changeset viewer.