nuttx/include
Masayuki Ishikawa 6150299f54 Merged in masayuki2009/nuttx.nuttx/irq_spinlock (pull request #550)
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>
2017-12-07 19:39:04 +00:00
..
arpa NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
cxx More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
net Squashed commit of the following: 2017-09-19 14:17:05 -06:00
netinet include/netinet/tcp.h: Add trivial standard tcp.h header file. 2017-11-12 13:22:14 -06:00
netpacket Squashed commit of the following: 2017-08-19 08:48:52 -06:00
nuttx Merged in masayuki2009/nuttx.nuttx/irq_spinlock (pull request #550) 2017-12-07 19:39:04 +00:00
sys drivers/input/nunchuck.c: Add Nintendo Wii Nunchuck driver 2017-11-28 12:10:06 -06:00
.gitignore
aio.h AIO now also supports socket transfers 2014-10-11 08:15:23 -06:00
assert.h assert: Don't define static_assert in C++ 2016-06-21 07:17:29 -04:00
crc8.h Add CRC8 support. From Ken Pettit 2014-12-09 13:27:22 -06:00
crc16.h
crc32.h
crc64.h More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
ctype.h Costmetic changes 2016-10-24 16:18:30 -06:00
debug.h Add power-related debug output 2017-07-23 07:17:56 -06:00
dirent.h Remove some unnecessary (and inappropriate) soft link logic 2017-02-03 15:50:41 -06:00
dllfcn.h Shared libraries: Add a non-standard dllfnc.h function to set the symbol table. 2017-01-23 08:20:24 -06:00
elf32.h
errno.h Update errno values. Add new values; remove obsolete values 2017-03-26 09:22:00 -06:00
fcntl.h Add support for freopen() 2015-11-22 08:39:17 -06:00
fixedmath.h fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
hex2bin.h libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:22:38 -06:00
inttypes.h C library: Add strtoimax and strtoumax. 2017-02-16 15:12:37 -06:00
libgen.h In dlopen(), use the basename of the file as the module name 2017-01-22 16:01:03 -06:00
limits.h libc: Add support for readv() and write(). Also includes some cosmetic changes to some unrelated files. 2017-11-11 11:44:14 -06:00
locale.h locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
mqueue.h Clean-up/standardize a few header files 2015-08-03 11:01:41 -06:00
netdb.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
nxflat.h
poll.h Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
pthread.h pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -06:00
queue.h Add utilities to count the number of nodes in a queue 2016-04-23 13:25:46 -06:00
sched.h Add task_testcancel() 2016-12-10 16:34:14 -06:00
semaphore.h sem_open() should return SEM_FAILED on any failures. This is change change in the POSIX specification since the original sem_open() was written so many years ago. 2017-09-08 10:14:51 -06:00
signal.h libc/signal: Add support for sigwait(). 2017-11-11 12:37:47 -06:00
spawn.h Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
stdbool.h Some typos noted by David Sidrane 2015-02-23 11:49:02 -06:00
stddef.h Remove comments that no longer apply. clocale should not do anyting if CONFIG_LIBC_LOCALE is not defined. 2016-10-19 07:06:43 -06:00
stdint.h stdint.h: Don't use hex values to specify minimum values of fixed width, signed values. Hex values are inherently unsigned and not usable for this purpose in all contexts 2014-12-08 11:44:52 -06:00
stdio.h C Library: Add setbuf() which is a trivial wrapper around setvbuf(). 2017-02-09 15:04:53 -06:00
stdlib.h libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory. 2017-02-10 09:32:55 -06:00
stdnoreturn.h stdnoreturn.h: remove C++11 dependency. Applies to C too. 2017-10-02 07:38:43 -06:00
string.h Add entropy pool and strong random number generator 2017-03-30 07:38:37 -06:00
strings.h Add ffsl(), ffsll(), fls(), flsl(), flsll() and use GCC's __builtin_ctz/__builtin_clz for faster implementation of these 2017-03-24 09:41:31 -06:00
syscall.h include/sys/syscall.h: System definitions should depend on CONFIG_LIB_SYSCALL not CONFIG_NUTTX_KERNEL 2014-08-28 17:03:54 -06:00
syslog.h include/syslog.h: Trivial change in name of formal parameter for consistency. 2017-11-18 19:26:38 -06:00
termios.h termios.h: Fix CRTSCTS define to include input and output flow 2016-12-26 07:41:44 -06:00
threads.h
time.h sched/signal/sig_nanosleep.c and libc/time/lib_nanosleep.c: Implement clock_nanosleep(). nanosleep() is now reduced to a libc wrapper around clock_nanosleep(). 2017-11-11 17:44:59 -06:00
unistd.h C library: Add swab() 2017-02-16 14:42:27 -06:00
wchar.h More fixes for compilation with current SDCC compiler 2017-09-30 15:28:04 -06:00
wctype.h wctype.h needs extern C 2017-02-17 09:48:55 -06:00