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:
patacongo 2020-09-30 08:03:52 -06:00
parent 68f102055a
commit 9142deeb10

View file

@ -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