Changeset 136
- Timestamp:
- Jul 4, 2017, 8:54:36 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_drivers.h
r131 r136 27 27 void hal_drivers_txt_init(chdev_t *dev); 28 28 void hal_drivers_xcu_init(chdev_t *dev, lid_t lid); 29 void hal_drivers_xcu_disable_irq(chdev_t *icu, uint32_t irq_index, 30 uint32_t irq_type, lid_t lid); 31 void hal_drivers_xcu_enable_irq(chdev_t *icu, uint32_t irq_index, 32 uint32_t irq_type, lid_t lid); 29 33 30 34 #endif /* HAL_DRIVERS_H_ */ -
trunk/hal/tsar_mips32/core/hal_drivers.c
r130 r136 33 33 } 34 34 35 /* -------------------------------------------------------------------------- */ 36 35 37 void hal_drivers_xcu_init(chdev_t *dev, lid_t lid) 36 38 { … … 38 40 } 39 41 42 void hal_drivers_xcu_disable_irq(chdev_t *icu, uint32_t irq_index, 43 uint32_t irq_type, lid_t lid) 44 { 45 soclib_xcu_disable_irq(icu, 1 << irq_index, irq_type, lid); 46 } 47 48 void hal_drivers_xcu_enable_irq(chdev_t *icu, uint32_t irq_index, 49 uint32_t irq_type, lid_t lid) 50 { 51 soclib_xcu_enable_irq(icu, 1 << irq_index, irq_type, lid); 52 } 53 -
trunk/hal/x86_64/core/hal_drivers.c
r130 r136 33 33 } 34 34 35 /* -------------------------------------------------------------------------- */ 36 35 37 void hal_drivers_xcu_init(chdev_t *dev, lid_t lid) 36 38 { … … 38 40 } 39 41 42 void hal_drivers_xcu_disable_irq(chdev_t *icu, uint32_t irq_index, 43 uint32_t irq_type, lid_t lid) 44 { 45 soclib_xcu_disable_irq(icu, 1 << irq_index, irq_type, lid); 46 } 47 48 void hal_drivers_xcu_enable_irq(chdev_t *icu, uint32_t irq_index, 49 uint32_t irq_type, lid_t lid) 50 { 51 soclib_xcu_enable_irq(icu, 1 << irq_index, irq_type, lid); 52 } 53 -
trunk/kernel/devices/dev_icu.c
r131 r136 129 129 if( icu->impl == IMPL_ICU_XCU ) 130 130 { 131 soclib_xcu_enable_irq( icu , 1<<irq_index , irq_type , lid );131 hal_drivers_xcu_enable_irq( icu , irq_index , irq_type , lid ); 132 132 } 133 133 … … 161 161 if( icu->impl == IMPL_ICU_XCU ) 162 162 { 163 soclib_xcu_disable_irq( icu , 1<<irq_index , irq_type , lid );163 hal_drivers_xcu_disable_irq( icu , irq_index , irq_type , lid ); 164 164 } 165 165
Note: See TracChangeset
for help on using the changeset viewer.