incubator-nuttx/sched
Masayuki Ishikawa d87f350831 arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
Summary:
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
  g_irq_spin for backword compatibility (In this case, NULL must be specified)

Impact:
- None

Testing:
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-07 21:28:56 -08:00
..
clock arch, boards, drivers, include, sched, wireless: Change spinlock APIs. 2021-02-07 21:28:56 -08:00
environ global change: repace sched_xfree() to kxmm_free() 2020-04-09 10:29:28 -06:00
group arch, boards, drivers, include, sched, wireless: Change spinlock APIs. 2021-02-07 21:28:56 -08:00
init sched/init: init the default home directory to environment 2020-11-09 23:42:46 -08:00
irq arch, boards, drivers, include, sched, wireless: Change spinlock APIs. 2021-02-07 21:28:56 -08:00
module sched/module/mod_modhandle.c: Fix a syslog format 2020-11-21 19:38:32 -08:00
mqueue sched: mqueue: Remove an unnecessary comment in mq_send.c 2021-01-27 18:27:34 -08:00
paging Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
pthread sched: pthread: Fix potential bugs in pthread_condclockwait.c 2020-12-14 21:11:05 -06:00
sched sched: sched: Remove sched_lock/unlock from nxsched_set_affinity() 2021-01-20 21:52:58 -08:00
semaphore spinlock: Introduce SP_WFE() and SP_SEV() 2020-12-11 05:58:35 -06:00
signal arch, boards, drivers, include, sched, wireless: Change spinlock APIs. 2021-02-07 21:28:56 -08:00
task sched: task: Fix comments and label in nxtask_assign_pid() 2021-01-24 22:07:16 -08:00
timer sched/timer: get the previous reload value correctly 2021-01-26 18:22:54 -08:00
wdog sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
wqueue sched/notifier: replace the unique key to freerun counter 2021-01-30 05:13:26 -08:00
Kconfig boards, include, sched: Remove CONFIG_SPINLOCK_IRQ 2021-02-05 22:50:04 -08:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00