mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 05:30:20 +00:00
SMP: Introduce spin_lock_irqsave() and spin_unlock_irqrestore() These APIs are simplified version of enter_critical_section() and leave_critical_section() to protect data (e.g. registers) in SMP mode. By using these APIs inside drivers, performace will be improved. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org> |
||
|---|---|---|
| .. | ||
| irq.h | ||
| irq_attach.c | ||
| irq_csection.c | ||
| irq_dispatch.c | ||
| irq_initialize.c | ||
| irq_spinlock.c | ||
| irq_unexpectedisr.c | ||
| Make.defs | ||