5 #ifndef __SYS_INTERRUPT_H__ 6 #define __SYS_INTERRUPT_H__ 11 #define SYS_HW_THREAD_ANY 0xFFFFFFFEU 12 #define SYS_HW_THREAD_INVALID 0xFFFFFFFFU 13 #define SYS_INTERRUPT_TAG_ID_INVALID 0xFFFFFFFFU 19 LV2_SYSCALL sysInterruptTagCreate(sys_interrupt_tag_t *intrTag,sys_irqoutlet_id_t irq,sys_hw_thread_t hwThread)
21 lv2syscall3(80, (u64)intrTag, irq, hwThread);
22 return_to_user_prog(s32);
25 LV2_SYSCALL sysInterruptTagDestroy(sys_interrupt_tag_t intrTag)
27 lv2syscall1(81, intrTag);
28 return_to_user_prog(s32);
31 LV2_SYSCALL sysInterruptThreadEstablish(sys_interrupt_thread_handle_t *ih,sys_interrupt_tag_t intrTag,sys_ppu_thread_t intrThread,u64 arg)
33 lv2syscall5(84, (u64)ih, intrTag, intrThread, arg, 0);
34 return_to_user_prog(s32);
37 LV2_SYSCALL _sysInterruptThreadDisestablish(sys_interrupt_thread_handle_t ih,u64 * tlsMem)
39 lv2syscall2(89, ih, (u64)tlsMem);
40 return_to_user_prog(s32);
43 LV2_INLINE
void sysInterruptThreadEOI(
void)
Thread Interrupt functions.