mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-15 20:35:26 +08:00
@@ -269,3 +269,10 @@ void arm_gic_trigger_sgi(rtems_vector_number vector, uint32_t targets)
|
||||
#endif
|
||||
| GIC_DIST_ICDSGIR_SGIINTID(vector);
|
||||
}
|
||||
|
||||
uint32_t arm_gic_irq_processor_count(void)
|
||||
{
|
||||
volatile gic_dist *dist = ARM_GIC_DIST;
|
||||
|
||||
return GIC_DIST_ICDICTR_CPU_NUMBER_GET(dist->icdictr) + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user