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:
parent
68f102055a
commit
9142deeb10
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue