Changeset 205 for trunk/hal/tsar_mips32/drivers/soclib_pic.h
- Timestamp:
- Jul 17, 2017, 11:41:25 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_pic.h
r188 r205 206 206 207 207 /****************************************************************************************** 208 * This function enable a HWI/WTI IRQ identified by the <src_chdev> argument,208 * This function enables a remote HWI/WTI IRQ, identified by the <src_chdev_xp> argument, 209 209 * that contains information on the IRQ type (HWI/WTI), and IRQ index. 210 * It access the re levantXCU mask register, but does not access IOPIC.211 ****************************************************************************************** 212 * @ lid : target core local index.213 * @ src_chdev : localpointer on source chdev descriptor.214 *****************************************************************************************/ 215 void soclib_pic_enable_irq( lid_t 216 chdev_t * src_chdev);217 218 /****************************************************************************************** 219 * This function disable a HWI/WTI IRQ identified by the <src_chdev> argument,210 * It access the remote XCU mask register, but does not access IOPIC. 211 ****************************************************************************************** 212 * @ lid : target core local index (in cluster containing the source chdev). 213 * @ src_chdev_xp : extended pointer on source chdev descriptor. 214 *****************************************************************************************/ 215 void soclib_pic_enable_irq( lid_t lid, 216 xptr_t src_chdev_xp ); 217 218 /****************************************************************************************** 219 * This function disables a remote HWI/WTI IRQ, identified by the <src_chdev_xp> argument, 220 220 * that contains information on the IRQ type (HWI/WTI), and IRQ index. 221 * It access the re levantXCU mask register, but does not access IOPIC.222 ****************************************************************************************** 223 * @ lid : target core local index.224 * @ src_chdev : localpointer on source chdev descriptor.225 *****************************************************************************************/ 226 void soclib_pic_disable_irq( lid_t 227 chdev_t * src_chdev);221 * It access the remote XCU mask register, but does not access IOPIC. 222 ****************************************************************************************** 223 * @ lid : target core local index (in cluster containing the source chdev). 224 * @ src_chdev_xp : extended pointer on source chdev descriptor. 225 *****************************************************************************************/ 226 void soclib_pic_disable_irq( lid_t lid, 227 xptr_t src_chdev_xp ); 228 228 229 229 /****************************************************************************************** … … 266 266 267 267 /****************************************************************************************** 268 * This function returns alocal pointer on the local XCU base segment.268 * This function returns the local pointer on the local XCU base segment. 269 269 *****************************************************************************************/ 270 270 uint32_t * soclib_pic_xcu_base(); 271 272 /****************************************************************************************** 273 * This function returns the local pointer on a remote XCU base segment. 274 * It is used by the soclip_pic_enable_irq() and soclib_pic_disable_irq() functions. 275 ****************************************************************************************** 276 * @ cxy : target cluster identifier. 277 *****************************************************************************************/ 278 uint32_t * soclib_pic_remote_xcu_base( cxy_t cxy ); 271 279 272 280 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.