h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_FIQSource h2. HAL_FIQSource h5. (HAL entry #10) <pre> int HAL_FIQSource(void) </pre> |_<. Entry | | |- | | |_<. Exit | | |>= 0 |Device number that is the source of the current FIQ | |-1 |No device is currently interrupting (indicates spurious interrupt) | h4. Use On receipt of an FIQ, the kernel will call this function to determine what device/shared interrupt line is the cause. If -1 is returned, the kernel perform no further action and return to running user code. Otherwise the kernel will invoke the appropriate interrupt handler, or mask the interrupt via [[HAL_FIQDisable]] if no such handler exists. "Note: Currently, the number of supported devices is fixed for each kernel version.":HAL+TODO#broken h4. See also * [[HAL interrupt handling API]] h6. Information sources: Kernel.Docs.HAL.MoreEnts, HAL.Tungsten.s.Interrupts, HAL.OMAP3.s.Interrupts in CVS