mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Update arch/arm/src/common/arm_interruptcontext.c
Add a comment discussing the limitation of this solution for the case of the ARMv7-A with the GIC
This commit is contained in:
@@ -60,6 +60,12 @@
|
||||
bool up_interrupt_context(void)
|
||||
{
|
||||
#ifdef CONFIG_SMP
|
||||
/* REVISIT: Currently up_irq_save() will not disable the Software
|
||||
* Generated Interrupts (SGIs) for the case of ARMv7-A architecture using
|
||||
* the GIC. So this will not be sufficient in that case, at least not
|
||||
* until we add support for the ICCMPR.
|
||||
*/
|
||||
|
||||
irqstate_t flags = up_irq_save();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user