Hardware Libraries
20.1
Stratix 10 SoC Hardware Manager
|
This group of APIs provide utilities to query the system properties.
Functions | |
uint32_t | alt_int_util_cpu_count (void) |
uint32_t | alt_int_util_int_count (void) |
uint32_t | alt_int_util_get_current_cpu (void) |
alt_int_cpu_target_t | alt_int_util_cpu_current (void) |
void | set_vector_table (void *vector_table) |
uint32_t alt_int_util_cpu_count | ( | void | ) |
Gets the number of CPUs in the system.
uint32_t alt_int_util_int_count | ( | void | ) |
Gets the number of supported interrupts in the system.
uint32_t alt_int_util_get_current_cpu | ( | void | ) |
Gets the CPU identifier of the current CPU.
alt_int_cpu_target_t alt_int_util_cpu_current | ( | void | ) |
Gets the interrupt mask for the current CPU.
void set_vector_table | ( | void * | vector_table | ) |
Sets the vector table for a given CPU. Note that doing this will cause the alt_int_isr_register callbacks to cease functioning
vector_table | The address of the new vector table. See alt_interruptXX.S for an example of the format for the vector table |