nuttx/include/nuttx
Xiang Xiao 90c52e6f8f Squashed commit of the following:
Author: Gregory Nutt <gnutt@nuttx.org>

    Run all .h and .c files modified in last PR through nxstyle.

Author: Xiang Xiao <xiaoxiang@xiaomi.com>

    Net cleanup (#17)

    * Fix the semaphore usage issue found in tcp/udp

    1. The count semaphore need disable priority inheritance
    2. Loop again if net_lockedwait return -EINTR
    3. Call nxsem_trywait to avoid the race condition
    4. Call nxsem_post instead of sem_post

    * Put the work notifier into free list to avoid the heap fragment in the long run.  Since the allocation strategy is encapsulated internally, we can even refine the implementation later.

    * Network stack shouldn't allocate memory in the poll implementation to avoid the heap fragment in the long run, other modification include:

    1. Select MM_IOB automatically since ICMP[v6] socket can't work without the read ahead buffer
    2. Remove the net lock since xxx_callback_free already do the same thing
    3. TCP/UDP poll should work even the read ahead buffer isn't enabled at all

    * Add NET_ prefix for UDP_NOTIFIER and TCP_NOTIFIER option to align with other UDP/TCP option convention

    * Remove the unused _SF_[IDLE|ACCEPT|SEND|RECV|MASK] flags since there are code to set/clear these flags, but nobody check them.
2019-12-31 09:26:14 -06:00
..
1wire ds28e17.h edited online with Bitbucket 2018-04-05 12:08:56 +00:00
analog drivers/analog: Run all wireless drivers through tools/nxstyle, correcting as many complaints as possible. 2019-12-05 15:13:55 -06:00
audio include/nuttx/audio/audio.h: Fix some typos that I introduced with my review of a recent patch. 2019-11-04 10:45:13 -06:00
binfmt Remove all support for the ancient Pascal compiler and pcode interpreter. 2019-11-21 06:58:38 -06:00
can All function pointer types should be prefaced by the qualifier CODE (unless the callable function is known to reside in RAM, then it should be FAR). 2019-08-26 17:31:29 -06:00
contactless Merged in raiden00/nuttx_l0f0 (pull request #848) 2019-04-05 15:49:45 +00:00
crypto This change: 2018-12-19 08:42:48 -06:00
drivers drivers/addrenv.c: Move up_addrenv_ implemenation to common folder. 2019-11-03 19:45:05 -06:00
eeprom drivers/eeprom/i2c_xx24xx.c and include/nuttx/eeprom/i2c_xx24xx.h: Add support to Microchip AT24CM02 2018-12-30 11:20:03 -06:00
fs arch/sim/src/sim/up_hostfs.c, fs/hostfs/hostfs_rpmsg.c, include/nuttx/fs/hostfs.h: Sync nuttx_stat_s consistent with standard struct. Standard struct stat layout changed with commit ea577f1ddd31b3f67405cbb2a57806c47dd4dd63. 2019-12-13 08:35:00 -06:00
i2c include/nuttx/i2c/i2c_master.h: Fix a small typo. 2018-12-07 18:53:57 -06:00
input Various cosmetic changes. 2019-09-09 14:47:47 -06:00
ioexpander include/nuttx/ioexpander/gpio.h: Add guards so that file content will not compile unless CONFIG_DEV_GPIO is selected. 2019-11-03 19:46:56 -06:00
lcd Squashed commit of the following: 2019-07-10 09:00:17 -06:00
leds drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated. 2019-09-02 07:57:10 -06:00
lib libs/libc/builtin/: builtint_isavail() should not set the errno variable because this functions may be used by internal OS logic for which setting the rrno variable would be inappropriate. 2019-09-11 12:37:29 -06:00
mbox This commit brings in the drivers needed to support OpenAMP. These changes were ported from https://github.com/FishsemiCode/nuttx. The current state: Most drivers do now compile but are not yet verfied. 2019-11-02 11:30:33 -06:00
mm include/nuttx/mm/mm.h: Remove the assumption that one character equals eight bits. 2019-11-03 19:54:23 -06:00
modem Merged in alinjerpelea/nuttx (pull request #1056) 2019-10-21 14:14:33 +00:00
mtd Author: Gregory Nutt <gnutt@nuttx.org> 2019-11-20 17:25:40 -06:00
net Correct some problems with network timed events when there are multiple network devices in the configuration. 2019-12-24 10:37:30 -06:00
nx Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
power drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
rf drivers/rf/dat-31r5-sp.c: dd support to the DAT-31R5-SP+ digital attenuator. Creates a the new device driver directory drivers/rf/ to support drivers related to RF peripherals. It also adds support for the DAT-31R5-SP+ digital attenuator. 2019-09-05 13:28:28 -06:00
rptun include/nuttx/rptun/rptun.h: openamp/open_amp.h must not be included unless CONFIG_RPTUN (and heance CONFIG_OPENAMP) are selected. 2019-11-04 07:15:06 -06:00
sensors Merged in kyChuGit/nuttx/aht10_sensor (pull request #1084) 2019-12-02 14:36:09 +00:00
serial Merged in david_s5/nuttx/px4_firmware_nuttx-8.1+_siglewire (pull request #1070) 2019-11-10 12:27:47 +00:00
spi include/nuttx/net/w5500.h: Header file for the WIZnet S5500 Ethernet chip. Still missing register bit definitions. Driver will follow. 2019-12-08 09:57:42 -06:00
syslog drivers/syslog/ramlog.c: Fix ramlog readers never woken up when using ramlog as syslog or console. 2019-11-14 07:40:35 -06:00
timers This commit brings in the drivers needed to support OpenAMP. These changes were ported from https://github.com/FishsemiCode/nuttx. The current state: Most drivers do now compile but are not yet verfied. 2019-11-02 11:30:33 -06:00
usb include/nuttx/usb/usbdev.h: Fix a typo introduced with commit 67b4f9d0e1. 2019-11-03 13:16:30 -06:00
video Merged in alinjerpelea/nuttx (pull request #1033) 2019-09-18 11:42:35 +00:00
wireless wireless: remove unnecessary flags (#10) 2019-12-31 07:49:16 -06:00
.gitignore
addrenv.h All function pointer types should be prefaced by the qualifier CODE (unless the callable function is known to reside in RAM, then it should be FAR). 2019-08-26 17:31:29 -06:00
arch.h Fix minor typos in docs and comments. 2019-09-29 12:52:20 -06:00
ascii.h ASCII: Improve some naming 2016-04-14 16:20:36 -06:00
b2c.h This commit brings in the drivers needed to support OpenAMP. These changes were ported from https://github.com/FishsemiCode/nuttx. The current state: Most drivers do now compile but are not yet verfied. 2019-11-02 11:30:33 -06:00
board.h Fix typos in comments. 2019-08-21 09:32:59 -06:00
cache.h arch/: Unify the cache interface for all architectures 2019-03-19 10:37:13 -06:00
cancelpt.h Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
clock.h sched/pthread, Documentation: fix pthread_key_delete, pthread_self and pthread_yield documentation and some comments. 2019-10-17 11:04:17 -06:00
compiler.h include/nuttx/compiler.h: Changes that go along with commit 0002258f17 2019-10-31 18:11:28 -06:00
elf.h Merged in antmerlino/nuttx/elf-cplusplus-guard (pull request #826) 2019-02-19 15:24:25 +00:00
environ.h All function pointer types should be prefaced by the qualifier CODE (unless the callable function is known to reside in RAM, then it should be FAR). 2019-08-26 17:31:29 -06:00
envpath.h binfmt/ and libs/libc: Make exepath_*() more common: 2018-11-08 07:27:14 -06:00
init.h libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
irq.h include/nuttx/irq.h: Fix enter_critical_section/spin_lock_irqsave macro typo error and remove the duplicated inclusion of arch/irq.h 2019-01-27 11:21:03 -06:00
kmalloc.h include/nuttx/kmalloc.h: Add {kumm/kmm}_calloc API. Add calloc API for manage user memory and kernel memory in Flat Build/Kernel Build without kernel heap. 2018-08-27 05:55:09 -06:00
kthread.h Update some comments. Remove references to non-existent CONFIG_MAX_TASK_ARG. 2018-08-08 17:06:46 -06:00
list.h include/nuttx/list.h: Fix some typos. 2019-01-29 07:37:22 -06:00
mmcsd.h Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots. 2017-01-31 09:16:01 -06:00
module.h Module names are not needed in libc/modlib when the module library is used only for shared library support. 2017-01-29 12:23:24 -06:00
mqueue.h Fix some typos. Mostly inital->initial. 2019-09-27 06:32:32 -06:00
mutex.h Fix a few minor typos 2019-09-08 15:59:14 -06:00
nuttx.h Kconfig: Move 'option modules' from NSH_FILE_APPS to BUILD_LOADABLE 2018-08-27 07:06:57 -06:00
page.h All function pointer types should be prefaced by the qualifier CODE (unless the callable function is known to reside in RAM, then it should be FAR). 2019-08-26 17:31:29 -06:00
pgalloc.h mm/mm_gran: Add a function to get information about the state of the granuale allocator. 2017-11-14 14:41:03 -06:00
progmem.h Merged in ebsong/nuttx (pull request #722) 2018-09-21 03:18:38 +00:00
pthread.h pthreads: Add support static pthread stack. Add standard pthread_attr_setstack() and pthread_attr_getstack(). In all cases where the stack is released, add check to see which allocator must be used to free the stack: The user or the kernel allocator. 2018-08-23 09:49:20 -06:00
random.h Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sched_note.h Fix various typos and spelling errors. 2019-12-12 07:41:51 -06:00
sched.h Re-implements reverted commit 344f7bc9f6 in a way that should not have the undesired side-effect. include/nuttx/sched.h: Add a bit to the TCB flags to indicat the thread is a user thread in a syscall. sched/nuttx/nxsig_dispatch.c: Delay dispatching to signal handlers if within a system call. In all syscall implementations: Process delayed signal handling when exiting system call. 2019-11-28 12:47:36 -06:00
scsi.h Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
sdio.h drivers/mmcsd: Added support for MMC(eMMC) bigger than 2 GB (Tested with IMXRT1050EVKB and samsung eMMC 16GB). arch/arm/src/imxrt: IMXRT uSDHC driver cmd line reset logic modified. 2019-08-21 09:23:29 -06:00
semaphore.h Fix a few minor typos 2019-09-08 15:59:14 -06:00
signal.h Fix minor typo / copy-paste. 'cancellaction point'->'cancellation point' 2019-08-23 11:57:35 -06:00
spawn.h syscall/ and related: Fix an error found in build testing. Inconsistent conditional compilation led to link errors in certain configurations. 2019-08-27 16:41:07 -06:00
spinlock.h sched/semaphore/spinlock.c: spin_trylock handle memory barrier and instrumentation correctly. 2019-11-03 19:40:58 -06:00
streams.h drivers/syslog: syslog_force does not set errno so do not test against it. Some changes to comments. 2019-09-16 07:48:48 -06:00
symtab.h Fix a typo in include/nuttx/symtab.h 2019-09-28 10:57:54 -06:00
time.h Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
tls.h TLS: Simplify 2016-03-11 07:17:32 -06:00
tree.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
userspace.h Squashed commit of the following: 2019-04-29 14:52:05 -06:00
vt100.h
wdog.h Cosmetic updates. 2019-08-28 15:14:27 -06:00
wqueue.h Squashed commit of the following: 2019-12-31 09:26:14 -06:00
zoneinfo.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00