6150299f54
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> |
||
---|---|---|
.. | ||
arpa | ||
cxx | ||
net | ||
netinet | ||
netpacket | ||
nuttx | ||
sys | ||
.gitignore | ||
aio.h | ||
assert.h | ||
crc8.h | ||
crc16.h | ||
crc32.h | ||
crc64.h | ||
ctype.h | ||
debug.h | ||
dirent.h | ||
dllfcn.h | ||
elf32.h | ||
errno.h | ||
fcntl.h | ||
fixedmath.h | ||
hex2bin.h | ||
inttypes.h | ||
libgen.h | ||
limits.h | ||
locale.h | ||
mqueue.h | ||
netdb.h | ||
nxflat.h | ||
poll.h | ||
pthread.h | ||
queue.h | ||
sched.h | ||
semaphore.h | ||
signal.h | ||
spawn.h | ||
stdbool.h | ||
stddef.h | ||
stdint.h | ||
stdio.h | ||
stdlib.h | ||
stdnoreturn.h | ||
string.h | ||
strings.h | ||
syscall.h | ||
syslog.h | ||
termios.h | ||
threads.h | ||
time.h | ||
unistd.h | ||
wchar.h | ||
wctype.h |