nuttx/include/nuttx
Gregory Nutt 124e6ee53d sched/sched/sched_releasetcb.c: Handle custom stack allocations.
sched_releasetcb() will normally free the stack allocated for a task.  However, a task with a custom, user-managed stack may be created using nxtask_init() followed by nxtask_activer.  If such a custom stack is used then it must not be free in this many or a crash will most likely result.

This chagne addes a flag call TCB_FLAG_CUSTOM_STACK that may be passed in the the pre-allocted TCB to nxtask_init().  This flag is not used internally anywhere in the OS except that if set, it will prevent sched_releasetcb() from freeing that custom stack.
2020-05-27 20:00:14 +01:00
..
1wire
analog include/nuttx/analog/ads1242.h: fix nxstyle warnings 2020-03-10 07:20:38 -06:00
audio audio: nxstyle fixes for core and drivers 2020-04-21 17:19:52 -06:00
binfmt binfmt: exec_spawn as internal function shouldn't modify errno 2020-05-03 12:15:54 -06:00
can Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
contactless
crypto
drivers Rename pipe2/mkfifo2 to nx_pipe/nx_mkfifo 2020-05-04 07:20:02 -06:00
eeprom Check return from nxsem_wait_initialize() (#661) 2020-03-30 20:59:47 -06:00
fs fs/vfs/fd_open.c: fs_fdopen() must not set errno 2020-05-23 15:22:09 +08:00
i2c
input Run codespell -w against all files 2020-02-22 14:45:07 -06:00
ioexpander Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
lcd Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
leds
lib syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
mbox
mm debug: Reduce CONFIG_CPP_HAVE_VARARGS usage 2020-05-05 08:27:58 -06:00
modem
mtd Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
net fs: Remove all LIBC_IOCTL_VARIADIC related stuff 2020-05-05 08:27:58 -06:00
nx Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
power debug: Reduce CONFIG_CPP_HAVE_VARARGS usage 2020-05-05 08:27:58 -06:00
rf
rptun fix nxstyle warning 2020-04-26 19:53:43 -06:00
sensors fix all remaining nxstyle errors 2020-05-14 08:32:48 +02:00
serial Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
spi stm32h7_qspi: support for custom clock (not just HCLK) and support for DUAL/QUAD commands (#582) 2020-03-19 05:59:18 -07:00
syslog syslog/rpmsg: Fix warning: ‘syslog_rpmsg_write’ defined but not used 2020-04-27 06:52:50 -06:00
timers Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
usb Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
video Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
wireless include: wireless: Fix style violations in ioctl.h 2020-05-14 14:17:47 +02:00
.gitignore
addrenv.h
arch.h Make task_init() and task_activate() internal OS functions. 2020-05-25 23:54:45 +01:00
ascii.h
b2c.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
board.h Fix typos 2020-05-14 10:49:44 -06:00
cache.h include/nuttx/cache.h: Fix a copy-paste error. 2020-03-04 12:37:21 -03:00
cancelpt.h
clock.h Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
compiler.h nxstyle fixes 2020-04-11 21:19:47 +01:00
elf.h ELF64 support (#220) 2020-02-07 17:10:23 -06:00
environ.h
envpath.h
init.h
irq.h
kmalloc.h Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base 2020-05-01 10:43:47 -03:00
kthread.h
list.h
mmcsd.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
module.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
mqueue.h mqueue: Add nxmq_open/nxmq_close/nxmq_unlink function 2020-05-04 07:20:02 -06:00
mutex.h Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
nuttx.h
page.h Run codespell -w against all files 2020-02-22 14:45:07 -06:00
pgalloc.h
progmem.h
pthread.h
random.h
sched.h sched/sched/sched_releasetcb.c: Handle custom stack allocations. 2020-05-27 20:00:14 +01:00
sched_note.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
scsi.h
sdio.h Fix nxstyle warning 2020-04-13 12:01:39 -06:00
semaphore.h sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
signal.h build: Remove 'u' prefix from userspace library 2020-05-01 15:56:55 -06:00
spawn.h syscall: nx_task_spawn should exist in the flat build just like the protected build 2020-05-02 09:56:23 -06:00
spinlock.h
streams.h
symtab.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
time.h
tls.h Move pthread-specific data into TLS 2020-05-08 18:05:04 +01:00
tree.h
userspace.h Fix nxstyle issue 2020-05-01 10:43:47 -03:00
vt100.h
wdog.h include/nuttx/wdog.h: Add some additional comments. 2020-04-07 17:40:46 +01:00
wqueue.h Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base 2020-05-01 10:43:47 -03:00
zoneinfo.h