This group of APIs provide access, configuration, and control of the interrupt controller global functions when in the Secure state.
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 secure interrupt forwarding from the interrupt controller to the CPU interfaces.
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 secure interrupt forwarding from the interrupt controller to the CPU interfaces.
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. |
ALT_STATUS_CODE alt_int_global_enable_ns |
( |
void |
| ) |
|
Enables all non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.
The interrupt controller monitors all non-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_ns |
( |
void |
| ) |
|
Disables all non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.
The interrupt controller ignores all non-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. |
ALT_STATUS_CODE alt_int_global_enable_all |
( |
void |
| ) |
|
Enables all secure and non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.
The interrupt controller monitors all secure and non-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_all |
( |
void |
| ) |
|
Disables all secure and non-secure interrupt forwarding from the interrupt controller to the CPU interfaces using the secure interface.
The interrupt controller ignores all secure and non-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. |