Visible to Intel only — GUID: sis1653016957025
Ixiasoft
Visible to Intel only — GUID: sis1653016957025
Ixiasoft
16.1.1.82. alt_niosv_register_msw_interrupt_handler()
Prototype
void alt_niosv_register_msw_interrupt_handler(alt_niosv_sw_isr_t handle)Commonly Called By
C/C++ programsThread-safe
Yes.Available from ISR
No.Include
<sys/msw_interrupt.h>Description
The alt_niosv_register_msw_interrupt_handler() function registers a software ISR.The function argument handle is a pointer to the software ISR function.
The ISR function prototype is void (*sw_isr_func) (alt_u32 cause, alt_u32 epc, alt_u32 tval).
Calls to alt_niosv_register_msw_interrupt_handler() replace previously registered handlers for machine software interrupt.