This group of APIs provide access, configuration, and control of the interrupt controller global functions.
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_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |
ALT_STATUS_CODE alt_int_global_uninit |
( |
void |
| ) |
|
Performs the uninitialization steps needed by the interrupt controller system.
- Return values
-
ALT_E_SUCCESS | The operation was successful. |
ALT_E_ERROR | The 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_SUCCESS | The operation was successful. |
ALT_E_ERROR | The 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_SUCCESS | The operation was successful. |
ALT_E_ERROR | The operation failed. |