Hardware Libraries  20.1
Stratix 10 SoC Hardware Manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Interrupt Controller Global Interface [Secure]

Description

This group of APIs provide access, configuration, and control of the interrupt controller global functions.

Functions

ALT_STATUS_CODE alt_int_global_init (void)
 
ALT_STATUS_CODE alt_int_global_uninit (void)
 
ALT_STATUS_CODE alt_int_global_enable (void)
 
ALT_STATUS_CODE alt_int_global_disable (void)
 

Function Documentation

ALT_STATUS_CODE alt_int_global_init ( void  )

Performs the initialization steps needed by the interrupt controller system. This should be the first API calls made when using the interrupt controller API.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_uninit ( void  )

Performs the uninitialization steps needed by the interrupt controller system.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_enable ( void  )

Enables all interrupt forwarding from the interrupt controller to the CPU interfaces. In EL3, this will enable the secure interrupts. In all other ELs, it will enable only the nonsecure ones.

The interrupt controller monitors all secure interrupt signals and forwards pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.
ALT_STATUS_CODE alt_int_global_disable ( void  )

Disables all interrupt forwarding from the interrupt controller to the CPU interfaces. In EL3, this will disable the secure interrupts. In all other ELs, it will disable only the nonsecure ones.

The interrupt controller ignores all secure interrupt signals and does not forward pending interrupts to the processors.

Return values
ALT_E_SUCCESSThe operation was successful.
ALT_E_ERRORThe operation failed.