lipengfei28 commented on code in PR #17377:
URL: https://github.com/apache/nuttx/pull/17377#discussion_r2564384593


##########
arch/arm64/src/common/arm64_gicv2.c:
##########
@@ -1435,23 +1348,58 @@ void arm64_gic_secondary_init(void)
 }
 
 /****************************************************************************
- * Name: arm64_gic_raise_sgi
+ * Name: up_trigger_irq
  *
  * Description:
- *   Raise software generated interrupt to the target
+ *   Perform a Software Generated Interrupt (SGI).  If CONFIG_SMP is
+ *   selected, then the SGI is sent to all CPUs specified in the CPU set.
+ *   That set may include the current CPU.
  *
- * Input Parameters
- *   sgi    - The SGI interrupt ID (0-15)
+ *   If CONFIG_SMP is not selected, the cpuset is ignored and SGI is sent
+ *   only to the current CPU.
+ *
+ * Input Parameters:
+ *   irq    - The SGI interrupt ID (0-15)
  *   cpuset - The set of CPUs to receive the SGI
  *
  * Returned Value:
- *   None
+ *   OK is always returned at present.
  *
  ****************************************************************************/
 
-void arm64_gic_raise_sgi(unsigned int sgi, uint16_t cpuset)
+void up_trigger_irq(int irq, uint16_t cpuset)

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to